Description Usage Arguments Value Examples
Generating objects of class piled_curves.
In the case of crops, sorting of data frames should be done from left to right according to the bottom-up position of organs in the plants.
In the method 'formula'
, the terms at the left side are the sorted
biomass variables, while at the right side are the time variables.
1 2 3 4 5 6 7 |
x |
A data frame or a formula. |
... |
Further arguments passed among methods. |
time, biomass |
Character vectors indicating the names of time and biomass variables in the input data frame. |
data |
A data frame including time and biomass variables. |
A S4 object of class piled_curves.
1 2 3 4 5 6 7 8 9 10 | ## Subset to one treatment
maize_model <- subset(maize_model, treatment == "T3")
## Method for data frame
maize_growth <- pile(x=maize_model, time=c("current_date","development_stage","tsum"),
biomass=c("wst","wglv","wgld","yield"))
## Method for formula
maize_growth <- pile(wst + wglv + wgld + yield ~ current_date + development_stage + tsum,
data=maize_model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.