Skip to content

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

1 message · Hoeven, Maarten van der

#
Hello all,

I'm looking for the R-equivalent of the S-option "Connect type: half
horiz first". Link:
http://miner.stern.nyu.edu/Splus/help/guihelp/__hhelp/connect_type.htm

I'm plotting with type="s" or type="S"; this is giving me a stairstep
starting, or ending with the value on the x-axis (as documented). But, I
want the x-value in the middle of the step, like "half horiz first" in
S-plus does.

Is this possible in R?


Thanks,
Maarten
--------------------------------------------------------------
Zie ook/see also: http://www.knmi.nl/maildisclaimer.html