Displaying 1 result from an estimated 1 matches for "logcv".
Did you mean:
logc
2005 Mar 17
1
Cross validation, one more time (hopefully the last)
...se.pdf
Now I've tried to adapt it to my purposes, but since I'm not deeply familiar with R programming, I don't know why it doesn't work. Now checking the r-help list faq it seems this is an appropriate question.
I've included my attempted function below. The error I get is:
logcv(basp.data, form, 'basp', 'recordyear')
Error in order(na.last, decreasing, ...) :
Argument 1 is not a vector
My questions are, why doesn't this work, and how do I fix it.
I'm using the formula function to create the formula that I'm sending to my function. And...