Re: [R] off-topic: better OS for statistical computing

2007-09-10 Thread Weiwei Shi
tml > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch

[R] machine learning on ordered (ranked) feature

2007-09-10 Thread Weiwei Shi
Hi, there: just a little bit off-topic: any algorithm in classification is good for ordered features, like all variables used are 1, 2, 3,...; not really continuous but ordered. i tried random forest and dlda already. thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Di

[R] PCA IN R

2007-09-07 Thread Weiwei Shi
hi, A very quick search of PCA in R results in a lot of packages involving that function. Just wondering which one is generally used for "fat" data like microarray, esp. when the number of features is really big? Thanks for comments -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc.

[R] how to calculate mean into a list

2007-08-28 Thread Weiwei Shi
Dear Listers: I have this task and suppose a0 is a list of 10 data.frames, I want to calculate like this > (a0[[1]]+a0[[2]]+..+a[[10]])/10 Thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed

Re: [R] Is there any good tools to facilitate us to create R functions?

2007-08-17 Thread Weiwei Shi
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 > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did yo

Re: [R] finding the row(s) for a date in a data frame

2007-08-17 Thread Weiwei Shi
ing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always kn

Re: [R] Urgent Help needed

2007-08-16 Thread Weiwei Shi
: [EMAIL PROTECTED] > [EMAIL PROTECTED] > Office: 301C Payson Smith > > > __ > 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/pos

Re: [R] Formula in lm inside lapply

2007-08-15 Thread Weiwei Shi
Any help is greatly appreciated! > > Yan > > > This is not an offer (or solicitation of an offer) to buy/se...{{dropped}} > > __________ > R-help@stat.math.ethz.ch mailing list &g

[R] feature's contribution into classification

2007-08-13 Thread Weiwei Shi
sum is the discrimant result $x? -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/list

Re: [R] write.table

2007-08-10 Thread Weiwei Shi
From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Weiwei Shi > Sent: August 10, 2007 12:41 PM > To: r-help@stat.math.ethz.ch > Subject: [R] write.table > > > Hi, > > I am always with this qustion when I tried to write a data.frame with > row.names and col.n

[R] write.table

2007-08-10 Thread Weiwei Shi
that? thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] a question on lda{MASS}

2007-08-10 Thread Weiwei Shi
On 8/9/07, Weiwei Shi <[EMAIL PROTECTED]> wrote: > hi, > > assume > val is the test data while m is lda model value by using CV=F > > x = predict(m, val) > > val2 = val[, 1:(ncol(val)-1)] # the last column is class label > > # col is sample, row is variabl

[R] a question on lda{MASS}

2007-08-09 Thread Weiwei Shi
?) times val data and sum is the discrimant result $x? Thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch mailing list

Re: [R] clustering on Trinary data

2007-08-06 Thread Weiwei Shi
__ > 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 > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientis

Re: [R] apply a function to loop through

2007-07-17 Thread Weiwei Shi
a hand? > > Thanks a bunch. > > kevin > > ______ > 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 > and provide comm

[R] reinforce library to re-load

2007-07-03 Thread Weiwei Shi
t; Thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] dlda{supclust} 's output

2007-07-03 Thread Weiwei Shi
d contributions are most welcome. > > I'm sorry not to be able of more help, > > Marcel > > -- > Marcel Dettling > Phone: +41 79 489 72 04 > E-Mail: [EMAIL PROTECTED] > Web: http://stat.ethz.ch/~dettling > ---

Re: [R] Installing packages...

2007-07-03 Thread Weiwei Shi
IPTION' > > > > What am I doing wrong? > > Any help will be much appreciated. > > Nüzhet Dalfes > > Istanbul Tech. Univ. > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://w

Re: [R] running saved scripts

2007-06-27 Thread Weiwei Shi
___ > 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 > and provide commented, minimal, self-contained, reproducible code. > -- We

Re: [R] a string to enviroment or function

2007-06-25 Thread Weiwei Shi
r mylab as package instead of its value. On 6/25/07, jim holtman <[EMAIL PROTECTED]> wrote: > I think that you might want: > > t0 <- (paste("hgu133a", "ENTREZID", sep="")) > xx <- as.list(get(t0)) # make it work like xx<-as.list(hgu133aENTR

[R] a string to enviroment or function

2007-06-25 Thread Weiwei Shi
Hi, I am wondering how to make a function Fun to make the following work: t0 <- (paste("hgu133a", "ENTREZID", sep="")) xx <- as.list(Fun(t0)) # make it work like xx<-as.list(hgu133aENTREZID) thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. &qu

