newsplit: out of vertex space

1,281 views
Skip to first unread message

Peter

unread,
Jul 29, 2012, 5:27:23 AM7/29/12
to pop...@googlegroups.com
Hi All,
I;ve been trying to run the regression step and have been coming across this error:

Error in lfproc(x, y, weights = weights, cens = cens, base = base, geth = geth,  : 
  newsplit: out of vertex space

Does anyone know the solution to this problem? I;ve read it has something to do with maxk in locfit, but I'm not sure how to edit this number and make it bigger.

Thanks,
Peter

Joao Sollari Lopes

unread,
Jul 30, 2012, 7:49:35 AM7/30/12
to pop...@googlegroups.com
Hi Peter,

lfproc has nothing to do with the regression step. It is in fact a function from the locfit package that is required to calculate a density line from a table of frequencies. In the scripts provided by popabc, this function is required when plotting the results and it is called internally when you call the function locfit. Just give a big value (> 500) to the parameter maxk when calling the function locfit.

In any case, you really should learn a bit more of R and do a few tutorials if you want to run the scripts provided by popabc. It won't be a waste of time.

Joao
Reply all
Reply to author
Forward
0 new messages