angle | R Documentation |
Constructor for an S3 object of class "angle"
angle(ang, rad_flag = TRUE)
ang |
A real number, in degrees or radians depending on rad_flag. |
rad_flag |
A logical flag. If FALSE, the value is meant to be in radians. |
An object of class "angle" whose numerical value is always in degrees.
# Create an angle of 60 degrees ang1 <- angle(60) class(ang1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.