Frank Duan
2005-Apr-15 18:30 UTC
[R] How to create a vector with "one", "two", "three", ...?
Hi R people, I met a naive prolem. Could anyone give me a hint how to create such a vector with entries: "one", "two", "three", ...? I must have seen this problem somewhere else but I can't find that source now. Sorry to bother you with such a simple problem. Many thanks, Frank
Federico Calboli
2005-Apr-15 18:41 UTC
[R] How to create a vector with "one", "two", "three", ...?
On Fri, 2005-04-15 at 14:30 -0400, Frank Duan wrote:> Hi R people, > > I met a naive prolem. Could anyone give me a hint how to create such a > vector with entries: "one", "two", "three", ...?rvect <- c("one", "two", "three") rvect [1] "one" "two" "three" Is it what you want? F -- Federico C. F. Calboli Department of Epidemiology and Public Health Imperial College, St Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 7594 1602 Fax (+44) 020 7594 3193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com