predictBL {BLA}R Documentation

Predict boundary response

Description

This function predicts the most efficient response at a level of factor, x, given the parameters of the fitted boundary line.

Usage

predictBL(object, x)

Arguments

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.

Value

A vector predicted value of response.

Author(s)

Chawezi Miti <chawezi.miti@nottingham.ac.uk>

Examples


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



[Package BLA version 1.0.1 Index]