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
5a1b0e3a
Commit
5a1b0e3a
authored
Aug 04, 2020
by
Laura Mack
Browse files
changed: print names of link functions
parent
d5f936e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
R/gevdfit.R
R/gevdfit.R
+3
-6
No files found.
R/gevdfit.R
View file @
5a1b0e3a
...
...
@@ -230,12 +230,9 @@ gev.d.fit<-
if
(
z
$
trans
)
{
# for nonstationary fit
print
(
z
[
c
(
2
,
4
)])
# print model, link (3) , conv
# print names of link functions:
#cat('$link$name\n')
#cat(paste('mu:\t',z$link$mulink$name))
#cat(paste('\nsigma:\t',z$link$siglink$name))
#cat(paste('\nxi:\t',z$link$shlink$name))
#cat(paste('\ntheta:\t',z$link$thetalink$name))
#cat(paste('\neta:\t',z$link$etalink$name,'\n\n'))
cat
(
'$link\n'
)
print
(
c
(
z
$
link
$
mulink
$
name
,
z
$
link
$
siglink
$
name
,
z
$
link
$
shlink
$
name
,
z
$
link
$
thetalink
$
name
,
z
$
link
$
etalink
$
name
))
cat
(
'\n'
)
}
else
{
print
(
z
[
4
])}
# for stationary fit print only conv
if
(
!
z
$
conv
){
# if fit converged
print
(
z
[
c
(
5
,
7
,
9
)])
# print nll, mle, se
...
...
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