This method allows for updating an existing complr
object.
Usage
# S3 method for class 'complr'
update(object, newdata, ...)
Value
A complr
object with at least the following elements.
comp
A vector of class
acomp
representing one closed composition or a matrix of classacomp
representing multiple closed compositions each in one row.between_comp
A vector of class
acomp
representing one closed between-person composition or a matrix of classacomp
representing multiple closed between-person compositions each in one row.within_comp
A vector of class
acomp
representing one closed within-person composition or a matrix of classacomp
representing multiple closed within-person compositions each in one row.logratio
Log ratio transform of composition.
between_logratio
Log ratio transform of between-person composition.
within_logratio
Log ratio transform of within-person composition.
data
The user's dataset or imputed dataset if the input data contains zeros.
transform
Type of transform applied on compositional data.
parts
Names of compositional variables.
idvar
Name of the variable containing IDs.
total
Total amount to which the compositions is closed.