Learn R Programming

cycleRtools (version 1.0.0)

CP_model_inv: Inverse critical power modelling.

Description

Generate critical power parameters via a linearised inverse time model. Mainly useful when the length of inputs is <= 2,="" making="" nls inappropriate.

Usage

CP_model_inv(P, tsec)

Arguments

P
numeric; maximal mean power values for time periods given in the tsec argument.
tsec
numeric; time values (seconds) that correspond to elements in P.

Value

  • a named vector of parameters (CP and W').