View source: R/spct.summaries.r
print.generic_spct | R Documentation |
Print methods for objects of spectral classes, including collections of spectra.
## S3 method for class 'generic_spct'
print(x, ..., n = NULL, width = NULL)
## S3 method for class 'generic_mspct'
print(x, ..., n = NULL, width = NULL, n.members = 10)
x |
An object of one of the summary classes for spectra. |
... |
not used in current version. |
n |
Number of rows to show. If NULL, the default, will print all rows if
less than option |
width |
Width of text output to generate. This defaults to NULL, which means use getOption("width") and only display the columns that fit on one screen. You can also set option(dplyr.width = Inf) to override this default and always print all columns. |
n.members |
numeric Number of members of the collection to print. |
This is simply a wrapper on the print method for tibbles, with
additional information in the header. Currently, width
applies only to
the table of data.
Objects are printed as is, ignoring the current settings of R options
photobiology.radiation.unit
and photobiology.filter.qty
.
Returns x
invisibly.
print(generic_mspct)
:
print(sun.spct)
print(sun.spct, n = 5)
print(q2e(sun.spct, action = "replace"))
print(e2q(sun.spct, action = "replace"))
print(polyester.spct)
print(any2A(polyester.spct))
print(any2Afr(polyester.spct))
print(two_filters.spct)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.