Displaying 3 results from an estimated 3 matches for "na4".
Did you mean:
a4
2010 May 05
3
concatenate values of two columns
...3 2
4 3
5 4
6 4
I try with paste but what I obtain is:
X VAR3
1 NA2
2 1NA
3 2NA
4 NA3
5 NA4
6 4NA
Thanks a lot!!
[[alternative HTML version deleted]]
2002 Apr 30
3
rbind'ing empty rows in dataframes in 1.4.1 versus 1.5.0
Hi,
In 1.4.1, I was able to create extra "empty" rows in a dataframe as so:
> x <- data.frame(a = letters[1:3], b = 1:3)
> x
a b
1 a 1
2 b 2
3 c 3
> x[4,]
a b
NA NA NA
> rbind(x, x[4,])
a b
1 a 1
2 b 2
3 c 3
NA NA NA
> R.version
_
platform sparc-sun-solaris2.6
arch sparc
os solaris2.6
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...3 2
4 3
5 4
6 4
I try with paste but what I obtain is:
X VAR3
1 NA2
2 1NA
3 2NA
4 NA3
5 NA4
6 4NA
Thanks a lot!!
[[alternative HTML version deleted]]
------------------------------
Message: 142
Date: Wed, 05 May 2010 11:47:32 +0200
From: Alex van der Spek <doorz at xs4all.nl>
To: r-help at r-project.org
Subject: [R] Memory issue
Message-ID: <4BE13EB4.8...