standard_error {spatialRF}R Documentation

Standard error of the mean of a numeric vector

Description

Computes the standard error of the mean of a numeric vector as round(sqrt(var(x)/length(x)), 3)

Usage

standard_error(x)

Arguments

x

A numeric vector.

Details

The function removes NA values before computing the standard error, and rounds the result to 3 decimal places.

Value

A numeric value.

Examples

if(interactive()){

 standard_error(runif(10))

}

[Package spatialRF version 1.1.4 Index]