Displaying 20 results from an estimated 4000 matches similar to: "by & tapply"
2001 Jun 01
4
multiple lattice-pages (development package!)...
One Question: if I make a lattice-plot (beware: under development!) with
a special layout e.g. c(2,2,4):
p1 <- xyplot(y~x|id,data=data,layout=c(2,2,3))
is there a way to print.trellis e.g. the second page of the trellis
object "p1"?
print.trellis(p1,page=2) #!wrong!
I want this to automatically dev.print the pages (no, I don't want multiple
postscript pages). If this
2001 Jul 06
9
a < b < c is alway TRUE
One of our students did something like:
x[a < b < c]
instead of
x[a < b & b < c]
But why is
3 < 2 < 1 # [1] TRUE ???
Is there any reason?
Or wouldn't it be better to get a warning / error?
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
2001 Aug 15
2
RegExp Question
I have to admit that I'm a bit ignorant about
regular expressions...I have a problem with "gsub":
under unix I can :
> cat tmp.txt
F.123 F.123
F123 F123
sed 's/F\./d/g' tmp.txt
d123 d123
F123 F123
that is: replacing "F.", however under R:
gsub("F\.","d",c("F123","F.123"),extended=F)
[1] "d23"
2001 Jun 06
1
lattice (!under development!) font curiosity
Perhaps this might be a font problem, it might be that my font dirs
are broken (but I don't think so, it is a standard potato inst.):
> xyplot(rnorm(10) ~ rnorm(10) ,main=list("???dsa",cex=2))
...displays German special characters false (as greek letters).
Curiously these work o.k.:
> xyplot(rnorm(10) ~ rnorm(10) ,main="?dsa")
> xyplot(rnorm(10) ~ rnorm(10)
2001 Jun 06
1
lattice (!under development!) font curiosity
Perhaps this might be a font problem, it might be that my font dirs
are broken (but I don't think so, it is a standard potato inst.):
> xyplot(rnorm(10) ~ rnorm(10) ,main=list("???dsa",cex=2))
...displays German special characters false (as greek letters).
Curiously these work o.k.:
> xyplot(rnorm(10) ~ rnorm(10) ,main="?dsa")
> xyplot(rnorm(10) ~ rnorm(10)
2001 May 30
1
non-R hevea question
Dear People:
Here is a non-R question, please:
Does anyone use hevea for Windows to translate LaTex to
HTML?
If so, how do you get \bar, \sqrt, and \ne, please?
I get an error message of unknown macro.
Thanks in advance for any help!
Sincerely,
Erin M. Hodgess, Ph.D.
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
One Main Street
2001 Apr 17
3
instaling R
I have not been able to install R on my computer. I am using a Linux
Mandrake 7.2. What is the archive I have to download? where is it
located? How can I install it after downloaded?
Thank you
Antonio
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help",
2000 Aug 30
1
How can I start R
I am not good in English, so excuse me.
I have just install R.
I put the package in the file OPT.
./configure
make
make install
But i dont now how to run this application.
Can you help me.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2000 Sep 14
1
Pl. provide and Input for Kmeans
Sir,
Would like to know what sort of input matrix are taken by the kmeans function
defined in mva library of R application. As per the documentation for the
Kmeans it takes the following 2 data sets:
1) data
2) centers
The commands to be executed in R are as follows:
library(mva)
data <- read.table('file1',header=TRUE,sep="\t")
centers <-
2001 Jun 06
3
HLM-like analysis in R
Greetings-
I have some data on which I need to do something like a Hierarchical
Linear Model (please bear with me, I'm only learning the technique so I
don't know yet if my language is correct). Essentially I'm analyzing data
at two levels simultaneously; data are about individuals an organizations
of which they are members.
Can someone point me toward an appropriate package in R?
2001 Aug 28
2
using by to plot
Hello,
I would like to use by to create a series of plots, but I'm not sure how
to design the function.
Here's what I've got:
1. A data frame of observations of measured value 2 measured vlaues and a
pch code.
V1 V2 pchCode
.0045 123 1
.0034 145 2
.0045 123 1
.0046 167 3
...
So what I want to do is create a single scatterplot of the multiple
conditions (specified by
2000 Dec 06
1
Landscape problems with ps2pdf [summary]
Since I sent my original question last week, this is one of two suggestions
that worked. Using Adobe Acrobat, as suggested by Professor Ripley, was
very satisfactory, but required that I use multiple platforms to make the
conversion to PDF (from Linux to Windows).
The solution by Peter Adorjan (included below), also worked very well, and
can be carried out on any platform using tools available
2002 Dec 20
5
Getting graphs into LaTeX
Hello ALL:
I ran with success the following commands in R getting a file saved
------------------------------------------------------------------------------------
postscript()
postscript('~/data/st202/2003/lecture00/lecture00-graph-01.eps',
horizontal = FALSE, height = 6, pointsize = 10)
hist(trial.outcome.5, breaks = 5,
main = '1000 Replications of 5 Trials of a
2001 Jun 29
2
Re: ESS and R ver 1.3.0/ graph menu/ save PDF
"SM" == S McClatchie <S.McClatchie> writes:
>
> SM> I notice that the new option under R ver. 1.3.0 to save a
> SM> graph as a pdf file from the graph window menu (file/ save as/ SM>
> PDF) works differently (extremely slowly) under ESS, whereas SM> it is
> almost instant from the R- gui.
>
> SM> Does the feature not work
2001 Jun 09
3
spss-data import
Hello,
at the moment i am using spss as my favorite statistics
package, but R seems an atractive alternative. Thanks to
the R-Team for their great work! (I use R on my windows98
laptop,P II and 64MB Ram).
I have a big(?) data set, containing more than 470
variables and 3200 cases (size: 2.5MB). Whenever I use the
command 'read.spss' (foreign-library), I got the the
following
2000 Sep 01
3
Object size in bytes
Hi,
Is there a command that will give the total size of an R object in bytes?
thanks
Nicholas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
2000 Aug 21
4
Excluding rows from a matrix
Hi
I have a matrix (4 x 950) and I want to remove 3 rows, where the values
from the first column are 713, 714 and 715. I can select the rows, one
by one, with
mat[mat$first==713,]
mat[mat$first==714,]
...
but I'm unable to (i) select the 3 rows at once, (ii) select the matrix
excluding those rows.
How can I do it ?
Thanks
EJ
2002 Aug 23
5
quick xtable questions
Hi, I'm creating a lot of tables in a file for inclusion in a Latex
document. When I try to compile that document there is an error "too many
unprocessed floats." Is there a way to correct this?
Also, in a Latex table I want R to put in a $\beta$ in the caption, but it
puts a weird system character instead of the \b
Brian
2007 Oct 02
1
Trouble obtaining results from a loop
#Hello,
#I have a question about obtaining results from a loop I have written.
#Below is a sample of individual genotypes from a genetic question I am
working on called "P.genotype.sample ".
P.genotype.sample<-matrix(10,10,10)
P.genotype.sample[,1]<-c(2,2,1,5,1,1,5,6,1,3)
P.genotype.sample[,2]<-c(6,3,3,6,8,1,6,7,2,3)
P.genotype.sample[,3]<-c(2,2,2,3,3,2,2,2,3,3)
2011 May 12
2
Row names and matrixs
Hi all -
I am NEW to R and NEW to any type of programming. I am making heatmaps
using the heatmap.2 function within gplots package. At present, when the
heatmap is plotted it uses the row identifiers as 1,2,3,4...etc. However, I
much rather use my own labels. I was told my another well-versed R
programmer to use the follow script:
x<-as.matrix(test1[,-1]) ## skip column 1
rownames(x)<-