I am trying to use the "mars" function from "mda" package and cannot figure out how to specify the response weights "wp" parameter. I have tried a vector of size = num_observations as well as num_levels of my response, but in both cases, the function fails with some error about invalid array length.
ThanksVijay [[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.