-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style and docs: run devtools::document() and styler::style_pkg()
- Loading branch information
1 parent
c7c236e
commit a5ee9f9
Showing
6 changed files
with
38 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
## File is deprecated by MOshima 6/12/23 | ||
|
||
#library(ss3diags) | ||
# library(ss3diags) | ||
# Tests | ||
# sma = r4ss::SSsummarize(retro.sma) | ||
# Check joint MASE for indices | ||
#SSmase(retro.sma) | ||
# SSmase(retro.sma) | ||
# select indices | ||
#SSmase(retro.sma, indexselect = c(4)) | ||
# SSmase(retro.sma, indexselect = c(4)) | ||
# check for length comps | ||
# smaL = ss3diags::SSretroComps(retro.sma) | ||
#SSmase(retro.sma, quants = "len", indexselect = 2:4) | ||
# SSmase(retro.sma, quants = "len", indexselect = 2:4) | ||
|
||
# check manually | ||
#mase <- SSmase(retro.sma, residuals = T) | ||
# mase <- SSmase(retro.sma, residuals = T) | ||
# Joint mase from index 1, 3,4 | ||
#mae <- apply( | ||
# mae <- apply( | ||
# mase$Residuals[c("Pred.Res", "Naive.Res")], 2, | ||
# function(x) mean(abs(x)) | ||
#) | ||
# ) | ||
# MASE | ||
#mae[1] / mae[2] | ||
# mae[1] / mae[2] | ||
# compare | ||
#SSmase(retro.sma) | ||
# SSmase(retro.sma) | ||
|
||
# Check hake | ||
# phk= r4ss::SSsummarize(retro.phk) | ||
#SSmase(retro.phk, verbose = T, indexselect = 1) | ||
# SSmase(retro.phk, verbose = T, indexselect = 1) | ||
# check for age comps | ||
#phkA <- ss3diags::SSretroComps(retro.phk) | ||
#SSmase(retro.phk, quants = "age") | ||
# phkA <- ss3diags::SSretroComps(retro.phk) | ||
# SSmase(retro.phk, quants = "age") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters