powered by
multi_xy_to_df converts multiXY objects to a column-wise data frame.
multi_xy_to_df
multi_xy_to_df(x, tth, ...)
a multiXY object.
multiXY
a logical value denoting whether the 2theta scale is appended as the first column. Default = TRUE.
= TRUE
other arguments
A data.frame.
data.frame
# NOT RUN { #Load the minerals library data(soils) soils_df1 <- multi_xy_to_df(soils, tth = TRUE) soils_df2 <- multi_xy_to_df(soils, tth = FALSE) # }
Run the code above in your browser using DataLab