mt_space_normalize(data, use = "trajectories", save_as = "sn_trajectories", dimensions = c("xpos", "ypos"), start = c(0, 0), end = NULL, verbose = FALSE, xpos_start = NULL, xpos_end = NULL, ypos_start = NULL, ypos_end = NULL, show_progress = NULL)use will be ignored).NULL, trajectories are only adjusted so that they have the same
start position.start instead.end instead.start instead.end instead.verbose instead.sn_trajectories) containing the
space-normalized trajectories. All other trajectory dimensions not
specified in dimensions (e.g., timestamps) will be kept as is in the
resulting trajectory array. If a trajectory array was provided directly as
data, only the space-normalized trajectories will be returned.
mt_remap_symmetric for remapping trajectories.
mt_example <- mt_space_normalize(mt_example,
save_as ="sn_trajectories",
start=c(0,0), end=c(-1,1))
Run the code above in your browser using DataLab