You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' Requires a dataframe as produced by datsteps(). (Meaning 6 columns in the following order: ID, group, minimum/earliest date, maximum/latest date, weight, 'DAT_Steps')
52
52
#'
53
53
#' @param df a dataframe as returned by datsteps
54
-
#' @param var the column of said dataframe that should be used as the group variable
54
+
#' @param var the index of the column of said dataframe that should be used as the group variable, OR "all" (note: all non-numeric values will result in the weight being scaled accross all objects)
55
55
#'
56
-
#' @return the same dataframe, with the 'weight'-values scaled along group membership
56
+
#' @return the same dataframe, with scaled 'weight'-values
0 commit comments