Topic: Utilities

Topic Description:

Basic R utilities used in many packages and functions, such as date and string manipulations, statistical distributions, geometry of lines and distances. The R package date is required for the two data functions.



File: utilities/statistics.r

View File Source Download File No help file available

Function: bootconf

Function Description: bootconf

A simple calculation of confidence limits based on the SD of a vector.

Function Arguments:

ArgumentDefault Value
x

Function Source:

bootconf=function(x)
{
lower=mean(x)-1.96*sd(x)
upper=mean(x)+1.96*sd(x)

return(c(lower,upper))
}