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/utilities.r

View File Source Download File No help file available

Function: ditch

Function Description: ditch

Detaches all files at one or more search positions; v can be a vector.

Function Arguments:

ArgumentDefault Value
v

Function Source:

ditch=function(v)
{
invert=(-sort(-v))

for(i in invert) detach(pos=i)
}