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,markandr, as, e.g., themetr.marksdata 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 shaftRand oscillation amplitudeA, as, e.g., themetr.paramsdata set.- by
variable to group by; e.g., the metronome model, to fit several metronomes.
- .fit
output from
metr_fit.