[R] how to plot this?

2007-06-25 Thread Weiwei Shi
plot) AND multiple 2-D plots. I am not familar with R's plotting utilities. Thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.m

Re: [R] how to ave this?

2007-06-22 Thread Weiwei Shi
one of my approaches is: x0 = sapply(mylist, cbind) and manipulate from x0 (x0[1:nrow(x0)/2, ] correponds to fc and the lower part is tt. but it is not neat way. On 6/22/07, Weiwei Shi <[EMAIL PROTECTED]> wrote: > Hi, > > I have a list that looks like this: > [[1]]

[R] how to ave this?

2007-06-22 Thread Weiwei Shi
how to "average" it so that I have one matrix t0 at the end, and t0[1,1] = (0.075..+0.0204..)/2 Thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III ___

Re: [R] merge

2007-06-20 Thread Weiwei Shi
g list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "

Re: [R] outlying

2007-06-19 Thread Weiwei Shi
g-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.ma

[R] source a specific function

2007-06-18 Thread Weiwei Shi
ge my workspace: i.e., I only change my workspace by adding one function from a R source file). Thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __

[R] simulate null hypothesis

2007-06-14 Thread Weiwei Shi
very sure if it is alll right. BTW, is there any general package or I just need "sample()" to do that? (just tried to make my question on-topic:) thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did no

Re: [R] pretty report

2007-06-13 Thread Weiwei Shi
I think my initial intention is to write multiple worksheets for multiple data frames. write.csv or write.table cannot do that. On 6/12/07, Robert A LaBudde <[EMAIL PROTECTED]> wrote: > At 09:13 PM 6/12/2007, Don wrote: > >At 5:01 PM -0400 6/12/07, Weiwei Shi wrote: &g

Re: [R] pretty report

2007-06-12 Thread Weiwei Shi
Just realized append=T might help for xtable, but I think it still not very "pretty" :) On 6/12/07, Weiwei Shi <[EMAIL PROTECTED]> wrote: > Dear Listers: > > I have a couple of data frames to report and each corresponds to > different condtions, e.g. condition

[R] pretty report

2007-06-12 Thread Weiwei Shi
g, I found R does not. So I am wondering if there is a package in R for generating good reports. I found package xtable but it seems (if not, please correct me) that it can only generate one table for one file. Thanks for any suggestions, -W -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc.

Re: [R] history in R.app on Mac

2007-06-11 Thread Weiwei Shi
on in the toolbar in R.app you will see > them. Or up and down arrows. > R.app implements some extra features, such as multiline command > retrieval. > > Through preference settings you can control if you want to see just a > single ls() or multiple, etc. > > Rob > > On Jun

[R] history in R.app on Mac

2007-06-11 Thread Weiwei Shi
-23) Thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEAS

Re: [R] data mining/text mining?

2007-06-08 Thread Weiwei Shi
47832 > > > [[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 > and provide comment

[R] what fun I need to put in this "tapply"

2007-05-14 Thread Weiwei Shi
unx I need to put into tapply(t1[,2], t1[,2] funx) to get that? If I use length, I probabaly need to do merge by myself. Is there a better way? thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed

Re: [R] save intermediate result

2007-05-04 Thread Weiwei Shi
blabla... } if some codes as followed have bugs, my f1 function cannot return anything, which means I have to re-run the time-consuming line again. thanks, Weiwei On 5/4/07, Joerg van den Hoff <[EMAIL PROTECTED]> wrote: > On Fri, May 04, 2007 at 03:45:10PM -0400, Weiwei Shi wrote: >

[R] save intermediate result

2007-05-04 Thread Weiwei Shi
hi, is there a way to save a R object into workspace instead of into a file during a running of function? thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III _

[R] dlda{supclust} 's output

2007-05-01 Thread Weiwei Shi
Hi, I am using dlda algorithm from supclust package and I am wondering if the output can be a continuous probability instead of discrete class label (zero or one) since it puts some restriction on convariance matrix, compared with lda, while the latter can. thanks, -- Weiwei Shi, Ph.D Research

Re: [R] Size of an object in workspace

2007-04-24 Thread Weiwei Shi
p@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 > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D R

Re: [R] intersect more than two sets

2007-04-24 Thread Weiwei Shi
lapply(1:10, function(i) sample(20, 15)) > > names(which(table(unlist(x))==10)) > [1] "14" > > (not that it's hard to turn that back into a number) > > Hadley > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "

Re: [R] intersect more than two sets

2007-04-24 Thread Weiwei Shi
assume t2 is a list of size 11 and each element is a vector of characters. the following codes can get what I wanted but I assume there might be a one-line code for that: t3 <- t2[[1]] for ( i in 2:11){ t3 <- intersect(t2[[i]], t3) } or there is no such "apply"? On 4/2

[R] intersect more than two sets

2007-04-24 Thread Weiwei Shi
Hi, I searched the archives and did not find a good solution to that. assume I have 10 sets and I want to have the common character elements of them. how could i do that? -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believe

Re: [R] Random Forest

2007-04-23 Thread Weiwei Shi
he posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III _

[R] simply this loop?

2007-04-20 Thread Weiwei Shi
col(y0[[j]]); lapply(1:n, function(i) y0[[j]][,i])}) Thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch mailing list htt

