fill.multinom | R Documentation |
Fill gaps in age-length keys
## S3 method for class 'multinom' fill(df, acol, lcol, id = NULL, smooth = FALSE)
df |
Data.frame with columns length and ages, where NA values need to be replaced |
acol |
Vector of ids of age columns |
lcol |
Id of length column (integer) |
id |
Identifier for warning messages |
zero |
Logical. Allow replacement of zero values. |
Functions that uses the nnet::multinom function to impute age probabilities for lengths that were found in LF samples, but absent of AL samples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.