Dear r-helpers,
Could you please tell me what's missing:
rbind(paste('txt.est',1:24, sep = ''))
txt.est1, ... txt.est24 are vectors that I wish to rbind.
_
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400
Woburn, MA 01801
Tel: 781-938-3830
www.nuverabio.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Kubovy
Sent: Saturday, March 03, 2007 2:30 PM
To: r-help@stat.math.ethz.ch list
Subject: [R] Help with paste()
Dear r-helpers
On Mar 3, 2007, at 2:29 PM, Michael Kubovy wrote:
Dear r-helpers,
Could you please tell me what's missing:
rbind(paste('txt.est',1:24, sep = ''))
txt.est1, ... txt.est24 are vectors that I wish to rbind.
the paste call just returns a vector of the strings txt.est1 and so
on. Then you
On Sat, 2007-03-03 at 14:29 -0500, Michael Kubovy wrote:
Dear r-helpers,
Could you please tell me what's missing:
rbind(paste('txt.est',1:24, sep = ''))
txt.est1, ... txt.est24 are vectors that I wish to rbind.
Micheal,
Try this, presuming that each vector is the same length:
# Create
Hello All:
Suppose the following little data frame:
x - data.frame(dog = c(3,4,6,2,8), cat = c(8,2,3,6,1))
x$cat
[1] 8 2 3 6 1
How can I get the paste() function to do the same thing. The command
below is obviously wrong
paste(x, cat, sep = $)
Thanks,
ANDREW
Do you mean something like:
paste(x$cat, collapse= )
[1] 8 2 3 6 1
??
Andy
From: Andrew Criswell
Hello All:
Suppose the following little data frame:
x - data.frame(dog = c(3,4,6,2,8), cat = c(8,2,3,6,1))
x$cat
[1] 8 2 3 6 1
How can I get the paste() function to do the
On Mon, 12 Jul 2004 13:16:06 +0700, Andrew Criswell
[EMAIL PROTECTED] wrote :
Hello All:
Suppose the following little data frame:
x - data.frame(dog = c(3,4,6,2,8), cat = c(8,2,3,6,1))
x$cat
[1] 8 2 3 6 1
How can I get the paste() function to do the same thing. The command
below is
Andrew Criswell wrote:
Suppose the following little data frame:
x - data.frame(dog = c(3,4,6,2,8), cat = c(8,2,3,6,1))
x$cat
[1] 8 2 3 6 1
How can I get the paste() function to do the same thing. The command
^^
On Mon, 2004-07-12 at 01:16, Andrew Criswell wrote:
Hello All:
Suppose the following little data frame:
x - data.frame(dog = c(3,4,6,2,8), cat = c(8,2,3,6,1))
x$cat
[1] 8 2 3 6 1
How can I get the paste() function to do the same thing. The command
below is obviously wrong
Now that I see Duncan's reply, I believe that's what Andrew wanted. I
really should read messages more carefully...
Andy
From: Liaw, Andy
Do you mean something like:
paste(x$cat, collapse= )
[1] 8 2 3 6 1
??
Andy
From: Andrew Criswell
Hello All:
Suppose the
Marc Schwartz wrote:
On Mon, 2004-07-12 at 01:16, Andrew Criswell wrote:
Hello All:
Suppose the following little data frame:
x - data.frame(dog = c(3,4,6,2,8), cat = c(8,2,3,6,1))
x$cat
[1] 8 2 3 6 1
How can I get the paste() function to do the same thing. The command
below is obviously wrong
11 matches
Mail list logo