renderpf90 | R Documentation |
Translates breedR effects into progsf90 parameters and data.
renderpf90(x)
## Default S3 method:
renderpf90(x)
## S3 method for class 'fixed'
renderpf90(x)
## S3 method for class 'diagonal'
renderpf90(x)
## S3 method for class 'breedr_modelframe'
renderpf90(x, ntraits, weights)
## S3 method for class 'effect_group'
renderpf90(x)
## S3 method for class 'generic'
renderpf90(x)
## S3 method for class 'additive_genetic_animal'
renderpf90(x)
## S3 method for class 'additive_genetic_competition'
renderpf90(x)
## S3 method for class 'permanent_environmental_competition'
renderpf90(x)
## S3 method for class 'splines'
renderpf90(x)
## S3 method for class 'blocks'
renderpf90(x)
## S3 method for class 'ar'
renderpf90(x)
x |
object of class breedr_modelframe, effect_group or breedr_effect. |
ntraits |
integer. Number of traits in the model. |
weights |
logical. Whether there is an additional column of weights. |
This is an internal function. Not exported.
For the generic
class, all matrices are converted to plain
matrix-class, for exporting to files. The progsf90 model is either
user_file
or user_file_i
depending on the type of structure
matrix; i.e. respectively precision or covariance.
For the splines
class, everything reduces to a generic effect
with a covariance matrix
For the blocks
class, everything reduces to a generic effect
with a covariance matrix
For the ar
class, everything reduces to a generic effect
with a precision matrix
The number of levels and type for each 'virtual' effect; the progsf90 model-name as appropriate; a file name and its content.
renderpf90(default)
: For unknown classes, just returns the object untouched
with a warning.
renderpf90(fixed)
: For fixed effects.
renderpf90(diagonal)
: For diagonal effects. Assumed grouping variables.
renderpf90(breedr_modelframe)
: Render a full breedr_modelframe
renderpf90(effect_group)
: Render groups of effects into pf90 code
renderpf90(generic)
: Compute the parameters of a progsf90 representation of
a generic effect.
renderpf90(additive_genetic_animal)
: Compute the parameters of a progsf90 representation of
a additive_genetic_animal effect.
renderpf90(additive_genetic_competition)
: Compute the parameters of a progsf90 representation of
a additive_genetic_competition effect.
renderpf90(permanent_environmental_competition)
: Compute the parameters of a progsf90 representation of
a permanent_environmental_competition effect. Has the same incidence matrix
than the additive_genetic_competition effect but an unstructured covariance
matrix.
renderpf90(splines)
: Compute the parameters of a progsf90 representation of
a splines effect.
renderpf90(blocks)
: Compute the parameters of a progsf90 representation of
a blocks effect.
renderpf90(ar)
: Compute the parameters of a progsf90 representation of
an AR effect.
Other renderpf90:
renderpf90.matrix()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.