View source: R/utils-fill-waa-years.R
fill_waa_years | R Documentation |
Fill in missing year rows in a weight-at-age data frame with supplied values
fill_waa_years(waa, values, yr_col = "Yr", yrs = NULL)
waa |
A weight-at-age data frame |
values |
A single-row data frame as output by |
yr_col |
Name of the column to use for the year. It must be present
in the |
yrs |
The years to include in the calculation. If |
A data frame, the same as the input waa
data frame, but with
the missing years defined by yrs
filled in with the mean data found in
means
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.