print: Convert colorSpec object to readable text

Description Usage Arguments Details Value See Also Examples

Description

display a colorSpec object as readable text. Output goes to stdout().

Usage

1
2
3
4
5
## S3 method for class 'colorSpec'
print( x, ...)

## S3 method for class 'colorSpec'
summary( object, long=TRUE, ... )

Arguments

x

a colorSpec object

object

a colorSpec object

long

logical indicating whether to print metadata, calibrate, sequence, and emulate data

...

further arguments ignored

Details

If long=FALSE, summary() prints a summary of the wavelength vector, and names of all spectra. For each spectrum it prints the range of values, LambdaMax, and extradata if any. If long=TRUE it also prints data listed above (if any).
The function print() simply calls summary() with long=FALSE.

Value

Both functions return (invisibly) the character vector that was just printed to stdout().

See Also

extradata, print, summary, stdout

Examples

1
2
3
print( xyz1931.1nm )

xyz1931.1nm     # same thing, just calls print()

colorSpec documentation built on April 2, 2018, 5:05 p.m.