Learn R Programming

shapr (version 1.0.4)

aicc_full_single_cpp: Temp-function for computing the full AICc with several X's etc

Description

Temp-function for computing the full AICc with several X's etc

Usage

aicc_full_single_cpp(X, mcov, S_scale_dist, h, y)

Value

Scalar with the numeric value of the AICc formula.

Arguments

X

matrix.

mcov

matrix The covariance matrix of X.

S_scale_dist

logical. Indicating whether the Mahalanobis distance should be scaled with the number of variables

h

numeric specifying the scaling (sigma)

y

Vector Representing the (temporary) response variable

Author

Martin Jullum