R/main.R
composite_score.Rd
Compute composite score
composite_score( x, R, mu_x = 100, sigma_x = 15, mu_composite = 100, sigma_composite = 15, w = NULL )
Vector of subtest scores
Subtest score correlation matrix
Vector of subtest means
Vector of subtest standard deviations
Composite mean
Composite standard deviation
Vector of weights
composite score
# Subtest scores x <- c(12, 14) R <- matrix(c(1,.6, .6, 1), nrow = 2) composite_score(x = x, R = R, mu_x = 10, sigma_x = 3) #> [1] 116.7705