options, except for having to set
PERL_MODULES to not include modperl or Apache.
any ideas?
eric.
--
http://ir.iit.edu/~ej
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R
.
Eric
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
library(R2HTML, verbose = FALSE)
Leo Gürtler wrote:
Dear alltogether,
I want to use CGIwithR in conjunction with R2HTML.
A small example called 'test.R':
#
#! /usr/bin/R
invisible(capture.output(library(R2HTML)))
HTML(summary(as.numeric(scanText(formData$numbers))), file=stdout())
is here:
http://quirks.com/jobmart/search.asp
Heck, it could even become a revenue resource for the R Project
foundation if members and supporting institutions got little gold stars
with their postings or some such.
Eric
* Defined as Unable to follow posting guidelines.
Bert Gunter wrote:
... two
For 2007:
seq(as.Date('2007-02-01'), length = 12, by = mon) - 1
Current month:
seq( as.Date( format( Sys.Date(), %Y-%m-01)), length = 2, by =
mon)[2] - 1
Eric
Patnaik, Tirthankar wrote:
Hi,
Given a date, how do I get the last date of that month? I have
data in the form MM
if there are other datasets or ideas that could
help me.
Thanks and don't hesitate to ask extra information if my request is
not understandable.
Eric
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Hi, I ran into a dilemma trying to plot the following data in a 3d
scatter fashion. My data are not always increasing as persp() expects.
For now I use scatterplot3d to get points in a 3d scatter plot. I
wonder if I have any way to plot the surfaces. Thanks!
Eric
sample data
-0.50 0.40
Hey Sundar
I guess it works indeed. I had made a stupid mistake. Thanks.
Eric
On Jul 15, 2005, at 11:24 AM, Sundar Dorai-Raj wrote:
Hi, Eric,
I plotted a surface using the first two columns as x and y and the
third column for z:
library(lattice)
v - read.table(clipboard)
names(v) - c(x
the analysis of contingency tables. Whoever is
interested to take it and rework it a little bit (for example redefining
outputs so that they suits a htest object) is welcome.
Best wishes,
Eric
-
# R functions to provides statistics on contingency tables
# Mimics SAS PROC FREQ outputs
to wrap my head
around environments and evaluation in R, the solution to this will be
very educational. Thanks in advance.
Cheers,
e.
--
Eric Archer, Ph.D.
NOAA-SWFSC
8604 La Jolla Shores Dr.
La Jolla, CA 92037
858-546-7121,7003(FAX)
[EMAIL PROTECTED]
Lighthouses are more helpful than churches
Most excellent Sundar! Thanks so much!
Cheers,
e.
Sundar Dorai-Raj wrote:
Eric Archer wrote:
List gurus,
I'm trying to code a Gompertz growth curve function as part of a
larger project and have run across a problem due to my ignorance of
environments. Some sample data
appreciated.
TIA
Eric
-
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R
, and it cannot be used with matrices to generate
Bray-Curtis similarity dendrograms?)
Please forgive my ignorance!
Thank you in advance,
eric pante
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
to
obtain a majority-rule consensus tree from x distance matrices ? Is
anyone using R to generate phylogenetic trees with node support ?
thanks for your time and consideration,
Eric P.
Eric Pante
---
Graduate Student in Marine Biology
suggestions would be very helpful !
Thank you in advance,
Eric
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
To: Eric Pante
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] sampling vectors
Eric,
If you want samples of size 3 from 0:50, with sum==50, this seems to
do
the job (with apologies to those who really know how to program in R):
tot - 50
ii - 0
aa - list()
for(i in 0:tot){
for(j in 0
Hello,
I'm using R 2.3.1 on Windows.
I'm generating some very long SQL statements. I do this by using paste() which
will contain many strings and variables. I'm getting an error when the the
total line length is longer than about 1013 characters. For example, it works
with the line
problem too,
as the only one I found is maintaining two versions of the
functions I write.
Eric Elguero
GEMI-UMR 2724 IRD-CNRS,
Equipe Evolution des Systemes Symbiotiques
911 avenue Agropolis, BP 64501,
34394 Montpellier cedex 5 FRANCE
__
R-help
of scatter plot points, for example, but it each individual
point (or grob) is always one solid color as far as I can tell.
Thanks,
Eric
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
this function IS in R2HTML package!!!
- Changed utils:::XXX and utils::XXX into XXX everywhere, and added
import(utils) in NAMESPACE instead.
Eric
Eric Lecoutre
UCL / Institut de Statistique
Voie du Roman Pays, 20
1348 Louvain-la-Neuve
Belgium
tel: (+32)(0)10473050
[EMAIL PROTECTED]
http
apply(mat, 1, tabulate(nbins=4)).
Any clue ?
Thanks,
Eric
--
Eric Pellegrini, PhD
Computer-Chemie-Centrum
University of Erlangen-Nürnberg
Nägelbachstraße, 25
D-91052 Erlangen
Germany
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch
Hello,
Does anyone know if it is posssible to insert a picture (ps or jpg for example) in
documentation files with Rd extension. I guess it's impossible but maybe there is a
trick.
Thank you!
Eric Esposito
==
Direction de la Recherche
Pôle Economie
format files are taken into account, is it normal? Is there
something special to do to take other file formats into account?
Thank you
Eric Esposito
==
Direction de la Recherche
Pôle Economie, Statistisques et Sociologie
361 avenue du Président Wilson - BP 33
93211
question arises in a context where cor(mydata,
use=pairwise.complete.obs) returns correlations on diagonal that are
near 0.95 (where as my data do have 100 observations and only 12 missing
values...).
Do cor() and cov() handle the same way the argument pairwise.complete.obs?
Eric
R.version
See
help([)
which informs you about the additional argument drop:
ret -matrix(1,4,4)[i1:i2,j1:j2,drop=FALSE] ;
BTW, you do not need to end lines of code with a ; ...
Eric
At 12:06 4/11/2004, JC Vaugeois wrote:
Hi,
is there any way to keep a sub matrix dimension?
exemple :
i1-1; i2-1
j1-2; j2-3
be possible.
Could someone bring me an example of such a use?
basically, my needs are:
do.call(foo,args) args containing primary and extra-arguments to pass to
foo.
Best wishes,
Eric
Eric Lecoutre
UCL / Institut de Statistique
Voie du Roman Pays, 20
1348 Louvain-la-Neuve
Belgium
tel: (+32)(0
?
Eric
R version 2.0.1, Windows
Eric Lecoutre
UCL / Institut de Statistique
Voie du Roman Pays, 20
1348 Louvain-la-Neuve
Belgium
tel: (+32)(0)10473050
[EMAIL PROTECTED]
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre
If the statistics are boring, then you've got the wrong numbers. -Edward
Tufte
: 32
a: 1 tmp$set.a(10)
tmp$foo(b=32)
b: 32
a: 10
---
This achieves exactly the object-oriented aspect I wanted to have. And in
fact myObject()() acts as a new instantiation of my object.
Best wishes,
Eric
At 12:05 18/11/2004, Eric Lecoutre wrote:
Hi R-listers,
I am trying to better undertand
Hi,
What about:
as.list(names(l))
[[1]]
[1] a
[[2]]
[1] b
[[3]]
[1] c
HTH,
Eric
At 15:59 19/11/2004, Adrian Alexa wrote:
Hello R-users,
I have the following problem, that I want to solve efficiently:
I have a named list, for example:
l - list(a = 1, b = 3, c = 'asd')
l
$a
[1] 1
$b
[1] 3
$c
[1
,
Eric Lim
Papworth Hospital
Cambridge, UK
futime status
[1,] 0.4000 1
[2,] 0.8000 1
[3,] 7.1000 1
[4,] 3. 1
[5,] 0.6333 1
[6,] 9.9333 1
[7,] 0.5000 1
[8,] 6.9333 1
[9,] 23. 1
[10
,collapse= ))
[1] A F J D I B I A G H B C E H E
H B C E G E
[10] B C E I
HTH,
Eric
At 16:40 23/11/2004, Henrik Andersson wrote:
I want to create a character vector based on the table (shortened for
display) below:
Where there are ones in the matrix I want the column name
the solution by combining the two solutions:
lung.wbs - survreg( Surv(futime, status)~ 1, data=lung, dist='weibull')
plot (survfit(Surv(futime,status)~1, data=lung))
curve (exp (- (exp( lung.wbs$coef[1])*x)^(1/lung.wbs$scale)),
col=black, add=T, from=0, to=30)
Kind regards,
Eric Lim
Papworth Hospital
: Low Medium High
It uses:
? paste (sep=.) to create the combinations ie 0.0, 10.50, etc.
? do.call to invoke the paste on the columns of the data.frames
? factor specifying existing levels (only those defined by cas data.frame)
anbd labels
Eric
At 10:12 30/11/2004, Yves Brostaux wrote:
Dear
to
compute on elements of this list.
If we decompose, the lapply does:
lapply(token.list,paste,collapse=, )
$1
[1] a, b, c
$2
[1] d, e
On which we call a paste.
HTH,
Eric
At 12:00 1/12/2004, Wolfram Fischer wrote:
How can I get a multi line string from a vector of string tokens
in an easy manner (e.g
is to use all:
» all(sapply(ll,length)==length(ll[[1]]))
[1] FALSE
HTH,
Eric
At 09:09 9/12/2004, Manuel Gutierrez wrote:
I could not find any help pages on How to test many
objects for being of equal length
Something like identical for more than two objects?
x-1:6
y-1:10
z-3:5
## For two objects I
105 106 107 108 109 110 111
? formatC
HTH,
Eric
At 16:17 5/01/2005, Gregor GORJANC wrote:
Hello!
I am producing a set of images and I would like them to be sorted by names
I give. I was able to produce my names and add integer to them. That is
easy. But my problem lies in sort of file from
abilities in the development team.
Thanks for attention,
Happy R,
Eric
Eric Lecoutre
UCL / Institut de Statistique
Voie du Roman Pays, 20
1348 Louvain-la-Neuve
Belgium
tel: (+32)(0)10473050
[EMAIL PROTECTED]
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre
If the statistics are boring
to column by names:
M - as.data.frame(M)
M$~
Error: syntax error
M$~
[1] 0 1
(same problem if name contains any other operator or a space)
Eric
At 10:32 13/01/2005, Christoph Scherber wrote:
Dear Reinhold,
All entries are allowed except price swap or price_swap
Of course it´s most convenient
Hi,
I'm new to R and I would like to generate labels like data.frame does
: V1 V2 V3
I'm trying to generate a N vector with label such as Lab1 Lab2 ... LabN.
I guess this is pretty easy when you know R ;)
Thanks for help
Eric
__
R-help
and something like that:
dat[dat$ID == sample(unique(dat$ID), 3), 2] ?
I'm not sure about the ,2 maybe you need the full matrix ?
ps: first time, i forgot the list
__
R-help@stat.math.ethz.ch mailing list
it ?
Thanks a lot !
Eric
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
,sep=)
for (i in 1:nsimul){
###
simOut[i]- resultsofsimulation.i
###
}
Eric
At 11:22 8/02/2005, Ulrich Leopold wrote:
Dear list,
I would like to rename an object as follows:
SimLUall - matrix(c(0,1,0,0, 1,0,0,0, 0,0,1,0, 0,0,0,1),nrow=4, ncol=4)
j - 2
SimLUall2 - SimLUall and j
I guess Martin is struggling to have the most entries in the next version
of fortunes ;-)
Well... I hope so! Or we should really do something for new users - letting
any R core team member getting convulsive is dangerous for the futuRe.
Best wishes,
Eric
Pavel this is a question, how can i
seems promising with the Unicode support: kudo R core team!
Eric
At 08:23 15/02/2005, FISCHER, Matthew wrote:
Hi all,
Is it possible to add a permil (or per mille) symbol to
an R plot (I couldn't find this symbol under demo(Hershey) or
the plotmath information).
In some ascii tables
).
The result (the current gallery) is there. It is aimed to be something like
300 pixels large. At final step, graph would be clickable with a wizard.
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/R/svGraphGallery/dock/svGallery.html
Eric
At 08:46 21/02/2005, Robert Cunningham wrote:
I too have often
Hi, I have a set of twelve points and wonder how I can
get a function that can then be used to calculate the
area under the curve (most important). Thanks.
Eric
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Hi, I wonder if anyone has done this before. I have rpm-build
installed in my workstation. Thanks.
Eric
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org
Thank you all.
Best,
Eric
On Mar 10, 2005, at 7:21 AM, Marc Schwartz wrote:
On Wed, 2005-03-09 at 16:17 -0800, Eric Hu wrote:
Hi, I wonder if anyone has done this before. I have rpm-build
installed in my workstation. Thanks.
Eric
I have not seen any other replies to this, but as far as I know
of histograms (called histList)
Now, I would like to get the cumulative sum for the field $counts of each of
the element of histList using cumsum function.
Is that possible given the way I used or is there a simpler one ?
Thank you very much
Eric
--
Eric Pellegrini, PhD
Computer-Chemie-Centrum
]] - index[,3]
occurence
[,1] [,2]
[1,]30
[2,]00
Eric
Eric Lecoutre
UCL / Institut de Statistique
Voie du Roman Pays, 20
1348 Louvain-la-Neuve
Belgium
tel: (+32)(0)10473050
[EMAIL PROTECTED]
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre
If the statistics are boring, then you've
(an other model...)
1.419101 1.00 18.00
summary(model)$fstatistic
value numdf dendf
1.419101 1.00 18.00
summary(model)$fstatistic[[value]]
[1] 1.419101
HTH,
Eric
Eric Lecoutre
UCL / Institut de Statistique
Voie du Roman Pays, 20
1348 Louvain-la-Neuve
Belgium
tel
You can import the whole thing and use on it strsplit
?strsplit
Eric
Eric Lecoutre
UCL / Institut de Statistique
Voie du Roman Pays, 20
1348 Louvain-la-Neuve
Belgium
tel: (+32)(0)10473050
[EMAIL PROTECTED]
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre
If the statistics are boring
this problem in
2.3.0. Does anybody have any suggestions for things I can try to remedy
this problem?
Thanks very much,
Eric
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R
])
}
x[k] - which(y == 1)
}
L[i,m] - x[N+1]
}
}
its giving me the error:
Error in [-(`*tmp*`, k, value = integer(0)) :
nothing to replace with
no matter what I do I cant fix it ... any suggestions ?
Thanks
Eric Blabac
PhD
. Any and all suggestions are gladly welcomed.
Thanks in advance.
Cheers,
eric
---
Variables used :
'pop' - population i.d. , 'a1' 'a2' - alleles 1 and 2 at locus : all
character vectors of equal length (no NAs)
nvec - vector of number of individuals in population 'p'
a - allele for which 'p.a
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
--
Eric Archer, Ph.D.
NOAA-SWFSC
8604 La Jolla Shores Dr.
La Jolla, CA 92037
858-546-7121,7003(FAX)
[EMAIL
0 0 2 -455.23 2.84
1 0 0 1 -432.30 2.98
...
I would like to assign colors to the first three columns and plot the last
column against fourth column which is the sum of the first three at each
row. Can anyone point to me how to approach this? Thanks for your
suggestions.
Regards,
-Eric
to get an average single value for that range. What do you think? Thanks.
Eric
On 5/19/06, Jim Lemon [EMAIL PROTECTED] wrote:
Eric Hu wrote:
Hi, I am beginning to learn R and have a data table that I would like to
produce a microarray-like plot. The table looks like this:
3 0 0 3
List:
This package was described in R News of May 2006. However, I cannot
find it on CRAN mirrors, and use of RSiteSearch is unsatisfying. I am
likewise unable to find an email address for the maintainer of the
package. Thank you in advance for assistance.
--
Eric Rexstad
Research Unit
: Within
Df Sum Sq Mean Sq F value Pr(F)
Residuals 145 6422.044.3
My error message seems to come from the LAGOON/HABITAT, the Error is
computed.
Warning message: Error() model is singular in: aov(COVER ~ HABITAT +
Error(HABITAT+LAGOON+LAGOON/HABITAT), data=cov),
THANKS !!!
eric
, ylim, log, asp, ...) :
invalid 'ylim' value
Can anyone tell me what went wrong? Thanks.
Eric
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting
Thanks Jim. This seems to work for my case already.
Eric
On 6/13/06, Jim Lemon [EMAIL PROTECTED] wrote:
Eric Hu wrote:
Hi I am trying to plot two data set in the same picture window without
overlapping with each other. I am using the format plot(x1,y1,x2,y2)
but get the following error
thank you, Joerg. I am able to use points() to add the new data in the
current plot.
Eric
On 6/13/06, Joerg van den Hoff [EMAIL PROTECTED] wrote:
Eric Hu wrote:
Hi I am trying to plot two data set in the same picture window without
overlapping with each other. I am using the format plot(x1
like R CMD BATCH r.script name_variable.
Thanks.
-Eric
In the r.script I have
name - readline(/dev/stdin)
r0 - read.table(/usr/local/surface/$name/$name_c_r)
...
I want to get at the end:
name - 1BRS
r0 - read.table(/usr/local/surface/1BRS/1BRS_c_r
). However, it can
be done and it might be desirable to do so from a work-flow perspective.
-Eric
Greetings
Thomas Kaliwe
This email message, including any attachments, is for the so...{{dropped}}
__
R-help@stat.math.ethz.ch mailing list
https
Charles Annis, P.E. writes...
Eric:
I use R to quantify the efficacy of ultrasonic inspections of metal
components (e.g. looking for nonmetallic inclusions in forgings) and
use R
for image processing, but my methods have been rather a kluge. I am
interested in your R functions, if you
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Hi,
Is it possible that I could see some of your functions and/or results
of
those functions(Eric, Charles, Stephan). It's more about that I'd like
to see what already has been accomplished and the way that was chosen
thus circumventing
Nice. May I incorporate these into the collection I am packaging up for
redistribution?
-Eric
-Original Message-
From: Vincent Zoonekynd [mailto:[EMAIL PROTECTED]
Sent: Mon 1/30/2006 6:48 PM
To: R-help@stat.math.ethz.ch
Cc: [EMAIL PROTECTED]; Kort, Eric; [EMAIL PROTECTED]; Thomas
Unfortunately, I was not successful using match(). Previous postings
explain how to do similar matching, but for tables for same length,
specifically. Any thoughts ?
Thanks !
eric
Eric Pante
College of Charleston, Grice Marine Laboratory
duplicate
or copy. Perhaps it had another primary purpose, but this was a
side-effect or secondary capability. Was I hallucinating, or does this
exist as a function in base R? Or, will I have to make one with rep?
Thanks in advance!
e.
--
Eric Archer, Ph.D.
NOAA-SWFSC
8604 La Jolla Shores Dr
Dear listers,
a central problem in conservation biology is the selection of sites in
reserve network design.
many algorithms have been published, and I was wondering any have been
implemented in R.
I did not seen anything on CRAN or R-help, or on the web in general.
Best regards, Eric
Eric
The 2nd Edition of my book (with Jiahui Wang) Modeling Financial Time Series
with S-PLUS has recently been published by Springer-Verlag. The 2nd Edition
is updated to cover S-PLUS 7 and S+FinMetrics 2.0. I have also created a
website for the 2nd Edition, which can be found at
.
Cheers,
eric
Sample Data:
structure(list(FlightID = c(4497, 4498, 4499, 4500, 4501, 7083,
7084, 7085, 7086, 7087, 35208, 35209, 35210, 35212, 35213, 35214
), TailNo = structure(c(28, 28, 28, 28, 28, 49, 49, 49, 49, 49,
47, 47, 54, 47, 47, 15), .Label = c(12345, 133BW, 152GB,
172CM, 172RW, 1955L
Had I just looked at flight$year 2006, I would've seen what was up.
Thanks much Peter!
Cheers,
eric
P Ehlers wrote:
[snip]
flight$year 2006 will return TRUE/FALSE, not row numbers. Try this:
errors - subset(flight, subset = year 2006)
Peter Ehlers
--
Eric Archer, Ph.D.
NOAA
that I could think of, but didn't run across anything I
recognized as useful. Any pointers on how to accomplish this would be
greatly appreciated. Thanks in advance.
Cheers,
eric
--
Eric Archer, Ph.D.
NOAA-SWFSC
8604 La Jolla Shores Dr.
La Jolla, CA 92037
858-546-7121,7003(FAX)
[EMAIL PROTECTED
Deepayan,
Thanks much! That works perfectly!
Cheers,
eric
Deepayan Sarkar wrote:
On 4/14/06, Eric Archer [EMAIL PROTECTED] wrote:
Given the following data frame (freq.sp),
str(freq.sp)
`data.frame': 42 obs. of 4 variables:
$ behav : Factor w/ 6 levels approach,bowride,..: 1 1
Dear R-colleagues,
Is it possible to mix TEXT and VALUE of objects in y (or x) label of a plot?
For instance:
f-2
plot(..., ylab='Axis f', ...)
where f means the VALUE of f.
Thany you in advance,
Eric.
--
Barba
Departamento de Ciências Exatas
Universidade Federal de Lavras
Minas Gerais
Thak you very much indeed!
Eric.
On 4/20/06, Gabor Grothendieck [EMAIL PROTECTED] wrote:
Try paste:
paste(Axis, f)
On 4/20/06, Eric Ferreira [EMAIL PROTECTED] wrote:
Dear R-colleagues,
Is it possible to mix TEXT and VALUE of objects in y (or x) label of a
plot?
For instance
memory. I am turning and
turning round on help pages.
Eric
Eric Lecoutre
UCL / Institut de Statistique
Voie du Roman Pays, 20
1348 Louvain-la-Neuve
Belgium
tel: (+32)(0)10473050
[EMAIL PROTECTED]
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre
If the statistics are boring, then you've got the wrong
,]001
HTH,
Eric
At 12:23 27/05/2004, you wrote:
Dear R users;
I would like to convert a series of vectors to matrices in the following way;
(2,1,1) to a matrix
1 0 0
1 0 0
0 1 0
0 0 1
The idea is that the column sum of the matrix should be equal to the
elements of the vector.
Thanks
. See 'colnames'
or 'dimnames' for that.
Eric
At 16:19 27/05/2004, you wrote:
Hello,
Is there a way to extract multiple columns from a dataframe using their
names instead of their numbers?
Currently I use:
data2 - data1[, c(1,3,9)]
And I am looking for something like
data2 - data1[, c(XX,YY,ZZ)]
I use
Hi Robin
Have a look at:
help([)
The fact that dimensions are lost when extracting is a feature of the language.
What you need is the drop option.
a[1,,drop=FALSE]
A B C
a 1 4 7
Eric
At 10:09 11/06/2004, Robin Hankin wrote:
Hi
I want to extract rows of a matrix, and preserve rownames even
Hi,
Why not try with the data.frame structure, wich internally yet consists in
a list:
lapply(as.data.frame(m1),function(x) which(x==1))
$V1
[1] 8 9
$V2
[1] 9 10
[...]
Eric
At 12:53 23/06/2004, Andrew Beckerman wrote:
Hi -
platform powerpc-apple-darwin6.8
status
major1
minor9.0
year
)),
names=c(names1,names2))
data
genrenames
[1,] female a
[2,] female b
#[...] continued
split(data[,names],data[,genre])
$female
[1] a b c d e f g h i j
$male
[1] a b c d e f g h i j k l m n o p q
r s t
See ?split
Eric
At 11:16 25/06/2004, Dimitris Rizopoulos wrote:
Hi Robin
available. Does this mean 4 gigabytes is the absolute upper limit
of R's memory usage...or perhaps 8 gigabytes since you can set both the stack and the
heap size to 4 gigabytes?
Thanks,
Eric
This email message, including any attachments, is for the so...{{dropped
will recompile and try again.
Thanks,
Eric
From: Kort, Eric
Hello. By way of background, I am running out of memory when
attempting to normalize the data from 160 affymetrix
microarrays using justRMA (from the affy package). This is
despite making 6 gigabytes of swap space available on our
Yes, we are using the HGU-133plus2 chips with 50,000+ probes, and I suppose that the
memory requirements increase geometrically as the chip size increases.
Thanks for your email...I can let you know if we have any success if you are
interested for future reference.
-Eric
to compile a 64 bit R somewhere sometime soon.
Thanks,
Eric
-Original Message-
From: Paul Gilbert [mailto:[EMAIL PROTECTED]
Sent: Fri 7/2/2004 10:39 AM
To: Kort, Eric
Cc: Tae-Hoon Chung; [EMAIL PROTECTED]
Subject: Re: [R] Absolute ceiling
Hi Ben,
Always do consider that boolean vectors TRUE/FALSE are equivalent to
integers 1/0.
What you want is to know wether one element of a vector is TRUE, which is:
sum(vec)0
HTH,
Eric
At 18:38 5/08/2004, Ben Wittner wrote:
Is there some fast (built-in?) way to get the OR of all the elements
and full models. Where does ML get
involved in the calculations?
Thanks!
-Eric
---
Eric B. Peterson, Ph.D.
Vegetation Ecologist Lichenologist
Nevada Natural Heritage Program
and (adjunct) UNR Dept. NRES
[[alternative HTML version deleted
observation
This will allow you to specify the classes of the variables.
data.frame(list(x=1,y=character))[-1,]
[1] x y
0 rows (or 0-length row.names)
Eric
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
Well... did you look at the help page on factors???
Did you even make a search?
The answer is within your question:
levels(iris[,5])
[1] setosa versicolor virginica
Eric
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Muhammad Subianto
Hi,
I would like to break a dataset in n.classes quantiles.
Till now, I used the following code:
Classify.Quantile - function (dataset, nclasses = 10)
{
n.probs - seq(0,1,length=nclasses+1)
n.labels = paste(C, 1:nclasses-1, sep=)
n.rows - nrow(dataset)
n.cols -
passing Cruise through pred.var in the function call to x.var, but
I can't figure out how to properly correct it.
Thanks in advance for any pointers.
e.
--
Eric Archer, Ph.D.
NOAA-SWFSC
8604 La Jolla Shores Dr.
La Jolla, CA 92037
858-546-7121,7003(FAX)
[EMAIL PROTECTED]
Lighthouses are more
Well...
You just can't end vector declaration with a comma...
x - c(0,1,)
Error: syntax error
x - c(0,1)
Eric
Eric Lecoutre
UCL / Institut de Statistique
Voie du Roman Pays, 20
1348 Louvain-la-Neuve
Belgium
tel: (+32)(0)10473050
[EMAIL PROTECTED]
http://www.stat.ucl.ac.be/ISpersonnel
Hi
This is possbible to read AREMOS file with read.table function. The AREMOS
format come from DRI-WEFA and is uses with Eviews
Thanks
***
AVIS DE NON-RESPONSABILITE:\ Ce document transmis par
Hi
I try to read Aremos files but with any succes, could you help me please.
Thanks
Eric Dubé
Éric Dubé
Économiste / Economist
Groupe économie et stratégie (dép. 657) / Economic Strategy Team (Dept.
657)
Financière Banque Nationale / National Bank Financial
1155 Metcalfe 5e étage / 5th
You could also use:
names(rev(sort(table(x[1]
There is nonetheless a difference if there are several levels which
provides this maximum.
This method will only return one, yours would return all those levels
(which may not be desirable for some others processing).
HTH,
Eric
Eric Lecoutre
You can use ´expand.grid'
» expand.grid(x=seq(42.2,45.2,by=1),y=seq(50.5,51.5,by=1))
xy
1 42.2 50.5
2 43.2 50.5
3 44.2 50.5
4 45.2 50.5
5 42.2 51.5
6 43.2 51.5
7 44.2 51.5
8 45.2 51.5
Eric
Eric Lecoutre
UCL / Institut de Statistique
Voie du Roman Pays, 20
1348 Louvain-la-Neuve
You could use the benchmark created by Philippe Grosjean to compare
various statistical packages. You will find it at:
http://www.sciviews.org/benchmark/
Note that you have to ensure to have installed packages: Matrix and
SuppDist
HTH,
Eric
Eric Lecoutre
UCL / Institut de Statistique
Voie
1 - 100 of 211 matches
Mail list logo