calc_row_representativeness | R Documentation |
Calculate row-wise representativeness
calc_row_representativeness(
x,
central_tendency_fun = median,
central_tendencies = NULL,
standardize = T,
absolute = T
)
x |
Data frame of numerical data |
central_tendency_fun |
Function to use for central tendency |
central_tendencies |
If custom values for central tendency, input here |
standardize |
Whether to standardize values to ensure common metric. If not done, variables with larger SDs will be given more influence. |
absolute |
Whether to use absolute errors (if not, then there is also an attempt to ensure the error directions are balanced across variables) |
A data frame of error values and their mean and medians
calc_row_representativeness(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.