Learn R Programming

spatialRF (version 1.1.5)

standard_error: 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)

Value

A numeric value.

Arguments

x

A numeric vector.

Details

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

See Also

Other utilities: .vif_to_df(), auc(), beowulf_cluster(), objects_size(), optimization_function(), prepare_importance_spatial(), rescale_vector(), root_mean_squared_error(), setup_parallel_execution(), statistical_mode(), thinning(), thinning_til_n()

Examples

Run this code

standard_error(x = runif(10))

Run the code above in your browser using DataLab