Displaying 20 results from an estimated 5000 matches similar to: "quick xtable questions"
2010 Jun 14
2
xtable with Sweave
Hi,
I'm using Sweave to prepare a descriptive report.
Are at least 20 tables built with xtable command of kind:
<<echo=F, results=hide>>=
q5 = factor(Q5, label=c("N?o", "Sim"))
(q5.tab = cbind(table(q5)))
@
<<echo=F, results=tex>>=
xtable(q5.tab, align="l|c", caption.placement = "top",
table.placement='H')
@
I'm
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
2002 Mar 20
3
tex/latex output?
Is it possible to write the output/results (redirect) to a latex file?
Jeff.
Jeff D. Hamann
Hamann, Donald & Associates, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
Bus. 541-753-7333
Cell. 541-740-5988
jeff_hamann at hamanndonald.com
www.hamanndonald.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
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
2000 Aug 30
1
by & tapply
Rers,
I have been using the function 'by' in such a manner:
by(LogMetric, list(Loci.Number=Loci.Number, Code.Flag=Code.Flag), plot)
with
par(mfrow=c(5,3))
to produce a single R Graphics: Device with 14 different plots on it as
described above in my 'by' statement. Thank you for helping me thus far.
A similar command using 'tapply' can be written as well.
My