Displaying 1 result from an estimated 1 matches for "disney2".
Did you mean:
disney
2004 Aug 10
1
Error message in function mars() in package mda
...functions that the MARS software from Salford Systems creates.
When I ran mars() on a small dataset, I was able to get the knots.
However, when I tried running mars() on a larger dataset (145 predictor
variables), for a different project, I get the following error message:
> fit1 <- mars(disney2[,-146], disney2[,146])
Error in mars(disney2[, -146], disney2[, 146]) :
NA/NaN/Inf in foreign function call (arg 5)
In addition: Warning messages:
1: NAs introduced by coercion
2: NAs introduced by coercion
>
Does arg 5 refer to the 5th column in my dataset? This seems to be a
data pr...