Learn R Programming

shapr (version 0.1.3)

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)

Arguments

X

matrix with "covariates"

mcov

covariance matrix

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 with the "response variable"

Value

Scalar with the numeric value of the AICc formula