make_modeling_object: Make modeling object

Description Usage Arguments Value

View source: R/functions_make_object.R

Description

Make modeling object. Executes PLS regression.

Usage

1
make_modeling_object(rawdata, exclude.vars, UK.varnames, pls.comps = 5)

Arguments

rawdata

See rawdata under PLSK.full

exclude.vars

String vector listing variables to exclude from PLS

UK.varnames

Sting vector listing variables that will be included for universal kriging and therefore should not enter into PLS.

pls.comps

Integer indicating the number of PLS components. Default is 5.

Value

A list named PLS The PLS object is a list of 19. In general below, m is the number of monitors.

coefficients

List of 3-dimensional matrix (number of... monitors plus 32?, y, and 5 components?)

scores

Matrix that is... monitors by 5 components

loadings

Matrix that is number of monitors plus 32 by 5

loading.weights

a similar matrix?

Yscores

Matrix that is number of m x 5

Yloadings

Matrix 1 x 5 that?

projection

366 by 5 matrix

Xmeans

numeric vector

Ymeans

Number indicating?

fitted.values

334 by 5 matrix

residuals

34x1x5 matrix

Xvar

Vector of 5 named numbers

Xtotvar

Number indicating?

fit.time

Named number indicating?

ncomp

Integer.... 5

method

"kernelpls"

call

language plsr(formula = y ~ covars.pls, ncomp = pls.comps, data = model.obj, validation = "none")

terms

Classes 'terms', 'formula' length 3 y ~ covars.pls

model

data frame of y and covars.pls, which is 334 by 366?


myoung3/regionalkrig documentation built on May 23, 2019, noon