简体   繁体   中英

Error message in Extreme Bounds package in R

using the extreme bounds package and keep getting this error message below. Anybody have any ideas? Thanks Harold

library(ExtremeBounds)

simpleeba<-eba(data = simplemodellarge, y ="out", doubtful = c( "ind", "ind1", "ind2", "instr", "conf" , "col", "distal", "moderator"), k = 0:8) All variables in argument 'doubtful' must be in the data frame. Argument 'k' is too high for the given number of doubtful variables.

尝试这个:

simpleeba<-eba(data = simplemodellarge, y ="out", doubtful = c( "ind", "ind1", "ind2", "instr", "conf" , "col", "distal", "moderator"), k = 0:7)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM