tests/checkCARvarSelect.R

##########################################################
# Compare weighted unbiased variance C version with R code
library(carSurv)

# Is the value NA, if wrong values are passed? 
checkRes <- carVarSelect(carSurvScores=c(NA, 5, Inf, 6:10))
stopifnot(is.na(checkRes))

Try the carSurv package in your browser

Any scripts or data that you put into this service are public.

carSurv documentation built on May 1, 2019, 8:44 p.m.