renorm_SSR {telemetR} | R Documentation |
Calculate the Renormalized Sum of Squared Residuals
Description
Takes a dataframe of the proportion of events created by each potential blanking period which "survived" a certain time (t) created by 'duration_compare()' and calculates the sum of squares of the residuals between one potential blanking period and the next. This result is then renormalized by dividing the result by the number of events created.
Usage
renorm_SSR(time_df, var_groups = NULL)
Arguments
time_df |
a dataframe created by duration compare showing the proportion of events created by each potential blanking period which "survived" a certain time (t) |
var_groups |
a single string or vector of strings of the columns which should be used to group organisms. Common groupings are species and cohorts. |
Value
A dataframe of the renormalized sum of squared residuals between each potential blanking period and the subsequent one.