tidy_matrix | R Documentation |
Functions used under the hood in the tidystats package.
tidy_matrix(m, symmetric = TRUE)
add_statistic(
list,
name,
value,
symbol = NULL,
subscript = NULL,
interval = NULL,
level = NULL,
lower = NULL,
upper = NULL
)
symbol(
x = c("alpha", "chi_squared", "delta", "guttmans_lambda", "K_squared", "lambda",
"p_hat", "R_squared", "sigma", "t_squared", "tau")
)
expect_equal_models(model, expected_tidy_model, tolerance = 0.001)
write_test_stats(x, path, digits = 6)
m |
A matrix. |
tidy_matrix()
: Function to convert matrix objects to a tidy data frame.
add_statistic()
: Function to add a statistic to list. It helps create the list and ignores
NULL values.
symbol()
: Function to return symbols in ASCII.
expect_equal_models()
: Function to compare tidied models during testing.
write_test_stats()
: Function to save tidied statistics to a file. Since these files are used
during testing, it's important to only store files with correctly tidied
statistics, hence the prompt.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.