check_growth: This function is used to check the individual growth per...

Description Usage Arguments Value Examples

View source: R/check-growth.R

Description

This function is used to check the individual growth per group over time.

Usage

1
check_growth(data, yearly = FALSE)

Arguments

data

Dataframe with information about individual age based growth over time. This should be generated with preprocess(). You can test either structural or reserve weight.

yearly

Logical specifying if relative change in individual weight shall be calculated on a yearly basis (TRUE) ot not (FALSE). Default is FALSE.

Value

Dataframe showing the output of the linear model fit (slope & F-statistic) per group and age.

Examples

1
2
3
check_growth(preprocess$structn_age)
check_growth(preprocess$resn_age)
check_growth(preprocess$resn_age, yearly = TRUE)

atlantistools documentation built on Aug. 16, 2017, 9:05 a.m.