linSolveX: Solve for X based on models parameters

Description Usage Arguments See Also Examples

View source: R/linSolveX.R

Description

Given some set of parameters specific to a particular model, solve for x.

Usage

1
linSolveX(y, a, b)

Arguments

y

value of a y-axis point (single point).

a

intercept value of for a simple linear model.

b

slope value of for a simple linear model.

See Also

linFit linFitPred

Examples

1
2
3
4
data(wolf)
wolf$Time <- wolf$Year - min(wolf$Year)
l <- linFit(wolf$Time, wolf$Number)
linSolveX(100, l$Intercept, l$Slope)

MichaelJMahometa/OnRampsR documentation built on Feb. 12, 2020, 12:31 a.m.