computeIntercept: Computes the best intercept for the model while minimizing...

View source: R/global.lib.R

computeInterceptR Documentation

Computes the best intercept for the model while minimizing error

Description

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


predomics/predomicspkg documentation built on Dec. 11, 2024, 11:06 a.m.