Re: [R] R-2.4.1 for MacOS X - languageR, acepack, Hmisc

2007-04-18 Thread Weiwei Shi
a Tagliapietra > > > [[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

Re: [R] Is this a bug?

2007-04-17 Thread Weiwei Shi
> .GlobalEnv, package:MASS, package:utils, package:stats, package:graphics, > package:grDevices, package:methods, Autoloads, package:base > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help &g

Re: [R] My First Function: cryptic error message

2007-04-16 Thread Weiwei Shi
t > Massachusetts General Hospital > Boston, MA 02114 > (617) 643-1432 > (303) 880-3109 > > > > > > The information transmitted in this electronic communication...{{dropped}} > > __ > R-help@stat.math.ethz.ch mailing

Re: [R] problems in loading MASS

2007-04-12 Thread Weiwei Shi
ages: > [1] "stats" "graphics" "grDevices" "utils" "datasets" > "methods" "base" > > > > Haris Skiadas > Department of Mathematics and Computer Science > Hanover College > > On Apr 12,

[R] problems in loading MASS

2007-04-12 Thread Weiwei Shi
dprep "4.5-18""1.0" > version _ platform i386-apple-darwin8.8.1 arch i386 os darwin8.8.1 system i386, darwin8.8.1 status major 2 minor 4.1 year 2006 month 12 day

Re: [R] how to reverse a list

2007-04-12 Thread Weiwei Shi
Thanks all of you! But my next question is, how to improve R programming skills? I never have time in improving it but I feel I need to. Regards, W On 4/11/07, Seth Falcon <[EMAIL PROTECTED]> wrote: > "Weiwei Shi" <[EMAIL PROTECTED]> writes: > > > I

Re: [R] how to reverse a list

2007-04-11 Thread Weiwei Shi
c" > d "1" "d" > > split(x[,2], x[,1]) > $`1` > a b d > "a" "b" "d" > > $`2` > c > "c" > > > > On 4/11/07, Weiwei Shi <[EMAIL PROTECTED]> wrote: > > Hi, there: > > >

Re: [R] how to reverse a list

2007-04-11 Thread Weiwei Shi
list <- list( ) for (i in 1:length(llid)) { each <- llid[i] probes <- d0[d0[,2]==each, 1] outlist <- c(outlist, list(probes)) } names(outlist) <- as.character(llid) outlist } On 4/11/07, Weiwei Shi <[EMAIL PROTECTED]> wrote: > Hi, there: > > I am

[R] how to reverse a list

2007-04-11 Thread Weiwei Shi
Hi, there: I am wondering if there is a quick way to "reverse" a list like this: t0 <- list(a=1, b=1, c=2, d=1) reverst t0 to t1 > t1 $`1` [1] "a" "b" "d" $`2` [1] "c" thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc

Re: [R] treenet

2007-04-03 Thread Weiwei Shi
ve 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 > and provide commented, minimal, self-contained, reproducible code. > -- Wei

Re: [R] help with RandomForest classwt option

2007-01-29 Thread Weiwei Shi
on results. However from > what I tried, they did not influence how the nodes are split. So I would go > further in the above 2 options. > > Thank you again! > > Betty > > > > > On 1/28/07, Weiwei Shi <[EMAIL PROTECTED]> wrote: > > Dear Betty:

Re: [R] help with RandomForest classwt option

2007-01-29 Thread Weiwei Shi
ks > plz? I haven't done this before. > > Yeah, cut off did change for the final classification results. However from > what I tried, they did not influence how the nodes are split. So I would go > further in the above 2 options. > > Thank you again! > > Betty > > >

Re: [R] nnet question

2007-01-28 Thread Weiwei Shi
relation coefficient for test using neural network: 0.39 > > __ > 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-pro

Re: [R] help with RandomForest classwt option

2007-01-28 Thread Weiwei Shi
ting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.et

Re: [R] unique/subset problem

2007-01-26 Thread Weiwei Shi
oh, i forgot, you can also convert factor into string like dataset$genome1 <- as.character(dataset$genome1) so you don't have to use as.numeric(dataset$score) if you use "as.is=T" when you read.table HTH, weiwei On 1/26/07, Weiwei Shi <[EMAIL PROTECTED]> wrote: >

Re: [R] unique/subset problem

2007-01-26 Thread Weiwei Shi
> > I think even a cursory look will tell us that there > are not as many unique genomes in the subset results. > (around 8/10). > However when I do > unique(levels(possible_relatives_subset$genome1)), I > get > > [1] "aero" "aful" "aquae&quo

Re: [R] Why do return or visible don´t return my obj ekt?

2007-01-26 Thread Weiwei Shi
; sequence <- list() > for (name in names(seq1)) # get names as indices > { > # concatenate sequences > sequence[[name]] <- c(seq1[[name]], seq2[[name]]) >

Re: [R] unique/subset problem

2007-01-26 Thread Weiwei Shi
reciated. > > Thanks > Lalitha > --- Weiwei Shi <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > Even you removed "many" genomes1 by setting score< > > -5; it is not > > necessary saying you changed the uniqueness. > > > > To check

Re: [R] enumerates all possible combinations

2007-01-26 Thread Weiwei Shi
h mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you alwa

Re: [R] unique/subset problem

2007-01-25 Thread Weiwei Shi
gt; > > > > TV dinner still cooling? > Check out "Tonight's Picks" on Yahoo! TV. > > __ > R-help@stat.math.ethz.ch mailing list > https

Re: [R] n step ahead forecasts

2007-01-24 Thread Weiwei Shi
leted]] > > __ > 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 > and provide commented, minimal, s

