.checkLmConfInt {wrMisc} | R Documentation |
Compare 'dat' to confindence interval of linare model 'lMod' (eg from lm())
Description
This function allows to compare 'dat' to confindence interval of linare model 'lMod' (eg from lm())
Usage
.checkLmConfInt(dat, lMod, level = 0.95)
Arguments
dat |
matrix or data.frame, main input |
lMod |
linear model, only used to extract coefficients offset & slope |
level |
(numeric) alpha threshold for linear model |
Value
This function returns a logical vector for each value in 2nd col of 'dat' if INSIDE confid interval
See Also
Examples
set.seed(2016); dat1 <- matrix(c(runif(200)+rep(1:10,20)),ncol=10)
[Package wrMisc version 1.15.1 Index]