gev.d.params.Rd 908 Bytes
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)
8
9
10
11
}
\arguments{
\item{fit}{fit object returned by \code{gev.d.fit}}

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
16
17
18
19
20
21
22
23
24
25
}
\description{
function to calculate mut, sigma0, xi, theta, eta 
(modified location, scale, shape, duration offset, duration exponent) 
from results of \code{\link{gev.d.fit}} with covariates
}
\examples{
data('example',package = 'IDF')
fit <- gev.d.fit(example$dat,example$d,ydat = as.matrix(example[,c("cov1","cov2")])
                 ,mul = c(1,2),sigl = 1)
26
gev.d.params(fit = fit,ydat = cbind(c(0.9,1),c(0.5,1)))
27
28
29
30
}
\seealso{
\code{\link{dgev.d}}
}