print.angle: Print method for an object of class "angle".

View source: R/angle_S3.R

print.angleR Documentation

Print method for an object of class "angle".

Description

The value is displayed in degrees

Usage

## S3 method for class '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)

cry documentation built on Oct. 10, 2022, 9:06 a.m.