Behalf Of Ferry
Sent: Wednesday, 18 March 2009 9:29 AM
To: r-help@r-project.org
Subject: [R] converting null to some values
Hi,
I have newbie question. Suppose I have the following data:
temp <- data.frame(type1 = c("male", "female", "male", "female", "
Sorry, the data is:
temp <- data.frame(type1 = c("male", "female", "male", "female", "female"),
type2 = c("low", "med", "high", "low", "med"), a = c(1,2,4, NA, 3), b =
c(5,NA,5,1,2), c = c(0,0,1,1,NA))
On Tue, Mar 17, 2009 at 4:28 PM, Ferry wrote:
> Hi,
>
> I have newbie question. Suppose I hav
Hi,
I have newbie question. Suppose I have the following data:
temp <- data.frame(type1 = c("male", "female", "male", "female", "female"),
type2 = c("low", "med", "high", "low", "med"), a = c(1,2,4, NA, 3), b =
[TRUNCATED]
temp
type1 type2 a b c
1 male low 1 5 0
2 female med
3 matches
Mail list logo