get_sum_of_squares_from_df | R Documentation |
Get sum of uncentered squares. This quantity is a sufficient statistic for, for example, multivariate Gaussian belief-updating under an Normal-Inverse-Wishart prior.
get_sum_of_squares_from_df(data, variables = NULL, center = T, verbose = F)
get_sum_of_uncentered_squares_from_df(data, variables = NULL, verbose = F)
get_sum_of_centered_squares_from_df(data, variables = NULL, verbose = F)
data |
A 'tibble', 'data.frame', or 'matrix'. If data is a 'tibble' or 'data.frame', the columns for specified variables are extracted and (together) converted into a matrix with as many colums as there are variables. |
variables |
Only required if data is not already a 'matrix'. |
A matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.