View source: R/post_functions.R
compareScores | R Documentation |
compareScores
is a helper function for comparing two sets of scores.
compareScores(left, right, type = c("corr", "mean", "sd", "rmsd", "mad"))
left |
scores on the left side of comparison. |
right |
scores on the right side of comparison. This is subtracted from 'left'. |
type |
type of comparisons to include. Accepts |
compareScores
returns a data.frame
containing the comparison results.
set.seed(1)
true_theta <- rnorm(100)
theta_est <- true_theta + rnorm(100, 0, 0.3)
compareScores(theta_est, true_theta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.