head.OpenSpecy | R Documentation |
Methods to visualize and convert OpenSpecy
objects.
## S3 method for class 'OpenSpecy'
head(x, ...)
## S3 method for class 'OpenSpecy'
print(x, ...)
## S3 method for class 'OpenSpecy'
plot(x, ...)
## S3 method for class 'OpenSpecy'
lines(x, ...)
## S3 method for class 'OpenSpecy'
summary(object, ...)
## S3 method for class 'OpenSpecy'
as.data.frame(x, ...)
## S3 method for class 'OpenSpecy'
as.data.table(x, ...)
x |
an |
object |
an |
... |
further arguments passed to the respective default method. |
head()
shows the first few lines of an OpenSpecy
object.
print()
prints the contents of an OpenSpecy
object.
summary()
produces a result summary of an OpenSpecy
object.
plot()
produces a matplot()
of an OpenSpecy
object; lines()
adds new spectra to it.
head()
, print()
, and summary()
return a textual
representation of an OpenSpecy
object.
plot()
and lines()
return a plot.
as.data.frame()
and as.data.table()
convert OpenSpecy
objects into tabular data.
Zacharias Steinmetz, Win Cowger
head()
, print()
,
summary()
, matplot()
, and
matlines()
,
as.data.frame()
,
as.data.table()
data("raman_hdpe")
# Printing the OpenSpecy object
print(raman_hdpe)
# Displaying the first few lines of the OpenSpecy object
head(raman_hdpe)
# Plotting the spectra
plot(raman_hdpe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.