Description Usage Arguments Details Value See Also Examples
a function to model curves using a spatial P-Spline modelling using SpATS
library
1 2 |
datain |
input dataframe of parameters |
trait |
character, parameter of interest (ex: Biomass24) |
genotypeId |
character, column name of genotype alias |
rowId |
character, column name of the row id in the lattice (greenhouse or field) |
colId |
character, column name of the column id in the lattice (greenhouse or field) |
typeModel |
character, choice of the spatial P-Spline model, |
genotype.as.random |
logical. If TRUE, the genotype is included as random effect in the model. The default is FALSE. |
nseg |
numerical vector of length 2 containing the number of segments for each marginal (strictly nseg - 1 is the number of internal knots in the domain of the covariate). Atomic values are also valid, being recycled. Default set to c(14,30) |
verbose |
logical FALSE by default, if TRUE display information about the progress |
the input dataset must contain Position,Line,Ref,scenario,genotypeAlias columns
a SpATS object
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.