Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rpackages
IDF
Commits
10e8be56
Commit
10e8be56
authored
Sep 09, 2019
by
Jana Ulrich
Browse files
gev.d.fit only run gev.d.init if any initial parameters are not given
parent
22e9829c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
R/gevdfit.R
R/gevdfit.R
+3
-1
No files found.
R/gevdfit.R
View file @
10e8be56
...
...
@@ -88,7 +88,9 @@ gev.d.fit<-
z
$
trans
<-
FALSE
# indicates if fit is non-stationary
# calculate initial values for mu.d, sigma_0, xi, eta using IDF.init: (thetainit=0)
init.vals
<-
gev.d.init
(
xdat
,
ds
,
ifelse
(
is.null
(
thetainit
),
0
,
thetainit
[
1
]))
if
(
any
(
is.null
(
c
(
muinit
,
siginit
,
shinit
,
etainit
)))){
init.vals
<-
gev.d.init
(
xdat
,
ds
,
ifelse
(
is.null
(
thetainit
),
0
,
thetainit
[
1
]))
}
# TODO: transform initial values with link function
# use make.link()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment