Learn R Programming

speccurvieR (version 0.4.2)

scp: 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)

Value

A list containing a data frame, control coefficients, and control names.

Arguments

sca_data

A data frame output by `sca`.

Examples

Run this code
scp(sca(y = "Salnty", x = "T_degC", controls = c("ChlorA", "O2Sat"),
        data = bottles, progressBar=TRUE, parallel=FALSE));

Run the code above in your browser using DataLab