Displaying 20 results from an estimated 5000 matches similar to: "R code for repeated measures"
1999 Jun 23
1
Influence.measures
I am using rw0641 with Windows 98. To list just the influential
repetitiones that result from "influence.measures", I am using the input
result <- lm(y~x)
and the code from the example in the help for "influence.measures"
INFLM <- function(result){
inflm <- influence.measures(result)
which(apply(inflm$is.inf,1,any))
}
It works fine up to now with the
1999 Nov 16
3
Make on RH6.1
Hi
I am trying to compile R on Redhat Linux 6.1. I get the following
errors. What am I doing wrong?
make[2]: *** Warning: File `../unix/libunix.a' has modification time in
the future (942749076 > 942748853)
../unix/libunix.a(system.o): In function `main':
/usr/local/R-0.63/src/unix/system.c:544: undefined reference to
`__setfpucw'
./unix/libunix.a(system.o): In function
2000 Feb 14
2
Error in the inverse of a diagonal matrix?
I?m new to R so maybe this issue has been asked before and I still could not read the complete set of past messages sent to the list.
I found a weird behabiour that I will explain with a simple example. Lets consider the following block of commands:
> x <- diag(c(1,4,10))
> x
[,1] [,2] [,3]
[1,] 1 0 0
[2,] 0 4 0
[3,] 0 0 10
> invx <- x^-1
> invx
1999 May 17
1
minor installation problems
Hello,
I just finished installing R-0.64.1 on my linux machine (using kernel
2.0.36 under red hat 5.2, and
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
)
The two problems I had:
1. ./configure --with-readline --with-x --prefix=/usr/local
ran to a point, then gave up with
...
checking return type of signal handlers... void
checking for working const... yes
1999 May 17
1
minor installation problems
Hello,
I just finished installing R-0.64.1 on my linux machine (using kernel
2.0.36 under red hat 5.2, and
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
)
The two problems I had:
1. ./configure --with-readline --with-x --prefix=/usr/local
ran to a point, then gave up with
...
checking return type of signal handlers... void
checking for working const... yes
1998 Dec 04
1
contour labelling [was "Re: image ()"]
Brian D Ripley writes:
Interactive rotation of perspective plots would be a great
boon, as would shading options for perspective plots, including
contouring on such plots.
I am envisioning a division into static and dynamic plots. The static
version will concentrate on rendering as nice a picture as possible -
anti-aliasing (if supported) arbitrary text rotation etc, whereas the
dynamic
1998 Mar 27
1
R-beta: Problems during compilation of R for Solaris 2.6
Hello,
I am inexperienced in C program compilation and I receive the following
error during the compilation of R (version 0.61.2) for Solaris 2.6.
I have installed the gcc 2.8.0 version.
>> gcc -o R.binary arithmetic.o array.o attrib.o bind.o builtin.o character.o >> coerce.o colors.o complex.o context.o cov.o cum.o dataframe.o debug.o >> deparse.o deriv.o
1999 Aug 20
2
Referencing R in journal paper?
I'm using R for calculations and plots in a statistical paper. Is
there a canonical reference to use in the bibliography? (Or is it not
common to acknowledge computer programs in journal papers?)
--
Bj?rn-Helge Mevik <bhm at math.uio.no>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
1998 Jun 18
1
Compiling under Digital Unix
I tried a compilation of R-0.62.1 on a DEC Alpha that identifies
itself as
Digital UNIX V4.0A (Rev. 464); Thu May 14 14:08:00 CDT 1998
$ uname -a
OSF1 atlas.stat.wisc.edu V4.0 464 alpha
I got to the final link step then got an error with
gcc -ieee_with_inexact -g -O2 -I../include -c version.c
f77 -o R.binary arithmetic.o array.o attrib.o bind.o builtin.o character.o coerce.o colors.o
1998 Sep 11
2
R-beta: compiling problems under DU4.0D
I've down loaded R version 0.62.3 .
After packing it out on my Digital personal workstation running DU4.0D
i configure using the command
"R_PRINTCMD=ppr CC=cc CFLAGS="-O" PERL=/local/bin/perl5 ./configure --prefix=/local/math"
after this I'm trying to make the package and issue the command "make"
at the end of this process I get the following error:
2000 Feb 25
2
problem with read.table
> Hi,
> I recently downloaded R on window and running Rgui on NT. I have never use
> R before and trying to learn R by following An introduction to R.
> I generated a table of 900x5 in excel and saved as tab delimited txt file.
> I then do read.table but I keeping getting the following message
> > data <- read.table("ML4mm25.txt", header=T, sep=" ")
2003 Mar 12
1
plot() with type="s" and lty=2 (PR#2630)
Full_Name: Jerome Asselin
Version: 1.6.2
OS: RedHat Linux 7.2
Submission from: (NULL) (142.103.173.179)
In the following example, the line type lty=2 does not show properly
across the entire line.
x <- c(seq(0,.5,.001),seq(.6,1,.1))
y <- rep(1,length(x))
plot(x,y,type="s",lty=2)
Sincerely,
Jerome Asselin
2005 Jan 25
2
tapply and names
I have a data frame containing children, with variables 'year' = birth
year, and 'm.id' = mother's id number. Let's assume that all the births of
each mother is represented in the data frame.
Now I want to create a subset of this data frame containing all children,
whose mother's first birth was in the year 1816 or later. This seems to
work:
mid <-
2001 Mar 19
3
3D plots
Hi all,
I've got at really basic Q for you all: How do I produce a 3D plot in R?
Like the one in the screenshot on the R-project wab-page.
What is the command?
/Fredrik
--
-----------------------------------------------------------------
Fredrik Karlsson, Research Student
Department of Philosophy and Linguistics
Ume? University
S-901 87 UME?
SWEDEN
Tel: +46 90 786 56 84 Web:
2005 Jan 23
4
survreg: fitting different location parameters
Hi R-Help!
My question: I have lifetime/failure data of machines with different
stress levels and i think an weibull/extreme value distribution would
fit this data. So I did:
model1 <- survreg(Surv(lfailure)~stress,data=steel,dist="extreme")
(where lfailure=log(failure))
Now I would like to do a likelihood ratio test to test the hypothesis
H0: location parameters of the
1999 Jun 09
4
packages with FORTRAN code
Recent sensible changes to the dynload mechanism have made an old
problem resurface: how should we deal with packages which contain
Fortran code and may need to be linked against additional libraries
such as -lf2c?
The current consensus is that extra Fortran libraries maybe needed are
handled via the make variable FLIBS, and that `-lf2c' or `-lg2c' are
added by default if g77 is used.
2002 Feb 20
3
Pointer to covariates?
In the first line, use the dist function, found in library mva,
to get the distance between each pair of rows. From this
calculate an incidence matrix for which element i,j is true if
row i in dat equals row j in dat (and false elsewhere).
In the second line, for each row calculate the indices of
the matching rows and take the minimum of those as the key.
incid <-
2003 Jun 20
3
namespaces not available
This happened to me with R-1.7.0, Linux RH9:
------------------------------------------------------------------
> q()
Save workspace image? [y/n/c]: y
Warning messages:
1: namespaces may not be available when loading
2: names in persistent strings are currently ignored
gb at lasker:~/R/test$ R
R : Copyright 2003, The R Development Core Team
Version 1.7.0 (2003-04-16)
R is free software
2005 Sep 05
12
TeX distribution on Windows
I'm looking for a Windows distribution of TeX that works with R, after a
few years' absence from Windows. On Duncan Murdoch's Rtools page fptex is
still recommended, but it turns out that fptex is "defunct" as of May 2005,
see
http://www.metz.supelec.fr/~popineau/xemtex-7.html
So, what is suggested? TUG (tug.org) recommends something called proTeXt,
which is said to be
2004 Dec 07
1
read.spss: unrecognized record type
When reading an spss file, I get the following message:
Warning message:
../totmorH.sav: Unrecognized record type 7, subtype 13 encountered in system file.
What does it mean? Do I have to worry? The result looks as expected. I do
not have (easy) access to SPSS, so I cannot check exactly that I got what I
should have.
Thanks,
G??ran
And, I'm using R-2.0.1 on Debian testing (from source).