Hi, I am trying to determine how many points fall ouside the confidence interval range.
This is the code I have so far but it does not work. Any help would be appreciated. Count <- vector () for (i in 1: nrow (dataname)){ if (dataname[i] <l.ci.post[1]// dataname[i] >u.ci.post[i]){ count[i] -> 1 }else {count[i] -> 0} } symbol // = or - not sure if this is the right symbol though -- View this message in context: http://r.789695.n4.nabble.com/Confidence-interval-tp3304258p3304258.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.