Skip to content
Prev 43975 / 398525 Next

Available in S-plus, also in R1.8.1?

Hoeven, Maarten van der wrote:

            
In order to get an answer, you might want to be more specific what
"Connect type: half horiz first" really does in S-PLUS. I don't think 
something like that is available within an existing R function (I might 
be wrong here), but it can easily be coded (e.g. along the lines of code 
in package "stepfun"), given there is an *explicit definition* (and the 
cited URL is not very helpful here).
My question is: How do you define the "middle of a step", in particular 
if the interesting x values of your step-function are not equidistant?

And another question: Why do you want to create a plot that needs to be 
explained? Other plots are much more intuitive (at least for me).

Uwe Ligges