varietal2distributional {provenance} | R Documentation |
Convert varietal to distributional data
Description
Convert an object of class varietal
either to a list of
distributional objects by breaking it up into separate elements, or
to a single distributional object corresponding to the first
principal component.
Usage
varietal2distributional(x, bycol = FALSE, plot = FALSE)
Arguments
x |
an object of class |
bycol |
logical. If |
plot |
logical. If |
Examples
Ttn_file <- system.file("SNSM/Ttn_chem.csv",package="provenance")
Ttn <- read.varietal(fn=Ttn_file,snames=3)
varietal2distributional(Ttn,bycol=FALSE,plot=TRUE)
[Package provenance version 4.3 Index]