[R] MARS response weights

From: Vijayakumar Ramachandran <rvijay2001_at_hotmail.com>
Date: Sun, 27 Mar 2011 14:39:26 -0700

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.


        [[alternative HTML version deleted]]

R-help_at_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. Received on Sun 27 Mar 2011 - 22:00:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 27 Mar 2011 - 22:00:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive