# NOT RUN {
#EXAMPLE 1
#load soils data
data(soils)
#extract first two samples from the list
soils <- soils[c(1:2)]
#convert to multiXY
soils <- as_multi_xy(soils)
#EXAMPLE 2
#load the soils data
data(soils)
#Convert to data frame
soils_df <- multi_xy_to_df(soils,
tth = TRUE)
#Convert back to multiXY object
soils2 <- as_multi_xy(soils_df)
# }
Run the code above in your browser using DataLab