View source: R/extractSubdaily.R
extractSubdaily | R Documentation |
Given the result of simulations, this function extracts subdaily output corresponding to each simulated day and returns it as a data frame.
extractSubdaily(x, output = "E", dates = NULL)
x |
An object returned by simulation functions |
output |
See options in section details. |
dates |
A date vector indicating the subset of simulated days for which subdaily output is desired. |
This function only works when simulations have been carried using control option 'subdailyResults = TRUE' (see defaultControl
). Subdaily simulation results will then be stored as elements of the a list called 'subdaily' in the simulation output. Function extractSubdaily
will assemble subdaily results from this list and return them as a data frame. Options for parameter 'output' are the following:
Functions pwb() and spwb(): "E","Ag","An","dEdP","RootPsi","StemPsi","LeafPsi","StemPLC","StemRWC","LeafRWC","StemSympRWC","LeafSympRWC","PWB", "Temperature", "ExtractionInst".
Additional options for shade and sunlit leaves in pwb() and spbw(): Either "SunlitLeaves$x" or "ShadeLeaves$x" where 'x' is one of the following: "Abs_SWR","Net_LWR","E","Ag","An","Ci","Gsw","VPD","Temp","Psi","iWUE".
Additional options for function growth(): "GrossPhotosynthesis", "MaintenanceRespiration", "GrowthCosts", "LabileCarbonBalance","SugarLeaf", "SugarSapwood", "StarchLeaf", "StarchSapwood","SugarTransport".
A data frame with a column 'datetime' and as many columns as plant cohorts.
Miquel De Cáceres Ainsa, CREAF
summary.spwb
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.