Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sol.27.4
sol.27.4-sa
Commits
6a888af1
Commit
6a888af1
authored
Feb 09, 2020
by
Iago Mosqueira
Browse files
Update AAP run, retros with rho
parent
7520c0bf
Changes
3
Hide whitespace changes
Inline
Side-by-side
model/aap.RData
View file @
6a888af1
No preview for this file type
model_AAP.R
View file @
6a888af1
...
...
@@ -60,14 +60,14 @@ retro <- FLStocks(parallel::mclapply(years, function(x) {
control
=
control
,
stdfile
=
btsgam
@
stdfile
,
wkdir
=
tempfile
())
+
window
(
stock
,
end
=
x
)
},
mc.cores
=
length
(
years
)))
# ---
RUNS & STOCK
S
# ---
STOCKS & RESIDUAL
S
stocks
<-
FLStocks
(
lapply
(
runs
,
"+"
,
stock
))
residuals
<-
lapply
(
runs
,
residuals
,
stock
)
residuals
<-
lapply
(
runs
[
!
names
(
runs
)
%in%
"McMC"
]
,
residuals
,
stock
)
# --- SRR
srrs
<-
FLSRs
(
lapply
(
c
(
"bevholt"
,
"ricker"
,
"segreg"
),
function
(
x
)
fmle
(
as.FLSR
(
stocks
[[
"BTS-GAM"
]],
model
=
x
)
)))
srrs
<-
FLSRs
(
setNames
(
lapply
(
c
(
"bevholt"
,
"ricker"
,
"segreg"
),
function
(
x
)
fmle
(
as.FLSR
(
stocks
[[
"BTS-GAM"
]],
model
=
x
,
name
=
x
))),
c
(
"bevholt"
,
"ricker"
,
"segreg"
)))
# --- REFERENCE points
...
...
output/aap.RData
View file @
6a888af1
No preview for this file type
Write
Preview
Supports
Markdown
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