Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

25 results for “from:xin wei”

help with reshape is needed again!
xin wei · Jun 18, 2010 · r-help

thank you very much for such a thorough solution! -- View this message in context: http://r.789695.n4.nabble.com/help-with-reshape-is-needed-again-tp2260640p2260943.html Sent from the R help mailing list archive at Nabble.com.

how to generate a random data from a empirical distribition
xin wei · Jul 27, 2010 · r-help

this is very insightful. sounds exactly like what I want to do. thanks. Frank. -- View this message in context: http://r.789695.n4.nabble.com/how-to-generate-a-random-data-from-a-empirical-distribition-tp2302716p2304346.html Sent from the...

statistical model with censored independent variable
xin wei · Jun 12, 2011 · r-help

hello: Does anyone know any R function which handles statisitcal model when the independent variable is censored? I know survival package does the analysis for censored dependnent variable. thanks -- View this message in context: http://r.789695.n4.nabble.com...

how to generate a random data from a empirical distribition
xin wei · Jul 27, 2010 · r-help

good point. It seems to be important to investigate the nature of distribution. I might be too naive to assume that a "empirical probability distribution" would be automatically generated from a cloud of data points..... -- View this message in context...

how to generate a random data from a empirical distribition
xin wei · Jul 27, 2010 · r-help

hi, Dennis: points well taken. it seems to be important to investigate the nature of distribution. I may be too naive to assume a "empirical probability distribution" would be computed from a could of data points.... -- View this message in...

how to make R plot under Linux
xin wei · Feb 23, 2010 · r-help

thank you all your guys. You all show a great deal of tolerance on my ignorance. I installed reflection X on windows and problems solved! BTW, I am not with school anymore unfortunately and none of my local colleagues use...

how to generate a random data from a empirical distribition
xin wei · Jul 28, 2010 · r-help

hi, Frank: how can we make sure the randomly sampled data follow the same distribution as the original dataset? i assume each data point has the same prabability to be selected in a simple random sampling scheme. thanks -- View this...

how to make R plot under Linux
xin wei · Feb 22, 2010 · r-help

hi, Kevin and K.Elo: thank you for the suggestion. Can you be more specific on these? (like how exactly get into x-switch or man ssh). I am totally ignorant about linux and SSH....:( Memory limitation forces me to...

a question on sqldf's handling of missing value and factor
xin wei · Mar 2, 2011 · r-help

I am sorry for posting the wrong source file. the correct source file is as follows: a b c aa 23 aaa 34.6 aaaa 77.8 They are tab delimited but somehow could not be displayed correctly in browser...

how to add row index based a categorical column
xin wei · May 31, 2011 · r-help

thank you everyone. how can I not be aware of the existence of ave()? I try the following: tapply(data$value, data$level, rank). However, I have a very difficult time merging the resulting rank variable back to the original...

help with reshape is needed again!
xin wei · Jun 18, 2010 · r-help

hi, folks: i need to transpose the following data: gene tissue patient1 patient2 patient3..... --------------------------------------------- gene1 breast 10 100 1 gene2 breast 20 200 4 gene3 breast 30 50 5 gene4 breast 40 400 9 ................................ to the following format: patientID gene1...

how to make R plot under Linux
xin wei · Feb 22, 2010 · r-help

thank you for reply. I just type: hist(x) from SSH terminal, expecting a histogram to pop up like what i got under windows.....instead I got the following error msg: Error in X11(d$display, d$width, d$height...

a question on sqldf's handling of missing value and factor
xin wei · Mar 16, 2011 · r-help

Dear Gabor: I did not have time to look at this issue these few days. Now I saw your investigation. I am very grateful that you quickly identify the root cause of this. It seems that a little caution needs...

how to make R plot under Linux
xin wei · Feb 22, 2010 · r-help

hi, Guys: thank you so much for all the suggestion. Now I seem to be able to set up x11 forwarding in PUTTY. however, I still could not get plot and I get the following error msg: Error in function...

how to generate a random data from a empirical distribition
xin wei · Jul 26, 2010 · r-help

hi, this is more a statistical question than a R question. but I do want to know how to implement this in R. I have 10,000 data points. Is there any way to generate a empirical probablity distribution from...

help for reshape function
xin wei · Jun 17, 2010 · r-help

I am afraid that your solution is not solving the problem. it seems that timevar="gene" just create the followings: GENE SAMPLE value id 1.1 1 Kidney 3.69351 1 2.1 1 Kidney 5.42710 2 3.1...

how to add row index based a categorical column
xin wei · May 27, 2011 · r-help

hello, I have the following data manipulation issue. the following is the sample data: value level 4 A 5 A 2 A 10 B 9 B 34 B 100 C 34 C 101 C. I hope to get the following...

a question on sqldf's handling of missing value and factor
xin wei · Mar 1, 2011 · r-help

Dear subscribers: I am using the following code to read a large number of big text files: library(sqldf) tempd <- file(XXXX) tempdx <- sqldf("select * from tempd", dbname = tempfile(), file.format = list(header = T, sep="\t", row.names = F)) The...

how to put barchart and line chart in the same plot in ggplot2
xin wei · Aug 4, 2012 · r-help

dear userR: I am trying to plot two dependent variables in the same plot in ggplot2. because these two variables have very different magnitude, I have to use a second Y axis. I hope one variable to be line and...

what the problem could be if i am suddenly unable to add abline to the scatter plot?
xin wei · May 12, 2010 · r-help

I am doing very regular stuff like the following: attach(wtana) fm<- lm(Body.Wt.on.SD1~Heart.Wt, data=wtana) #fm<- lm(wtana$Body.Wt.on.SD1~wtana$Heart.Wt) lrf<- loess(Body.Wt.on.SD1~Heart.Wt, wtana...

Can't find what you're looking for? Try searching with Google .