You are trying to apply TukeyHSD to a linear regression. I think you want
`diet' to be a factor, but it is not. (The warning message told you
that.) The model needs to be
coag.mod - aov(time ~ factor(diet), data=coag)
Function aov happily accepts continuous covariates as it can also do
ANCOVA.
Richard A. O'Keefe [EMAIL PROTECTED] writes:
How about this addition to the documentation?
The x axis corresponds to the rows of the matrix (first on the left
to last on the right). The y axis corresponds to the columns of the
matrix (first at the bottom to last at the top).
On Thu, 26 Aug 2004, Mihai Nica wrote:
R 1.9.1 on Win2000 or Win98SE.
I am using coplot as follows:
coplot(AVG~LRPI| REGION)
the output seems normal but I get:
Warning message:
calling par(new=) with no plot
From the NEWS file for R-patched:
o coplot(..) doesn't give an
On Fri, 27 Aug 2004, Manoj - Hachibushu Capital wrote:
?readline
Yes, but a nearer equivalent to scanf in C is scan() which reads from the
keyboard by default.
-Original Message-
[mailto:[EMAIL PROTECTED] On Behalf Of Neil Leonard
Sent: Friday, August 27, 2004 2:04 PM
Does
Michael Jerosch-Herold [EMAIL PROTECTED] writes:
When using read.spss (library: 'foreign') I get the following warning
message:
Warning message:
E:/R4win/mesamri.sav: Unrecognized record type 7, subtype 13
encountered in system file.
I don't see anything wrong with record #7 in the
On Fri, 27 Aug 2004, Prof Brian Ripley wrote:
On Thu, 26 Aug 2004, Mihai Nica wrote:
[...]
This is the only explanation that I have for being unable to use par() with
coplot for changing the way the xlab and ylab appears.
xlab and ylab are not part of par -- see its help page.
Johannes Graumann wrote:
Hello,
One more question from the 'abusing R for blotting - particularly
anally' department:
How can I in the expression below make the '%~~%' show up as the
aprrox-sign I want it to be?
Thanks for any hint,
Joh
text(
500,1.5,
cex=0.75,
substitute(
On Friday 27 August 2004 02:55, Michael Jerosch-Herold wrote:
When using read.spss (library: 'foreign') I get the following warning
message:
Warning message:
E:/R4win/mesamri.sav: Unrecognized record type 7, subtype 13
encountered in system file.
I don't see anything wrong with record #7
Johannes Graumann wrote:
Hello,
One more question from the 'abusing R for blotting - particularly
anally' department:
How can I in the expression below make the '%~~%' show up as the
aprrox-sign I want it to be?
Thanks for any hint,
Your code does not work because %~~% is a character string and
On Wed, 25 Aug 2004, Jeff Hollister wrote:
Howdy All,
I am looking for some good tutorials (books, websites, whatever) for
calculating/testing for Spatial Autocorrelation using R.
Specifically, I am wanting to test for autocorrelation of a number of
variables measured at a set of
Peter Dalgaard wrote:
Richard A. O'Keefe [EMAIL PROTECTED] writes:
[snip]
Good idea, but perhaps not phrased sharply enough to catch the user's
eye. How about something like this:
Notice that image() interprets a matrix as a table of f(x_i, y_j), so
the x axis corresponds to row number and
Patrick Burns [EMAIL PROTECTED] writes:
Peter Dalgaard wrote:
Richard A. O'Keefe [EMAIL PROTECTED] writes:
[snip]
Good idea, but perhaps not phrased sharply enough to catch the
user's
eye. How about something like this:
Notice that image() interprets a matrix as a table of
Problem 1: Often, when I'm dealing with its, str() breaks. Here's a
bug demo. The first statements work fine --
library(its)
# Make a series of all dates from 1/1/2000 to 10/1/2000; fill this up
# with integers from 1 to 30
x1 - newIts(start=2000-01-01, end=2000-01-10, 1:30, ncol=3)
Hi,
I am trying the 'R' application for generating the data for the uploaded '.gpr' file.
I have written script file named 'test.R'. Currently i have hardcoded the path of
uploaded '.gpr' file in the script itself.
I would like to know how to pass a command line parameter to the 'test.R'
On Fri, 27 Aug 2004, Kishore, Tapake wrote:
Hi,
I am trying the 'R' application for generating the data for the uploaded
'.gpr' file. I have written script file named 'test.R'. Currently i have
hardcoded the path of uploaded '.gpr' file in the script itself.
Typically, you can write a
Hi!
You can do it indirectly e.g within a batch file.
a) set an envirovment variable (the path to the file)
b) access it from within you *.R script using ?Sys.getenv
Hope it helps.
Eryk
*** REPLY SEPARATOR ***
On 8/27/2004 at 4:36 PM Kishore, Tapake wrote:
Hi,
I am trying
On Fri, Aug 27, 2004 at 04:08:40PM +0530, Ajay Shah wrote:
Problem 1: Often, when I'm dealing with its, str() breaks. Here's a
bug demo. The first statements work fine --
[...]
Problem 2: I try to write an its out and read it back in, but the two
don't seem to be conformable for matrix
Hi all:
I have a problem when I try to concatenate two similar data frames with
different number of rows using rbind. I did something like this:
d-data.frame(a=1:10,b=2:11,c=3:12)
e-data.frame(a=101:105,b=102:106,c=103:107)
data=rbind(d,e)
The resulting row enumeration is not sequentially
There is another solution that the helpers might like to be aware of.
Anything on the command line after --args is ignored but can be retrieved
by commandArgs. So suppose I have a script
quote.R:
commandArgs()[-(1:3)]
q()
and a batch file quote.bat:
Rterm.exe --slave --args %* quote.R
Then
Hi,
Thanks a lot for an instant reply.
Actualy i am invoking the 'R' application from JAVA programme. I am using 'test.R'
script file.
Is the below command a right one or is there any other command option available.
c:\\R\\rw1091\\bin\\R.exe CMD BATCH c:\\R\\rw1091\\bin\\test.R
I need to
Gladys Castillo Jordán wrote:
Hi all:
I have a problem when I try to concatenate two similar data frames with
different number of rows using rbind. I did something like this:
d-data.frame(a=1:10,b=2:11,c=3:12)
e-data.frame(a=101:105,b=102:106,c=103:107)
data=rbind(d,e)
The resulting row
R Version 1.9.1 (2004-06-21)
Mac OS X.3.5 Dual 2GHz PowerPC G5
GUI = AQUA
I have a data.frame comprising percentiles with the column headings
containing % characters, e.g.
(pp - colnames(temp2))
[1] 5% 10% 25% 50% 75% 90% 95%
I use xtable to convert the data.frame to Latex but I want to
On Fri, 27 Aug 2004, P. B. Pynsent wrote:
R Version 1.9.1 (2004-06-21)
Mac OS X.3.5 Dual 2GHz PowerPC G5
GUI = AQUA
I have a data.frame comprising percentiles with the column headings
containing % characters, e.g.
(pp - colnames(temp2))
[1] 5% 10% 25% 50% 75% 90% 95%
I use xtable
P. B. Pynsent [EMAIL PROTECTED] writes:
I have a data.frame comprising percentiles with the column headings
containing % characters, e.g.
(pp - colnames(temp2))
[1] 5% 10% 25% 50% 75% 90% 95%
I use xtable to convert the data.frame to Latex but I want to protect
these % signs from Latex
R-help,
In the following loop :
for(i in 1:8)
{
cc[[i]]-tapply(test[,i+6],list(puntar=test$puntar),sum)/tapply(test[,5],list(puntar=test$puntar),sum)
cbind.data.frame(cc[[1]],cc[[2]],cc[[3]],cc[[4]],
cc[[5]],c[[6]],cc[[7]],cc[[8]])
}
Is there anyway I can 'cbind.data.frame' the objects cc[[ i
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Peter Dalgaard wrote:
``The generic rule for backslashes is that you need twice as many
as you thought''
And you have to apply that rule recursively! :-)
cheers,
Rolf Turner
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R-help,
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Take a look at do.call.
In your case, 'do.call(cbind, cc)' should work.
Hope this helps,
Matt Wiener
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Luis Rideau Cruz
Sent: Friday, August 27, 2004 9:12 AM
To: [EMAIL PROTECTED]
Subject: [R] for (i in
?do.call
do.call(cc,cbind)
Hope it helps
Eryk
*** REPLY SEPARATOR ***
On 8/27/2004 at 2:11 PM Luis Rideau Cruz wrote:
R-help,
In the following loop :
for(i in 1:8)
{
cc[[i]]-tapply(test[,i+6],list(puntar=test$puntar),sum)/tapply(test[,5],list(puntar=test$puntar),sum)
PLEASE don't call methods explicitly.
I think
do.call(cbind, cc)
is what you are looking for, although probably you should be calling
data.frame not cbind here. (Your lines are too long and contain no spaces
so I am not going to try to fathom out what cc[[i]] really is. But I am
F Z wrote:
Hi
I was asked if lme can use FIML (Full Information Maximum Likelihood)
instead of REML or ML but I don't know the answer. Does anybody know if
this is implemented in R?
To the best of my knowledge, FIML is ML so the answer is yes.
For example, the phrase Full Information Maximum
Luis Rideau Cruz [EMAIL PROTECTED] writes:
R-help,
In the following loop :
for(i in 1:8)
{
cc[[i]]-tapply(test[,i+6],list(puntar=test$puntar),sum)/tapply(test[,5],list(puntar=test$puntar),sum)
cbind.data.frame(cc[[1]],cc[[2]],cc[[3]],cc[[4]],
cc[[5]],c[[6]],cc[[7]],cc[[8]])
}
At work I have no permission to install R. So, would anyone know whether it
is possible to create a CD with a running R-installation for a windows(XP)
pc? And of course, how to?
Thank you for your help,
Hans van Walen
__
[EMAIL PROTECTED] mailing list
On Fri, 27 Aug 2004, Raphael Schneider wrote:
On Friday 27 August 2004 02:55, Michael Jerosch-Herold wrote:
When using read.spss (library: 'foreign') I get the following warning
message:
Warning message:
E:/R4win/mesamri.sav: Unrecognized record type 7, subtype 13
encountered in
You can simply start a Linux live distribution
including R (for example bio-knoppix) from CD, but
you have to restart pc with cd inside.
A.S.
Alessandro Semeria
Models and Simulations Laboratory
Montecatini Environmental Research Center (Edison Group),
Via Ciro
On Fri, 27 Aug 2004, Hans van Walen wrote:
At work I have no permission to install R. So, would anyone know whether it
is possible to create a CD with a running R-installation for a windows(XP)
pc? And of course, how to?
Yes, for a suitable definition of `CD'. (You need the extensions which
Hi, I'm having some problems regarding the packages
lme4 and nlme, more specifically in the denominator
degrees of freedom. I used data Orthodont for the two
packages. The commands used are below.
require(nlme)
data(Orthodont)
fm1-lme(distance~age+ Sex,
data=Orthodont,random=~1|Subject,
Hi!
Make a isntallation of R on a PC where it is allowed. Install all packages you need.
Burn the installation folder (rw1091) on the CD.
Start R by clicking on Rgui.exe in the bin folder (rw1091/bin).
Or set a path on the command line to (CD drive letter) :\rw1091\bin
Or create a shortcut.
This
Yes, I was trying cex.lab(). Now I understand why it didn't work.
Sincerely,
Mihai Nica
Jackson State University
155 B Parkhurst Dr.
Jackson, MS 39202
601 969 5423
- Original Message -
From: Prof Brian Ripley [EMAIL PROTECTED]
To: Mihai Nica [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent:
Thanks everybody!
Joh
On Fri, 27 Aug 2004 09:37:12 +0200
Uwe Ligges [EMAIL PROTECTED] wrote:
Johannes Graumann wrote:
Hello,
One more question from the 'abusing R for blotting - particularly
anally' department:
How can I in the expression below make the '%~~%' show up as the
Stephen Nyangoma wrote:
Hi all,
I have a very high dimensional data and apparently there are several
columns that contain similar information (some columns are equal). I
want to form a matrix/data frame consisting of unique columns. Does
anyone have an efficient way of getting out these columns. A
Dear all,
One of my students (whom I am trying to convince to use R) wants to get a fairly large
SAS dataset into R (about 150mB). An obvious and simple thing she tried was to write
the dataset as a .csv-file and then read that into R, but that takes forever (or
something close to that..). The
Søren Højsgaard wrote:
Dear all,
One of my students (whom I am trying to convince to use R) wants to get a fairly large SAS dataset into R (about 150mB). An obvious and simple thing she tried was to write the dataset as a .csv-file and then read that into R, but that takes forever (or something
On Fri, 27 Aug 2004, Sundar Dorai-Raj wrote:
Søren Højsgaard wrote:
Dear all,
One of my students (whom I am trying to convince to use R) wants to get a fairly
large SAS dataset into R (about 150mB). An obvious and simple thing she tried was
to write the dataset as a .csv-file and
Dear R-help list,
I am attempting to understand the proper formulation of ANCOVA's in R. I
would like to test both parallelism and intercept equality for some data
sets, so I have generated an artificial data set to ease my understanding.
This is what I have done
#Limits of random error added
Hi,
I have an array of 2d node locations and an array triangles, and would
like to plot something like a image or persp.
An example of doing it with rgl is:
library(ncdf)
library(rgl)
# wget http://www.maplepark.com/~drf5n/extras/teapot.nc
teapot-open.ncdf(teapot.nc)
-Original Message-
From: [EMAIL PROTECTED] [mailto:r-help-
[EMAIL PROTECTED] On Behalf Of Søren Højsgaard
Sent: Friday, August 27, 2004 11:46 AM
To: [EMAIL PROTECTED]
Cc: Søren Højsgaard
Subject: [R] Reading SAS data into R
Dear all,
One of my students (whom I am trying to
54 matches
Mail list logo