stdFitCovs: Standardize covariates for model fitting

Description Usage Arguments Details

View source: R/stdCovs.R

Description

stdFitCovs returns a dataframe of the standardized values of all the variables in x.

Usage

1
stdFitCovs(x, var.names)

Arguments

x

Dataframe of covariates for prediction or validation

var.names

Character vector of covariate names common in x and y to standardize

Details

This function standardizes the list of covariates in the new dataframe (x) using the means and standard deviations from the dataframe (y) that was used to fit (calibrate) the model


Conte-Ecology/conteStreamTemperature documentation built on Oct. 12, 2021, 10:26 p.m.