Dear R users,

I wonder if R has a default function that I can use to do extraction of
roots.

Here is an example:

X                  N
2.5              5
3.4              7
8.9              9
6.4              1
2.1              0
1.1             2

I want to calculate Y = root(X)^N, where N represents the power. what is
the easy way to do this?

Thank you!

Gary

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to