
Constructor for an S3 object of class "angle"
angle.Rd
Constructor for an S3 object of class "angle"
Arguments
- 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.
Examples
# Create an angle of 60 degrees
ang1 <- angle(60)
class(ang1)
#> [1] "angle"