Hi:
Here are two ways you could do this, one using dcast() and one using xtabs():
batdat <- structure(list(Time = structure(c(1L, 1L, 1L, 1L, 2L, 2L, 2L,
2L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 5L, 5L, 5L, 5L, 6L, 6L, 6L,
6L), .Label = c("0:00", "0:15", "0:30", "0:45", "1:00", "1:15"
), class = "fact
Hi Hadley et all,
I am struggling with reshape2 and melt works and melt_check
(filtered151) seems fine
My cast command was acast (filtered151, Time ~ Species ~ Number)
> melt_check (filtered151)
Using time, Species as id variables
$id
[1] "time""Species"
$measure
[1] "Number"
When I exec
2 matches
Mail list logo