plotResidualsBtwYears | R Documentation |
Plot residuals between years to check their temporal independence. Especially useful as a diagnostic of model fit for statistical analysis of perennial plants.
plotResidualsBtwYears(
df,
colname.res,
years,
cols.uniq.id,
blocks = NULL,
las = 1,
lgd.pos = "topright",
...
)
df |
data frame with a column given by |
colname.res |
name of the column containing the residuals |
years |
vector with two years as character |
cols.uniq.id |
vector of column name(s) allowing to identify each plant and pair it between years or years and blocks, e.g. |
blocks |
if not NULL, vector of two blocks (e.g. |
las |
style of axis labels, see |
lgd.pos |
position of the legend |
... |
arguments passed on to |
invisible data frame of the data used to make the plot
Timothee Flutre
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.