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]]