Displaying 1 result from an estimated 1 matches for "fitr0".
Did you mean:
fit0
2010 Jan 25
1
locfit questions/problems
...tr<-locfit(thickness~right(year),data=penny, alpha=c(0,10), deg=1, ev=midp)
plot((preplot(fitr)-preplot(fitl))^2, type="b")
the error message crops up after the plot command and is:
Error in preplot(fitr) - preplot(fitl) :
non-numeric argument to binary operator
looking at preplot(fitr0 and preplot(fitl) shows a list with numeric values.
Any suggestions on how to resolve this problem? I'm using R 2.7.1 on a
Windows XP machine with Service pack 2.
best and thanks, Mark Hall
PS--a similar error case occurs using R 2.3.1 and 2.5.1