Description Usage Arguments Value Examples
View source: R/multi_xy_to_df.R
multi_xy_to_df.multiXY
converts multiXY objects to a column-wise data frame.
1 2 | ## S3 method for class 'multiXY'
multi_xy_to_df(x, tth, ...)
|
x |
a |
tth |
a logical value denoting whether the 2theta scale is appended as the
first column. Default |
... |
other arguments |
A data.frame
.
1 2 3 4 5 | #Load the minerals library
data(soils)
soils_df1 <- multi_xy_to_df(soils, tth = TRUE)
soils_df2 <- multi_xy_to_df(soils, tth = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.