get_fp_1o.Rd
First order fractional polynomial
get_fp_1o(x, params, exponents, sums = NULL)
A vector with the dependent variable.
A matrix with two columns giving the intercept and the "slope". If more than one rows given, the fractional polynomial is evaluated for each row.
A function. If non-null, sums of the fractional polynomial at each x value (i.e. summaries over the different params values) are calculated.
A numerical value giving the exponent (p1) of the polynomial.
A matrix with length(x) rows giving the FP values or FP summaries.