Type of index to compute. Either "mean" (default) or "sum".
na.rm
a logical value indicating whether NA values should be stripped
before the computation proceeds. Defaults to TRUE.
cast.numeric
a logical value indicating whether all variables selected
for index computation should be converted to numeric. Useful if computing
indices from factor variables. Defaults to FALSE.
See Also
get_reliability() to compute reliability estimates of added index
variables.