FD wrote:
Hi,
Could anyone give suggestions how to plot a scatter plot with 1 standard
deviation for each point. To make it clearer, here is a simple example: the
scatterplot is plot(X, Y), but I want to add 1 standard deviation according
to the value of Z for each Y.
X Y Z
1
Dear R gurus,
I'm trying to visualize a matrix 256 x 920 using image(), but i find
the display too slow (~ 1 minute –– admittedly, my iBook G4 isn't
very fast). The aim is not to get a good resolution image, but rather
have a quick look at the matrix. I couldn't find a way to plot a
Under FreeBSD 6.2 I installed R 2.6.0.
Trying to load e.g. vignette(zoo) R calls acroread automagically.
I instead would like to use the lighter kde built-in pdf reader kGhostView-
Is this possible?
Vittorio
__
R-help@r-project.org mailing list
I have created a if loop as follows:
name = e
if (name == v)
{
u = 0
}
else u = 1
however i am getting error : Error: unexpected 'else' in else
definitely I can write in : ifelse() form, however I want to write in this
way. Can anyone tell me where is my error?
thanks in advance
Hi Jim,
thanks a lot. It works, however - my other problem is that I need to
transpose the original table before reading it into the list because the
data come from Excel and it can't handle 7000 columns. I could read it
in R transpose end write into a new tab delim file and then read it
On 21/10/2007, stat stat [EMAIL PROTECTED] wrote:
I have created a if loop as follows:
name = e
if (name == v)
{
u = 0
}
else u = 1
however i am getting error : Error: unexpected 'else' in else
There are 3 issues here:
1. Do you appreciate the difference between ifelse and if ?
Dear Mark,
Thanks for this. Can you please explain me what is the difference between
ifelse and if?
generally if there is more than one syntax within the 'if' I use 'if' loop
otherwise I use 'ifelse' loop. Is it the only difference between them?
Mark Wardle [EMAIL PROTECTED] wrote: On
On 21 October 2007 at 09:39, Douglas Bates wrote:
| On 10/21/07, [EMAIL PROTECTED]
| [EMAIL PROTECTED] wrote:
| Under FreeBSD 6.2 I installed R 2.6.0.
| Trying to load e.g. vignette(zoo) R calls acroread automagically.
| I instead would like to use the lighter kde built-in pdf reader
Hello,
I am new to R and I am trying to figure out how to print text output from an
operation like table() to a pdf file. Is there a simple command to do this, or
do you need to work with connections at a rudimentary level?
Thanks you,
Jesse
[[alternative HTML version deleted]]
Look at the xtable package and latex in the Hmisc package.
On 10/21/07, Jesse D Lecy [EMAIL PROTECTED] wrote:
Hello,
I am new to R and I am trying to figure out how to print text output from an
operation like table() to a pdf file. Is there a simple command to do this,
or do you need to
What is it that you want to do? The 'scan' statement give you a list
of length 7000 with 19 entries each. Do you want to create a matrix
that has 7000 rows by 19 columns? If so, then you just have to take
the output of the 'scan' and do:
x.matrix - do.call('rbind', x) # gives 7000 x 19
Gabor Grothendieck ggrothendieck at gmail.com writes:
Look at the xtable package and latex in the Hmisc package.
On 10/21/07, Jesse D Lecy jdlecy at maxwell.syr.edu wrote:
..
I am new to R and I am trying to figure out how to print text output from an
operation like table() to a pdf file.
Thanks, it works nicely. In the meantime, I came across a similar
approach taken in the documentation of ggplot2, using a small sample
of the diamonds data.
Thanks all again,
baptiste
On 21 Oct 2007, at 12:25, Katharine Mullen wrote:
I'm not aware of any existing function that does what
Hi to all,
Hi have a dificult installing the Rstem package from Duncan Lang (
http://www.omegahat.org/Rstem/).
I use 2.6.0 R version, and 0.2-3 from the tm package. I can't get a
correct instalation of this packages and I tryed some ways to pass this
problem but with no sucess.
Anyone can help
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filipe Almeida wrote:
Hi to all,
Hi have a dificult installing the Rstem package from Duncan Lang (
http://www.omegahat.org/Rstem/).
I use 2.6.0 R version, and 0.2-3 from the tm package. I can't get a
It is helpful to tell us that you are on
You are using WIndows (unstated). There is a binary available, and using
1) Packages | Select repositories select Omegahat
2) Packages | Install packages select Rstem
works for me.
On Sun, 21 Oct 2007, Filipe Almeida wrote:
Hi to all,
Hi have a dificult installing the Rstem package
No.
Think of if only as a means to control program flow.
Use ifelse to use conditional logic on each item of a vector
Best wishes,
Mark
On 21/10/2007, stat stat [EMAIL PROTECTED] wrote:
Dear Mark,
Thanks for this. Can you please explain me what is the difference between
ifelse and if?
The data I have is tab delimited file with 7000 lines of 19 values each
(representing 7000 permutations on 19 variables). I want to get it into
the ROCR package which expects the data to be in lists - single list of
19 values for each permutation, e.g. list of 7000 lists of 19 values each.
I
That is what I thought and that is the format that the 'scan' approach
should provide. I was just confused when you said that you were going
to have to transpose it, write it and then read it back in for some
reason. I understand that Excel can not handle 7000 columns, but was
wondering where
ggplot2
===
ggplot2 is a plotting system for R, based on the grammar of graphics,
which tries to take the good parts of base and lattice graphics and
avoid bad parts. It takes care of many of the fiddly details
that make plotting a hassle (like drawing legends) as
Hi,
How do one avoid rownames when xtable is used to make tables for Latex.
=
MSe - 0.12
MSa - 0.15
MSap - 0.13
MSp - 0.14
k - 5
n - 4
r - 30
EV - 5.15*sqrt(MSe)
AV - 5.15*sqrt((MSa - MSap)/(n *k))
Iap - 5.15 * sqrt((MSap-MSe)/r)
GRR - sqrt((EV)^2 + (AV)^2 + (Iap)^2)
PV - 5.15 * sqrt((MSp
See ?print.xtable, e.g.
print(x, include.rownames = FALSE)
On 10/21/07, Klaus Friis Østergaard [EMAIL PROTECTED] wrote:
Hi,
How do one avoid rownames when xtable is used to make tables for Latex.
=
MSe - 0.12
MSa - 0.15
MSap - 0.13
MSp - 0.14
k - 5
n - 4
r - 30
EV -
2007/10/22, Gabor Grothendieck [EMAIL PROTECTED]:
See ?print.xtable, e.g.
print(x, include.rownames = FALSE)
Thanks
--
Klaus F. Østergaard, farremosen(at)gmail dot com
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing
This is test reply.
Please ignore my email
--
石井一夫
日本Rubyの会
[EMAIL PROTECTED]
http://officeparis.org/blog/
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
The goal is to smooth a scatterplot using the LOESS locally weighted
regression program and a gam. There are 156 points. Thus x can have the
value 1, or 2, etc., up to a maximum of x = 156. The y values are random,
with a Poisson distribution, or the next thing to it.
After reading in the
If you look at the example for predict.gam, it should be clear that
the data frame has a column(s) for the value(s) you want to predict
for:
newd - data.frame(x0=(0:30)/30,x1=(0:30)/30,x2=(0:30)/30,x3=(0:30)/30)
pred - predict.gam(b,newd)
head(newd)
x0 x1 x2
I'd like to fit an ARMA(1,1) model to some data (Federal Reserve Bank
interest rates) that looks like:
...
30JUN2006, 5.05
03JUL2006, 5.25
04JUL2006, N lt; here!
05JUL2006, 5.25
...
One problem is that holidays have that N for their data. As a test, I
tried fitting
Bill, very interesting comment. However, do you believe that by posting
these tutorials on a wiki they could, even if initially faulty, be improved
by the community over time?
Ricardo
On 10/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I think you need to see how things work before
Hello R Gurus:
I would like to take a character string and split at the $ sign.
I thought that strsplit would do it, but here are the results:
vv
[1] whine$ts1
vv
[1] whine$ts1
strsplit(vv,$)
[[1]]
[1] whine$ts1
Does anyone have any suggestions, please?
Thanks,
Edna Bell
loess() is a 'local' fitting procedure, which means that it fits a
different regression at each prediction point. (In principle, for there
are computational short cuts: see ?loess.control.) Since each fit is only
used for a single prediction, its coeffiicients are not of interest and
not made
Try
strsplit(vv,$,fixed=TRUE)
--- Edna Bell [EMAIL PROTECTED] wrote:
Hello R Gurus:
I would like to take a character string and split at
the $ sign.
I thought that strsplit would do it, but here are
the results:
vv
[1] whine$ts1
vv
[1] whine$ts1
strsplit(vv,$)
[[1]]
[1]
On Mon, 22 Oct 2007, Edna Bell wrote:
Hello R Gurus:
I would like to take a character string and split at the $ sign.
I thought that strsplit would do it, but here are the results:
vv
[1] whine$ts1
vv
[1] whine$ts1
strsplit(vv,$)
[[1]]
[1] whine$ts1
Does anyone have any
32 matches
Mail list logo