Skip to contents

The value is displayed in degrees

Usage

# S3 method for angle
print(x, ...)

Arguments

x

An object of class "angle".

...

Additional arguments passed to the print methods

Value

No values. A message is displayed which includes information on the angle.

Examples

# Create an angle of 90 degrees using radians
ang1 <- angle(pi/2,FALSE)

# Display its value
print(ang1)
#> [1] 90