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

View File Source Download File No help file available

Function: beta.total

Function Description: beta.total

A beta distribution on the interval xmin to xmax, instead of 0 to 1. No longer used.

Function Arguments:

ArgumentDefault Value
x
par1
xmin
par2
xmax

Function Source:

beta.total=function(x,par1,xmin,par2,xmax)
{
y=(x-xmin)^par1*(xmax-x)^par2

if(length(y[is.infinite(y)])>0) return(rep(0,length(y)))

return(y)
}