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
Hi,
I am new to R. I have two questions about plotting in R:
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
...@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
arly
>> Emanuel Paradis's great intro to using R, very helpful for
>> plots.
>>
>> Hope this helps,
>>
>> Si.
>>
>>
>> - Original Message - From: "Oliver"
>> To:
>> Sent: Friday, February 20, 2009 3:33 AM
&
dis's great intro to using R, very helpful
for plots.
Hope this helps,
Si.
- Original Message - From: "Oliver"
To:
Sent: Friday, February 20, 2009 3:33 AM
Subject: [R] plotting questions
hi,
There are two types of plotting I miss dearly in Matlab, can anyone
enligh
.
Check out these pdfs http://cran.r-project.org/other-docs.html particularly
Emanuel Paradis's great intro to using R, very helpful for plots.
Hope this helps,
Si.
- Original Message -
From: "Oliver"
To:
Sent: Friday, February 20, 2009 3:33 AM
Subject: [R] plotting
hi,
There are two types of plotting I miss dearly in Matlab, can anyone
enlighten me how to do similar stuff in R?
- multiple figures with individual windows (not multiple figures in
same window)?
- draw something, hold on the drawing, wait for a key action, then
overlay on top?
Not sure if thi
15 matches
Mail list logo