Open csoneson opened 2 years ago
Currently plotVelocity will fail if there is no "velocity" assay in the input object, even if only phase plots are requested, due to https://github.com/kevinrue/velociraptor/blob/22bad4279df14561709f6c236567d68259f4ee76/R/plotVelocity.R#L118 It seems to me like this extraction could be moved further down, to where V is actually used.
plotVelocity
V
Currently
plotVelocity
will fail if there is no "velocity" assay in the input object, even if only phase plots are requested, due to https://github.com/kevinrue/velociraptor/blob/22bad4279df14561709f6c236567d68259f4ee76/R/plotVelocity.R#L118 It seems to me like this extraction could be moved further down, to whereV
is actually used.