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: convert.factor

Function Description: convert.factor

Converts any character fields in a dataframe from factors to character fields.

Function Arguments:

ArgumentDefault Value

Function Source:


for(j in 1:dim(r)[2]) if(is.factor(r[,j])) result[,j]=as.character(r[,j])