| h_quad_form | R Documentation |
These helpers are mainly for easier readability and slightly better efficiency of the quadratic forms used in the Satterthwaite calculations.
h_quad_form_vec(vec, center)
h_quad_form_mat(mat, center)
vec |
( |
center |
( |
mat |
( |
h_quad_form_vec(): calculates the number vec %*% center %*% t(vec)
as a numeric (not a matrix).
h_quad_form_mat(): calculates the quadratic form mat %*% center %*% t(mat)
as a matrix, the result is square and has dimensions identical to the number
of rows in mat.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.