coldeyes Liao wrote: > Hi there: > recently i try to use LogicReg package for a tree model(logistics fit ) > i list my code and error below: > >> dim(model.dat) > [1] 48000 745 >> fit1 <- logreg(resp = model.dat[,745], bin=model.dat[, 9:700], type = 3, > select = 3, ntrees = c(1,2), nleaves=c(1,7), ) > Insufficient declaration > LGCn1MAX in logreg() is 20000 > LGCn1MAX should be at least 48000 > Please fix and recompile.... > > i find the help file which said i need to reset them in *slogic.f* and > recompile if the parameters are not large enough. but i cann't find the > slogic.f . > could you enlight me where i can find it if i run R under linux server.
Just download and untar the `LogicReg' source package from CRAN. You'll find the file in the `src' folder. HTH, Henric > for recompile this file, should i contact with administrator? > > thanks so much ! > leo > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. > ______________________________________________ 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.