Skip to contents

Removes poorly fitted trajectories based upon a predefined cutoff. For each optimised trajectory this calculates the least squares error from the observed data, then scales those errors so that the error for estimating 0's is 1 then rejects any trajectories with an error higher than the p_error value.

Usage

trim_rt_optimise(out, p_error)

Arguments

out

An object of type rt_optimised.

p_error

Cutoff value, see description.

Value

An object of type rt_optimised_trimmed, (model type).