Open hathawayj opened 8 years ago
It appears that the function tras_dat is missing it. That was the one I needed, however xg and z_bins may need to be passed as well.
trans_dat <- dat %>% addTransform(function(k, x) { fit_trajectory(datadr::flatten(x), fit,checkpoints=checkpoints) })
Good call - you must have an old version since this is fixed in the current version: https://github.com/hafen/hbgd/blob/master/R/analysis_fit_traj.R#L239-L241
should've checked that. Thanks for the response.
It appears that the function tras_dat is missing it. That was the one I needed, however xg and z_bins may need to be passed as well.
trans_dat <- dat %>% addTransform(function(k, x) { fit_trajectory(datadr::flatten(x), fit,checkpoints=checkpoints) })