Learn R Programming

atlantistools (version 0.4.3)

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

Description

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

Usage

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

Run this code
# NOT RUN {
check_growth(preprocess$structn_age)
check_growth(preprocess$resn_age)
check_growth(preprocess$resn_age, yearly = TRUE)
# }

Run the code above in your browser using DataLab