Re: [R] Sample without replacement

2004-09-22 Thread Peter Dalgaard
Mark G Orr <[EMAIL PROTECTED]> writes: > Hello, I have a simple problem (checked the archives and the > appropriate help pages, to no avail). I want to creat a vector that > is length(2000). The vector is to consist of two strings( "std" and > "dev") with 1760 "std"s and 240 "dev"s. Furthermore,

[R] Sample without replacement

2004-09-22 Thread Mark G Orr
Hello, I have a simple problem (checked the archives and the appropriate help pages, to no avail). I want to creat a vector that is length(2000). The vector is to consist of two strings( "std" and "dev") with 1760 "std"s and 240 "dev"s. Furthermore, for each element of the vector, i want the