[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] Plotting a stepwise increasing function
From:       John Kane <jrkrideau () yahoo ! ca>
Date:       2006-08-31 13:38:53
Message-ID: 20060831133853.70832.qmail () web32807 ! mail ! mud ! yahoo ! com
[Download RAW message or body]


--- Öhagen Patrik <Patrik.Ohagen@mpa.se> wrote:

> 
> Dear All, Sorry for spamming you with something
> trivial. I would like to plot a "stepwise increasing
> function" (if that makes sense? See crude ASCHII art
> below). I think there is some clever paramter for
> solving the problem but I just cannot find it.
> 
> 
>         _______________|
>         |
>         |
> ________|
> |
> |
> |
> 

methods(plot)
?plot.stepfun

This looks like what you want

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic