Displaying 20 results from an estimated 2000 matches similar to: "How can I start R"
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 <-
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
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
2000 Jul 26
3
merge aint merging
g'day R friends,
can anyone please help me with a frustrating merge?
The number of rows of a resulting merge is the smaller of the 2 dataframes
used as input. What am I doing wrong? I'm using 1.1.0 on redhat 6.2
thanks,
John Strumila
> xx[1:10,]
datetime c
948992940 948992940 0
948993000 948993000 0
948993060 948993060 0
948993120 948993120 0
948993180 948993180 0
1999 Aug 19
2
OT: PSTOWMF
Hallo,
I've produced via R-0.62 several Life-tables 50*6 (mfrow=c(2,3))
as postscriptgraphs. The phd student, who asked for this, use word for
windows--therefore i converted the whole stuff with pstoimg to gifs.
Unlikly the result is not sufficient (I was told)...
Is there a tool to convert ps to wmf/emf ? I looked for it but haven't
found anything...
Thanks for an answer
Peter
1999 Oct 14
2
Help on MASS Library
Hi,
I am starting tu use R on a linux environment (Red Hat 6.0),
and when I tried to use library MASS, writting
library(MASS)
I got the following message:
> library(MASS)
Error: dynamic library `MASS' not found
>
Is there something I am doing wrong?
Thanks in advance,
Alberto
---------------------------------------------------------------------
Alberto Munoz
1999 Oct 31
1
R with ESS: how to start
I installed ESS but I can't figure out what needs to be set
for it to recognise R. I gather it's something to do with
.emacs file, but none of the help files seem to mention it.
Like everything, it's probably easy once you know, but so
far I don't know where to look.
Thanks for any help.
best
Patrick
1999 Oct 14
1
Thursday
I am trying to use R on my computer. What are files that I need to run R
properly? I appreciate your help.
Douglas A. Kimble
Design Engineer
767-200SF Payloads
> * (316) 523-6442 * (316) 523-6003
> * 1-888-764-0675
> * #1 Douglas.Kimble at Wichita.BOEING.com
> * #2 slimdoggy at prodigy.net
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2000 Aug 24
1
coplot
COPLOT:
how do i define the given.values for two variables?
Thomas Pesl
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 stat.math.ethz.ch
2000 Feb 24
1
Ordinal Regression
Hi:
Is there any function in R to fit ordinal regression models (linear
and non-linear) described by Peter McCullagh.
Regression Models for Ordinal Data, JRSS-B, 1980, 42:109-142
Thanks,
Venkat
-----------------------------------------------------------------------
E. S. Venkatraman, Ph.D. Phone: (212) 639-8520 Fax: (212) 717-3137
Assistant Attending Member Memorial
2000 Mar 14
2
TRELLIS (Splus) EQUIVALENT IN A FUTURE R ?
Dear R-Help,
I know that R already includes conditioning plots (two variables/factors)
but is there any intention to incorporate an equivalent of Trellis
(Splus) multi-conditional plots in R ?
Thanks,
Carlos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000314/af50b46f/attachment.html
2000 Jan 07
2
global variable
Hi,
I would like to know if it is possible to make global variables in R.
My problem is that I use the same data frame in many different functions
that I have written, but it implies a very big waste of time because it
slow down the program.
So I would use my data frame without need to copy it each time in
another function to have a faster program execution.
How can I do ??
Thanks for Help
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
1999 Nov 11
2
Display Pictures in R
Hi,
how can I import pictures in R (e.g. bmp or tiff) and display them in an X11?
Thanks
Sigurd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/19991111/9923e65c/attachment.html
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
1999 Dec 16
2
R question
I have the following question, which is elementary but I am unable to
answer.
In a for(i=10) loop, I am trying to represent the 10 1-dimensional vectors
l1, l2,... l10 by some expression that will run through these values.
ie. soppose I want to add l1 + ... + l10
I could go
x <- 0
for(i in 1:10){ x <- x+ l(i)}
This should return x to be the sum of the 10 li's for i from 1 to 10
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"
2000 Aug 09
2
pch and curve plotting
Hi all,
I'm having two small problems and was wondering if you could help me
out.
Problem 1:
When I use pch to place a symbol onto a plot it seems to place the point
a little off the exact location. I have read the help file for this
which says to use "." as the plotting character, which will then produce
centered points but I am unclear as to how to do this.
Problem 2: How do I