[R] What method I should to use for these data?

2005-07-07 Thread luan_sheng
Dear R user: I am studying the allele data of two populations. the following is the data: a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 pop10.0217 0. 0.0109 0.0435 0.0435 0. 0.0109 0.0543

[R] What method I should to use for these data?

2005-07-07 Thread luan_sheng
Dear R user: I am studying the allele data of two populations. the following is the data: a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 pop10.0217 0. 0.0109 0.0435 0.0435 0. 0.0109 0.0543

[R] What method I should to use for these data?

2005-07-07 Thread luan_sheng
-Original Message- From: luan_sheng [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 9:46 PM To: (r-help@stat.math.ethz.ch) Cc: ([EMAIL PROTECTED]) Subject: What method I should to use for these data? Dear R user: I am studying the allele data of two populations. the following

[R] how to change the current directory to my folder.

2005-06-05 Thread luan_sheng
I want to th current folder is the specific folder when R start.It is very boring to modify the current directory manually. How can I do it? __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] Do some one give me several whole examples or papers for rmetasim package' using?

2005-06-02 Thread luan_sheng
Now I want to some simulation Impact of shrimp's releasing to genetic structure of wild population,i think rmetasim can help me finish this task. But on hand I have not the resource about it. Can anyone help me ? Thanks! luan_sheng __ R-help

Re: [R] A problem on sink() and format,suggestions appreciated

2005-06-01 Thread luan_sheng
Yong Wang : Dear R users I get a weired problem when use sink: since the data set pretty big, I sink intermediate result for further use,following lines are consistently used when write data ### sink(dataname.txt) data sink() ## at first

[R] Who can tell me some packages for population genetic structure's simulation?

2005-06-01 Thread luan_sheng
hi,everyone,I am beginner for R. I want to use R for simulating population genetic structrue of different generations. This thesis include alleles of 1-10 loci. Does a package like this exist? thanks for you. __ G

[R] FW: why is it numeric(0)?

2005-05-31 Thread luan_sheng
hello,everyone. I have one question: example 1 x=numeric(0) y=5 print(x+y) numeric(0) example 2 x=numeric(1) y=5 print(x+y) [1] 5 why the print(x+y) is numeric(0) at the first example, but the result is 0 at the second example? __

RE: [R] FW: why is it numeric(0)?

2005-05-31 Thread luan_sheng
01, 2005 6:27 AM To: luan_sheng Subject: Re: [R] FW: why is it numeric(0)? Have you read the help page for numeric (?numeric) to understand what it does? You should really look at help pages prior to posting. numeric(x) returns a numeric vector of length x, with all entries initialized to zero so

RE: [R] trouble with cumsum?

2005-05-29 Thread luan_sheng
R help document showed us that you should not use == for comparing objects, and you will use all.equal. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Makram Talih Sent: Monday, May 30, 2005 8:17 AM To: r-help@stat.math.ethz.ch Subject: [R] trouble with

[R] how to get this kind of binomial distribution simulation number?

2005-05-27 Thread luan_sheng
hai, I want to perform a simulation like this Suppose that I have one population ,it's size is 500, is composed of x,y and z. The probability of x, y and z is respectively is 0.3, 0.5, 0.2. I wan to simulate a new same size population based ratio of x, y and z, how can I get and assess the