Predict boundary response
This function predicts the most efficient response at a level of factor, x
, given the parameters of the fitted boundary line.
predictBL(object, x)
object
: An output in form of a list from the boundary line fitting using the blqr()
, blbin()
, bolides()
or cbvn()
functions.x
: A numeric vector of values for the factor with which response is to be predicted.A vector predicted value of response.
x<-evapotranspiration$`ET(mm)` y<-evapotranspiration$`yield(t/ha)` z<-bolides(x,y, start = c(0.5,0.02), model= "blm", xmax = 350) Results<-predictBL(z,x) head(Results) # prediction for first 6 lines
Chawezi Miti chawezi.miti@nottingham.ac.uk