Re: [R] plot.stepfun xlim

2008-12-31 Thread m.u.r.
I suppose to be more clear, what I mean is that I was hoping to find upper/lower bounding parameter/rule, similar to "rule = 1" in the approxfun command (which returns NA for any specified x-value outside the defined domain). Actually, that's exactly what I would like: a stepfun function that has

Re: [R] plot.stepfun xlim

2008-12-31 Thread Stavros Macrakis
> On Tue, 30 Dec 2008, m.u.r. wrote: >> according to the documentation, the xlim parameter should bound the >> range of the function being plotted, and is returned as the extreme On Wed, Dec 31, 2008 at 4:18 AM, Prof Brian Ripley replied: > Wheere does it say that? True, it doesn't say that. As

Re: [R] plot.stepfun xlim

2008-12-31 Thread Prof Brian Ripley
On Tue, 30 Dec 2008, m.u.r. wrote: i've noticed a strange problem when plotting a stepfun. according to the documentation, the xlim parameter should bound the range of the function being plotted, and is returned as the extreme Wheere does it say that? The help actually says xlim,ylim: numer

[R] plot.stepfun xlim

2008-12-31 Thread m.u.r.
i've noticed a strange problem when plotting a stepfun. according to the documentation, the xlim parameter should bound the range of the function being plotted, and is returned as the extreme two values (i.e. first and last) in the vector t from the plot.stepfun call. instead, it plots beyond the