loocvFUN: A function for performing leave-one-out cross-validation

Description Usage Arguments Examples

View source: R/loocvFUN.R

Description

This function removes one observation at a time and reruns the model in order to test model parameter stability.

Usage

1
loocvFUN(x, sites, response, variables)

Arguments

sites

The variable that identifies the relational element.

response

The response variable.

variables

A string of explanatory covariates in the model.

Examples

1
2
data(iris)
loocvFUN(iris, sites = 'Species', response = 'Petal.Width', variables = 'Sepal.Length+Sepal.Width')

gmiskell/lurFunctions documentation built on May 17, 2019, 7:06 p.m.