Fit metronome's nondimensionalized masses, M.
and m.
(see
metr_model
), from a set of measurements and parameters.
Arguments
- .data
measurements of distance to the shaft for each metronome mark. It must contain the variables
model
,mark
andr
, as, e.g., themetr.marks
data set.- params
the rest of the dimensions: correction of the center of mass of the upper mass
rcm
, length of the rod above the shaftl
, length of the rod below the shaftL
, distance of the lower mass to the shaftR
and oscillation amplitudeA
, as, e.g., themetr.params
data set.- by
variable to group by; e.g., the metronome model, to fit several metronomes.
- .fit
output from
metr_fit
.