On Mon, Sep 19, 2011 at 8:34 PM, Rich Shepard wrote:
> On Mon, 19 Sep 2011, Gabor Grothendieck wrote:
>
>> names(z) gives the column names of zoo object z.
>
>> # get a list of date ranges
>> lapply(1:ncol(z), function(i) range(time(na.omit(z[, i]
>
If z has column names (but do not use this
On Mon, 19 Sep 2011, Gabor Grothendieck wrote:
names(z) gives the column names of zoo object z.
# get a list of date ranges
lapply(1:ncol(z), function(i) range(time(na.omit(z[, i]
Gabor,
That combination is just what I was looking for. Now I can start using my
new knowledge on these
On Mon, Sep 19, 2011 at 5:24 PM, Rich Shepard wrote:
> On Mon, 19 Sep 2011, Rich Shepard wrote:
>
>> On a related note, I'm reading the zoo help pages and vignettes but do
>> not see the syntax for specifying which stream/parameter pair I want to
>> plot. What do I read to learn how to do this?
>
On Mon, 19 Sep 2011, Rich Shepard wrote:
On a related note, I'm reading the zoo help pages and vignettes but do
not see the syntax for specifying which stream/parameter pair I want to
plot. What do I read to learn how to do this?
I think that my reading answered this question, but now I nee
---
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of richard.cot...@hsl.gov.uk
> Sent: Friday, May 08, 2009 4:01 AM
> To: lehe
> Cc: r-help@r-project.org; r-help-boun...@r-project.org
> Subject: Re: [R] Plotting questions
>
> > 1
>>> lehe 08/05/2009 09:58:40 >>>
>1. How to plot several lines in a figure?
See ?lines
>2. How to open another figure window?
see ?windows
***
This email and any attachments are confidential. Any use...{{dropped:8}}
_
To have several performance curves on a single plot, use the
"add=TRUE" option, e.g. as follows:
plot(perf1)
plot(perf2, add=TRUE, col='red')
Please read the help to ?plot.performance. It also tells you how you
can adjust all graphical parameters for the individual curves.
This slide deck contain
Thanks!
I am now also trying to plot several ROCs in the same figure using ROCR
package. The following code:
"pred1 <- prediction(yest1,ytest)
perf1 <- performance( pred1, "tpr", "fpr" )
plot( perf1 )
pred2 <- prediction(yest2,ytest)
perf2 <- performance( pred2, "tpr", "fpr" )
lines( perf2 )"
wi
> 1. How to plot several lines in a figure? Suppose I have several sets of
> points (xi,yi), where xi and yi are equal-length vector. plot(x1,y1)
will
> give a line connecting these points. Another plot(x2,y2) will erase what
> plot before and plot the new line. Can I have these lines all drawn in
...@imail.org
801.408.8111
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Oliver
> Sent: Friday, February 20, 2009 8:31 PM
> To: David Winsemius
> Cc: r-help@r-project.org
> Subject: Re: [R] plotting ques
thanks you both for the reply.
yes, the second question is two-in-one, a bit confusing: I was thinking
about Matlab's hold
command, but also waiting for user input to proceed. So you have provided
the complete answer.
The first question though - yes, windows() will give you a different window
on
On Feb 20, 2009, at 4:53 AM, Simon Pickett wrote:
Hi Oliver,
1) thats easy, if you want to display several graphs at once type
windows(), once for each new graph.
2) Not sure exactly what you mean here but you have complete control
over graphs in R. e.g. plot a blank graph then add axex
Hi Oliver,
1) thats easy, if you want to display several graphs at once type windows(),
once for each new graph.
2) Not sure exactly what you mean here but you have complete control over
graphs in R. e.g. plot a blank graph then add axex using axis(), add points
using points(), etc. etc.
C
13 matches
Mail list logo