View source: R/summary-stats.R
check_pic_stat | R Documentation |
Makes sure test statistics sent to calculate_pic_stat
are in the correct format
check_pic_stat(stats)
stats |
a named list of test statistics |
named list of test statistics after being checked.
calculate_pic_stat
## produce list of test stats (using default test statistics) check_pic_stat(default_pic_stat()) ## use custom list of test statistics foo <- function(x) mean(x$pics[,"contrasts"]) my.stats <- list(mean.of.contrasts=foo) check_pic_stat(my.stats)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.