Skip to contents

Computes the best intercept for the model

Usage

computeIntercept(score, y, verbose = FALSE, sign = "auto", plot = FALSE)

Arguments

score:

the ^y score of the model

y:

the response vector

verbose:

print running information when set to TRUE

sign:

weather the score should be greater or smaller than the intercept (default:"auto")

return.all:

if TRUE, the function will return the intercept as well as the table used to compute it.

plot:

if TRUE, the score will be visialized (default:FALSE)

Value

the intercept, the sign and the accuracy