stdCovs: Standardize variables using the mean and standard deviation...

Description Usage Arguments Details

View source: R/stdCovs.R

Description

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

Usage

1
stdCovs(x, y, var.names)

Arguments

x

Dataframe of covariates for prediction or validation

y

Dataframe of means and standard deviations

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.