gev.d.params.Rd 1.01 KB
Newer Older
1
2
3
4
5
6
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gevdfit.R
\name{gev.d.params}
\alias{gev.d.params}
\title{Calculate gev(d) parameters from \code{gev.d.fit} output}
\usage{
7
gev.d.params(fit, ydat = NULL)
8
9
}
\arguments{
10
\item{fit}{fit object returned by \code{\link{gev.d.fit}} or \code{\link{gev.fit}}}
11

12
\item{ydat}{A matrix containing the covariates in the same order as used in \code{gev.d.fit}.}
13
14
}
\value{
15
data.frame containing mu_tilde, sigma0, xi, theta, eta (or mu, sigma, xi for gev.fit objects)
16
17
}
\description{
Jana Ulrich's avatar
Jana Ulrich committed
18
19
function to calculate mut, sigma0, xi, theta, eta
(modified location, scale offset, shape, duration offset, duration exponent)
20
from results of \code{\link{gev.d.fit}} with covariates or link funktions other than identity.
21
22
23
24
}
\examples{
data('example',package = 'IDF')
fit <- gev.d.fit(example$dat,example$d,ydat = as.matrix(example[,c("cov1","cov2")])
25
                 ,mutl = c(1,2),sigma0l = 1)
26
gev.d.params(fit = fit,ydat = cbind(c(0.9,1),c(0.5,1)))
27
28
}
\seealso{
29
\code{\link{IDF-package}}
30
}