Rui Barradas wrote
>
> sorry about the misleading tip.
> This should do it.
>
> do.call(rbind, dep)
>
No problem at all.
That did the trick. Thank you both so much for your help. I am forever in
your debt.
--
View this message in context:
http://r.789695.n4.nabble.com/noob-requesting-help-
Rui Barradas wrote
>
> Try
>
> names(departures) <- NULL
> dep <- data.frame(departures[ !sapply(departures, is.null) ])
>
> You now have data.frame 'dep'.
>
dep <- data.frame(departures[ !sapply(departures, is.null) ])
Error in data.frame(`121.1` = list(device_info_serial = integer(0), hour
David Winsemius wrote
>
> That's going to remove a lot of rows.
>
> Since you are not telling us what columns correspond to those
> concepts, I'm going to use the terms you are. Something along the
> lines of:
>
> require(lattice)
> histogram( ~ hours | bird, data=dat2, nint =24 , xlim=c(0
Rui Barradas wrote
>
> It's stringsAsFactors = FALSE, just one '='.
>
> sapply(dat, length)
>
> It should return 4 times the value 34773.
>
> use dput()
>
it worked!
> dat2 <- data.frame(dat, stringsAsFactors = FALSE)
> sapply(dat2, length)
device_info_serial hour
David Winsemius wrote
>
>> Try
>>
>> dat2 <- data.frame(do.call(cbind, dat), stringsAsFactors=FALSE)
>
> Use instead:
>
> dat2 <- data.frame( dat, stringsAsFactors=FALSE)
>
Both do not seem to work:
> dat2 <- data.frame(do.call(cbind, dat), stringsAsFactors=FALSE)
Error: cannot allocate vect
Rui Barradas wrote
>
> Sorry, but the output of dput() starts with 'structure', not like what
> you've posted.
> And there are much more than 20 dates in the beginning.
>
> The posting guide is easy to find
>
apologies for my earlier ignorance.
It seems the output of dput(head(data, 20) is t
I'm fairly new to R and still learning how to use it. I could really use some
help with the following problem.
I have a huge .csv file containing thousands of measurements on 34 different
birds. Measurements include longitude, latitude, altitude, speed, time, etc.
All birds have a different number
7 matches
Mail list logo