Ajout de deux fonctions

This commit is contained in:
François Pelletier 2014-01-02 23:43:57 -05:00
parent 4c249b7bfc
commit 336a7f6180
8 changed files with 146 additions and 173 deletions

View file

@ -1,8 +1,8 @@
\name{characteristicfn}
\alias{characteristicfn}
\name{cfGAL}
\alias{cfGAL}
\title{Characteristic function of GAL distribution}
\usage{
characteristicfn(u, param, type = "mu", log = FALSE)
cfGAL(u, param, type = "mu", log = FALSE)
}
\arguments{
\item{u}{Transform variate}
@ -12,7 +12,7 @@ characteristicfn(u, param, type = "mu", log = FALSE)
\item{type}{Choose between "mu" or "kappa"
parametrization}
\item{log}{Boolean for log-parameters}
\item{log}{Logical for log-parameters}
}
\value{
Characteristic function value at point u for given

27
man/changetypeGAL.Rd Normal file
View file

@ -0,0 +1,27 @@
\name{changetypeGAL}
\alias{changetypeGAL}
\title{Change type of parametrization of GAL distribution}
\usage{
changetypeGAL(param, type = "mu", target = "kappa", log = FALSE)
}
\arguments{
\item{param}{Parameter vector}
\item{type}{Choose between "mu" or "kappa"
parametrization}
\item{target}{Choose between "mu" or "kappa"
parametrization}
\item{log}{Logical for log-parameters}
}
\value{
The converted parameter vector
}
\description{
Change type of parametrization of GAL distribution
}
\author{
Francois Pelletier
}

26
man/dGAL.Rd Normal file
View file

@ -0,0 +1,26 @@
\name{dGAL}
\alias{dGAL}
\title{Density function for the GAL distribution}
\usage{
dGAL(x, param, type = "mu", log = FALSE)
}
\arguments{
\item{x}{vector of quantiles}
\item{param}{Parameter vector}
\item{type}{Choose between "mu" or "kappa"
parametrization}
\item{log}{Logical for log-parameters}
}
\value{
density at quantile x
}
\description{
Density function for the GAL distribution
}
\author{
Francois Pelletier
}