Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revive sepIdGaps #7

Open
mdsumner opened this issue May 5, 2016 · 0 comments
Open

revive sepIdGaps #7

mdsumner opened this issue May 5, 2016 · 0 comments

Comments

@mdsumner
Copy link
Member

mdsumner commented May 5, 2016

and add gantt charts:

## automated way to split on long time gaps
sp_id <- sepIdGaps(loc1$sp_id, ptr$gmt)


## Gantt chart
ntrips <- nlevels(factor(ptr$sp_id))
plot(range(ptr$gmt), c(1, ntrips), type = "n")
spl <- split(ptr, ptr$sp_id)
srt <- order(unlist(lapply(spl, function(x) min(x$gmt))), decreasing = TRUE)
spl <- spl[srt]
lapply(seq_along(spl), function(i) lines(data.frame(range(spl[[i]]$gmt), c(i, i))))
@mdsumner mdsumner added this to the 1.5.0 milestone Aug 9, 2016
@mdsumner mdsumner modified the milestones: 1.5.0, next-release Apr 3, 2019
@mdsumner mdsumner changed the title revive spIdGaps revive sepIdGaps Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant