In help(predict.lars)
we can read that the parameter s
is "a value, or vector of values, indexing the path. Its values depends on the mode= argument. By default (mode="step"), s should take on values between 0 and p (e.g., a step of 1.3 means .3 of the way between step 1 and 2.)"
What does "indexing the path" mean? Also, s
must take a value between 1 and p
, but what is p
? The parameter p
is not mentioned elsewhere in the help file.
I know this is basic, but there is not a single question up on SO about predict.lars
.