Description Usage Arguments Value Examples
Extracts coefficients from fitacis2
1 | acisummary(data, group1, group2 = NA, group3 = NA, fits)
|
data |
data frame with A/Ci curve data |
group1 |
grouping variable 1, must match fitacis2 |
group2 |
grouping variable 2, must match fitacis2 |
group3 |
grouping variable 3, must match fitacis2 |
fits |
list output from fitacis2 |
acisummary produces a data frame with A-Ci coefficients. If the input data have failed curve fits, these need to be removed before running acisummary().
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #Read in data
data <- read.csv(system.file("extdata", "example_2.csv",
package = "plantecowrap"), stringsAsFactors = FALSE)
#Run ACi curve fitting
fits <- fitacis2(data, group1 = "Grouping",
varnames = list(ALEAF = "A",
Tleaf = "Tleaf",
Ci = "Ci",
PPFD = "PPFD",
Rd = "Rd",
Press = "Press"),
fitmethod = "bilinear", fitTPU = TRUE, Tcorrect = FALSE)
#Extract coefficients
outputs <- acisummary(data, group1 = "Grouping", fits = fits)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.