| # this example uses internal functions since there are no user functions yet to do this | |
| library(moveVis) | |
| data("move_data") | |
| m <- align_move(move_data, res = 4, unit = "mins") | |
| # m must be aligned, check (returns an error, if m is not aligned, does nothing, if m is aligned) | |
| moveVis:::.time_conform(m) | |
| # if you are certain, m is the same variable you used with frames_spatial, you can remove line 9 | |
| # make some frames | |
| frames <- frames_spatial(m, equidistant = F) | |
| # covnert m to df with frame numbering per coordinate corrsponding to frames | |
| frames.df <- moveVis:::.m2df(m) # (use the same m as you used with frames_spatial) |