[R] Anchoring Vignettes

宋庆宇 sqy190 at gmail.com
Sat Oct 22 22:56:17 CEST 2016


Hello dear R-help,

I tried to use the code of anchors.mexchn2, but when I tried to
trim.data(), I was encountered with the error,more details is as follows:

> data(selfan)

> fo <- list(self = xsay ~ 1, vign = cbind( xsay1,xsay2) ~ 1)

> ra <- anchors( fo, data=selfan, method="C")

> selfan.cut <- trim.data( selfan, ra)

Error in if ((anchors$method == "chopit" && anchors$delete != "listwise"))
stop(paste("trim.data() not defined for anchors.data objects created with
\n", : missing value where TRUE/FALSE needed

How to solve this problem?

Thanks in advance,

Soukeiu

	[[alternative HTML version deleted]]



More information about the R-help mailing list