View source: R/weighted_helpers.R
| get_validated_weights | R Documentation |
Validates and returns weights for a data frame according to specified schemes.
get_validated_weights(
df_weights,
scheme = "fh",
scheme_params = list(rho = 0, gamma = 0),
details = FALSE
)
df_weights |
Data frame containing weights and related data. |
scheme |
Character string specifying the weighting scheme. |
scheme_params |
List of parameters for the scheme. |
details |
Logical; if TRUE, returns detailed output. |
Numeric vector or list of validated weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.