Re: [R] Cronbach's alpha

2007-01-24 Thread Weiwei Shi
pha <- function(columns){ > > k <- ncol(columns) > > colVars <- apply(columns, 2, var) > > total <- var(apply(columns, 1, sum)) > > a <- (total - sum(colVars)) / total * (k/(k-1)) > > a > > } > > > > da

[R] Cronbach's alpha

2007-01-24 Thread Weiwei Shi
previous question about how to evaluate the consistency of a set of variables and about the total correlation (my 2 cent to answer the question). Is there any function in R to do that? Thank you very much! -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" &quo

[R] total correlation

2007-01-23 Thread Weiwei Shi
s not only dealing with discrete but also with continuous ones, it will be great ! thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.m

Re: [R] Installing packages...

2007-01-23 Thread Weiwei Shi
p will be much appreciated. > > Nüzhet Dalfes > > Istanbul Tech. Univ. > > > __ > 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/pos

Re: [R] which classification package in R can assign sample weight?

2007-01-23 Thread Weiwei Shi
at the help pages for any of these? > > On Tue, 23 Jan 2007, Weiwei Shi wrote: > > > Hi, > > > > I am looking for some function implemented in R for classification, > > which has an option to allow me to assign sample weights in learning > > process?

[R] which classification package in R can assign sample weight?

2007-01-23 Thread Weiwei Shi
Hi, I am looking for some function implemented in R for classification, which has an option to allow me to assign sample weights in learning process? Implementation of a wrapper function is possible but I am curious if it already exists somewhere. Thanks, -- Weiwei Shi, Ph.D Research Scientist

Re: [R] logistic regression model + Cross-Validation

