A SHORT R TUTORIAL - University of Georgia

which makes the default exponent equal to 2. If you write pow(5), you’ll get 25 in return (5 to the default exponent of 2). If you want a different exponent, specify the exponent argu-ment, such as pow(2, 4), which would produce 16 (2 to the fourth power). Refer to a func-tion’s help page to see which function parameters have default ... ................
................