Learn R Programming

mlf (version 1.2.1)

get_var: Variance

Description

Estimates squared variance by decomposing model prediction error.

Usage

get_var(estimate)

Arguments

estimate

predicted vector

Examples

Run this code
# NOT RUN {
# Sample data
test <- rnorm(25, 80, 35)
predicted <- rnorm(25, 80, 50)

mlf::get_var(predicted)
# }

Run the code above in your browser using DataLab