2007-01-22 Thread Weiwei Shi
ation methods > > for binary logistic models. > > > > Frank > > -- > > Frank E Harrell Jr Professor and Chair School of Medicine > > Department of Biostatistics Vanderbilt University > > > > [[alternative HTML ve

Re: [R] naive bayes help

2007-01-19 Thread Weiwei Shi
on 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 > and provide commented, minimal, self-contai

Re: [R] Help on variable ranking

2007-01-17 Thread Weiwei Shi
tml > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.c

Re: [R] number of Nodes in Random Forest

2007-01-16 Thread Weiwei Shi
___ > 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 > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist

Re: [R] creating a list of lists

2007-01-07 Thread Weiwei Shi
listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..."

Re: [R] memory limits in R loading a dataset and using the package tree

2007-01-05 Thread Weiwei Shi
on and suggestion, considering that I could improve (in > memory) my computer. > > pestalozzi > > [[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

Re: [R] randomForest and missing data

2007-01-04 Thread Weiwei Shi
ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I beli

Re: [R] CV by rpart/mvpart

2006-12-28 Thread Weiwei Shi
t.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 > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist

Re: [R] sapply problem

2006-12-14 Thread Weiwei Shi
> 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 > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneG

Re: [R] implementation of t.test

2006-12-12 Thread Weiwei Shi
I think what i want is code in C or Java. But thanks though. On 12/11/06, Charles C. Berry <[EMAIL PROTECTED]> wrote: > On Mon, 11 Dec 2006, Weiwei Shi wrote: > > > Hi, there: > > > > for some reason, I need to look at t.test at coding level. Can anyone > >

[R] implementation of t.test

2006-12-11 Thread Weiwei Shi
Hi, there: for some reason, I need to look at t.test at coding level. Can anyone here suggest a place to start with? thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed...

Re: [R] X-fold cross validation function for discriminant analysis

2006-11-16 Thread Weiwei Shi
posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III ___

[R] how to check a R object's property

2006-11-14 Thread Weiwei Shi
. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the postin

Re: [R] predict.lda is missing ?

2006-11-10 Thread Weiwei Shi
ng I'd be grateful. > thanks > > __ > 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 > and provi

[R] history in Mac

2006-11-10 Thread Weiwei Shi
oblem) but found sooo many bugs with it... -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mai

Re: [R] [BioC] colnames and get means for the columns with the "same" names

2006-11-06 Thread Weiwei Shi
n. Also, if you search the > archive a bit, I know this question has come up before. > > Sean > > > > -Original Message- > From: Weiwei Shi [mailto:[EMAIL PROTECTED] > Sent: Mon 11/6/2006 4:53 PM > To: r-help > Cc: bioconductor > Subject: [BioC] col

[R] colnames and get means for the columns with the "same" names

2006-11-06 Thread Weiwei Shi
ckage. thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] margins in heatmap.2 and fond size for x-axis

2006-10-31 Thread Weiwei Shi
ssage: calling par(new=) with no plot The reason I need a large margin is my xaxis font is too long, like "ng_sodium_transport". I googled the r-help and found there is no way to make it smaller since I am using the smallest = 1. Is there other way around? Thanks -- Weiwe

[R] how to plot a data.frame?

2006-10-30 Thread Weiwei Shi
hi, i have a data frame like this: 0.3 0.7 0.4 0.8 i am trying to plot this data frame and each cell is filled with different colors based on the value. Is there a function which can do this? thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" &quo

[R] gui for R

2006-10-30 Thread Weiwei Shi
Hi, I met with many bugs when I used JGR and am looking for some other GUI's for Mac. I found SciViews-R by googling but it is only for windows to my best knowledge. Is there any other good gui like that, usable for Mac? Thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. &qu

[R] write a help file for my own function

2006-10-25 Thread Weiwei Shi
Hi, I am wondering how I can write a help page for my own function so when I type ?myOwnfunc, then the help page will show up? thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed...

Re: [R] how to improve the efficiency of the following lapply codes

2006-10-25 Thread Weiwei Shi
_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.60GHz stepping: 3 cpu MHz : 3591.419 cache size : 2048 KB thanks. On 10/25/06, Weiwei Shi <[EMAIL PROTECTED]> wrote: > Hi, > I have a series of lda analysis usin

[R] how to improve the efficiency of the following lapply codes

2006-10-25 Thread Weiwei Shi
nfo is needed, I will provide. thanks -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] multiple consoles for R?

2006-10-24 Thread Weiwei Shi
6.1 status major 2 minor 3.1 year 2006 month 06 day01 svn rev38247 language R version.string Version 2.3.1 (2006-06-01) thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did n

Re: [R] Progress Monitor in R

2006-10-24 Thread Weiwei Shi
_ > 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 > and provide commented, minimal, self-contained, reproducible code. > -

[R] lda

2006-10-20 Thread Weiwei Shi
hi, i am wondering if i could use lda$scaling (i.e. coeff) to evaluate variables' importance if all the x's are normalized before put into model? thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I b

Re: [R] pass additional parameters to function

2006-10-19 Thread Weiwei Shi
thanks a lot! On 10/19/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > f <- function(f1, ...) { > args <- list(...) > lapply(args, print) > f1(...) > } > f(sin, pi) > > > On 10/19/06, Weiwei Shi <[EMAIL PROTECTED]> wrote: > > how do i as

Re: [R] pass additional parameters to function

2006-10-19 Thread Weiwei Shi
how do i assign "1" or "2" to some destination variable? i mean, how do i use something to represent ... in the defn. of f? On 10/19/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Try this: > > f <- function(f1, ...) f1(...) > f(sin, 1) > f(max,

[R] pass additional parameters to function

2006-10-19 Thread Weiwei Shi
mes with different number of parameters? thanks. -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/

  1   2   3   >