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: exponential.sin

Function Description: exponential.sin

Five-parameter exponential sin

Function Arguments:

ArgumentDefault Value
x
asymp
b
c
d
e

Function Source:

exponential.sin=function(x,asymp,b,c,d,e)
{
z=pi*((x-b)/c)^d
y=asymp*((sin(z))^e)

y[x y[x>b+c]=0

return(y)
}