You can write a simple function

pow = function(x,y) { x^y }

On Sat, Dec 3, 2011 at 1:23 PM, Jun Zhu <junzhu98@yahoo.com> wrote:

> Hi,
> Does R has a mathematical function to calculate
> x to the power of y
>
> thanks,
> Jun
>        [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-SIG-Finance@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
>

	[[alternative HTML version deleted]]

