as_multi_xy.list: Create a multiXY object from a list of XRPD data
Description
as_multi_xy.list takes a list of XRPD data and ensures that they meet
various requirements to create a multiXY object. These requirements
include that each item in the list contains 2 columns of numeric data in a
data frame. as_multi_xy.list also checks that all names are unique.
Once a multiXY object has been created, it can easily be plotted using
the associated plot.multiXY method.
Usage
# S3 method for list
as_multi_xy(x, ...)
Arguments
x
a list of XRPD data frames (column 1 = 2theta, column 2 = counts)
# NOT RUN {#' #load soils datadata(soils)
#extract first two samples from the listsoils <- soils[c(1:2)]
#convert to multiXYsoils <- as_multi_xy(soils)
# }