hafen / hbgd

hbgd
http://HBGDki.github.io/hbgd/
MIT License
4 stars 10 forks source link

fit_all_trajectories does not pass checkpoints variable to function #10

Open hathawayj opened 8 years ago

hathawayj commented 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) })

hafen commented 8 years ago

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

hathawayj commented 8 years ago

should've checked that. Thanks for the response.