one_pcr_cv: One cross-validation run

Description Usage Arguments Value

View source: R/PCR.R

Description

Make one prediction for one cross-validation run. This is a subroutine to be called by other cross-validation functions.

Usage

1

Arguments

df

The training data, with one column named y, the (transformed) observations. and other columns the predictors.

z

A vector of left-out points

Value

A vector of prediction.


ldsr documentation built on May 4, 2020, 5:06 p.m.