Re: [R] generate bi-variate normal data

2006-07-05 Thread Shin, David
ginal Message- From: Liaw, Andy [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 11:50 AM To: Shin, David; 'r-help@stat.math.ethz.ch' Subject: RE: [R] generate bi-variate normal data From: Shin, David > > Dear all, > > I would like to generate bi-variate normal

Re: [R] generate bi-variate normal data

2006-07-05 Thread Shin, David
Mark, Thanks. I am still waiting for someone to help me with this matter. I will appreciate for any insight from you or the others. Thanks. David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, July 01, 2006 12:27 AM To: Shin, David Cc: r-help

[R] generate bi-variate normal data

2006-06-30 Thread Shin, David
Dear all, I would like to generate bi-variate normal data given that the first column of the data is known. for example: I first generate a set of data using the command, x <- rmvnorm(10, c(0, 0), matrix(c(1, 0, 0, 1), 2)) then I would like to sum up the two columns of x: x.sum <- apply(x, 1, su

[R] summary: Call SAS from R

2005-08-24 Thread Shin, David
D] On Behalf Of Prof Brian Ripley Sent: Wednesday, August 24, 2005 12:33 PM To: r-help@stat.math.ethz.ch Subject: Re: [R] Call SAS from R Date: Wed, 24 Aug 2005 18:05:44 +0100 (BST) From: Prof Brian Ripley <[EMAIL PROTECTED]> To: David Forrest <[EMAIL PROTECTED]> Cc: "Shin, Da

Re: [R] Call SAS from R

2005-08-24 Thread Shin, David
as institute\\v8\\sas.exe test" in dos environment, it didn't work, either. I will appreciate very much if someone can help a bit. Thanks. David -Original Message- From: Don MacQueen [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 11:38 AM To: Shin, David; r-help@sta

Re: [R] Call SAS from R

2005-08-24 Thread Shin, David
Thanks for some kind responses from the list. Maybe I should present my data here a little bit to explain why I want to use SAS. Below is part of my data set. First, I need to skip the first 9 lines which I can use skip=9 to do this. Second, I need to read to rows of data. the first row starts w

[R] Call SAS from R

2005-08-24 Thread Shin, David
Hi All, I am new to post question on this list. I apologize if this question is too easy or irrelevant. I am doing a simulation study and I need to read a data file that can be easily read by SAS. So, what I try to do is to execute SAS in R and then read the output of SAS to R. I try the followi

[R] output data in a fixed format

2005-01-21 Thread Shin, David
Dear List, I would like to write my output data to a file with the fixed format like what you can do in SAS. For example: put @1( variable1 ) (10.5) @11 ( variable 2) ($5.) : : etc. Is there a way in "R" that would allow me to do the same thing? Thank you for your a