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: pst

Function Description: pst

A version of paste with sep=''.

Function Arguments:

ArgumentDefault Value
...

Function Source:

pst=function(...)
{
s=list(...)
len=length(s)

if(len==0) return(NA)

result=s[[1]]
if(len==1) return(s[[1]])

for(i in 2:len) result=paste(result,s[[i]],sep='')

return(result)
}