scp {speccurvieR} | R Documentation |
Prepares the output of 'sca()' for plotting.
Description
Takes in the data frame output by 'sca()' and returns a list with the data frame and labels to make a plot to visualize the controls included in each spec curve model.
Usage
scp(sca_data)
Arguments
sca_data |
A data frame output by 'sca'. |
Value
A list containing a data frame, control coefficients, and control names.
Examples
scp(sca(y = "Salnty", x = "T_degC", controls = c("ChlorA", "O2Sat"),
data = bottles, progressBar=TRUE, parallel=FALSE));
[Package speccurvieR version 0.3.0 Index]