diff --git a/cran-comments/cran-comments-v0_8_27.md b/cran-comments/cran-comments-v0_8_27.md new file mode 100644 index 00000000..92058fd8 --- /dev/null +++ b/cran-comments/cran-comments-v0_8_27.md @@ -0,0 +1,9 @@ +* This updates the existing FSA package on CRAN by fixing a warning in one R documentation page and a dependency on an orphaned package (per e-mail from Kurt Hornik on 2-Feb-20). + +## Notes +* There may be a note about "fishR" being misspelled in the description. This is not a misspelling. +* On [CRAN](https://cran.r-project.org/web/checks/check_results_FSA.html), there is a note in the previous version about a missing `RMark` package for the "r-patched-solaris-x86" flavor. Again (as with previous versions), I am not sure what to do about this note. + +## Testing Environments +* My Windows machine. +* Win Builder -- old-release, release, and development. diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 1cc2fa7f..bb20d31c 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -76,7 +76,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/authors.html b/docs/authors.html index 6384082a..7ecab090 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -76,7 +76,7 @@ FSA - 0.8.26 + 0.8.27 @@ -119,15 +119,15 @@

Citation

Source: inst/CITATION -

Ogle DH, Wheeler P, Dinno A (2019). +

Ogle DH, Wheeler P, Dinno A (2020). FSA: Fisheries Stock Analysis. -R package version 0.8.26, https://github.com/droglenc/FSA. +R package version 0.8.27, https://github.com/droglenc/FSA.

@Manual{,
   title = {FSA: Fisheries Stock Analysis},
   author = {Derek H. Ogle and Powell Wheeler and Alexis Dinno},
-  year = {2019},
-  note = {R package version 0.8.26},
+  year = {2020},
+  note = {R package version 0.8.27},
   url = {https://github.com/droglenc/FSA},
 }
diff --git a/docs/index.html b/docs/index.html index 52dcc4b9..074863e0 100644 --- a/docs/index.html +++ b/docs/index.html @@ -39,7 +39,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/news/index.html b/docs/news/index.html index 176faaab..b95eeb1b 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -76,7 +76,7 @@ FSA - 0.8.26 + 0.8.27 @@ -119,9 +119,22 @@

Changelog

Source: NEWS.md +
+

+FSA 0.8.27 2-Feb-20 Unreleased +

+ +

-FSA 0.8.26 22-Nov-19 Unreleased +FSA 0.8.26 22-Nov-19 2019-11-22

@@ -2335,20 +2342,14 @@

FSA 0.4.11 May14 Unreleased

@@ -2433,28 +2434,18 @@

FSA 0.4.7 Apr14 Unreleased

@@ -2617,51 +2608,30 @@

FSA 0.4.2 Dec13 Unreleased

@@ -2670,36 +2640,22 @@

FSA 0.4.1 Oct13 Unreleased

@@ -2708,103 +2664,56 @@

FSA 0.4.0 Jun13 Unreleased

@@ -2814,20 +2723,20 @@

@@ -2836,40 +2745,40 @@

FSA 0.3.3 21Dec12 Unreleased

@@ -2878,24 +2787,23 @@

FSA 0.3.2 1Dec12 Unreleased

@@ -2904,49 +2812,49 @@

FSA 0.3.1 25Nov12 Unreleased

@@ -2955,30 +2863,30 @@

FSA 0.3-0 8-Nov-12 Unreleased

@@ -2987,12 +2895,12 @@

FSA 0.2-8 21Jun12 Unreleased

@@ -3018,15 +2926,15 @@

FSA 0.2-6 1Oct11 Unreleased

@@ -3035,21 +2943,21 @@

FSA 0.2-5 19Aug11 Unreleased

@@ -3067,16 +2975,16 @@

FSA 0.2-3 18Apr11 Unreleased

@@ -3085,10 +2993,10 @@

FSA 0.2-2 3Mar11 Unreleased

@@ -3124,42 +3032,42 @@

@@ -3168,24 +3076,24 @@

FSA 0.1-5 20Aug10 Unreleased

@@ -3203,16 +3111,16 @@

@@ -3221,17 +3129,17 @@

FSA 0.1-1 15Apr09 Unreleased

@@ -3249,19 +3157,19 @@

FSA 0.0-13 6Dec08 Unreleased

@@ -3284,15 +3192,14 @@

FSA 0.0-11 15May08 Unreleased

@@ -3333,20 +3240,19 @@

@@ -3355,24 +3261,24 @@

FSA 0.0-7 unknown Unreleased

@@ -3407,6 +3313,7 @@

Contents

diff --git a/docs/reference/BrookTroutTH.html b/docs/reference/BrookTroutTH.html index bb3070f5..29c5b994 100644 --- a/docs/reference/BrookTroutTH.html +++ b/docs/reference/BrookTroutTH.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/ChinookArg.html b/docs/reference/ChinookArg.html index 16151551..24b8db16 100644 --- a/docs/reference/ChinookArg.html +++ b/docs/reference/ChinookArg.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/CodNorwegian.html b/docs/reference/CodNorwegian.html index ada8a628..25ca8e0b 100644 --- a/docs/reference/CodNorwegian.html +++ b/docs/reference/CodNorwegian.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/CutthroatAL.html b/docs/reference/CutthroatAL.html index 0b897e1d..207551a7 100644 --- a/docs/reference/CutthroatAL.html +++ b/docs/reference/CutthroatAL.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/Ecoli.html b/docs/reference/Ecoli.html index be32951d..debe82e2 100644 --- a/docs/reference/Ecoli.html +++ b/docs/reference/Ecoli.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/FSA-internals.html b/docs/reference/FSA-internals.html index c6f64eb3..edf6ecde 100644 --- a/docs/reference/FSA-internals.html +++ b/docs/reference/FSA-internals.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/FSA.html b/docs/reference/FSA.html index f3dcdbea..69d0b5e3 100644 --- a/docs/reference/FSA.html +++ b/docs/reference/FSA.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/FSAUtils.html b/docs/reference/FSAUtils.html index 8ad3b177..052e4324 100644 --- a/docs/reference/FSAUtils.html +++ b/docs/reference/FSAUtils.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/Mirex.html b/docs/reference/Mirex.html index b430c3c0..ea9ed747 100644 --- a/docs/reference/Mirex.html +++ b/docs/reference/Mirex.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/PSDlit.html b/docs/reference/PSDlit.html index 37dbc721..ffdabcbd 100644 --- a/docs/reference/PSDlit.html +++ b/docs/reference/PSDlit.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/PikeNY.html b/docs/reference/PikeNY.html index ea94aa9e..e40de673 100644 --- a/docs/reference/PikeNY.html +++ b/docs/reference/PikeNY.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/PikeNYPartial1.html b/docs/reference/PikeNYPartial1.html index 569d6065..b78759b7 100644 --- a/docs/reference/PikeNYPartial1.html +++ b/docs/reference/PikeNYPartial1.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/SMBassLS.html b/docs/reference/SMBassLS.html index 306c8f43..961503d1 100644 --- a/docs/reference/SMBassLS.html +++ b/docs/reference/SMBassLS.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/SMBassWB.html b/docs/reference/SMBassWB.html index 395a675d..ddf9b180 100644 --- a/docs/reference/SMBassWB.html +++ b/docs/reference/SMBassWB.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/Schnute.html b/docs/reference/Schnute.html index 4be38a82..1cd49cc1 100644 --- a/docs/reference/Schnute.html +++ b/docs/reference/Schnute.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,16 @@

The four-parameter growth function from Schnute (1981).

The four-parameter growth function from Schnute (1981).

-
Schnute(t, case = 1, t1 = NULL, t3 = NULL, L1 = NULL, L3 = NULL,
-  a = NULL, b = NULL)
+
Schnute(
+  t,
+  case = 1,
+  t1 = NULL,
+  t3 = NULL,
+  L1 = NULL,
+  L3 = NULL,
+  a = NULL,
+  b = NULL
+)

Arguments

diff --git a/docs/reference/SpotVA1.html b/docs/reference/SpotVA1.html index b0ab5038..15b05c2b 100644 --- a/docs/reference/SpotVA1.html +++ b/docs/reference/SpotVA1.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/Subset.html b/docs/reference/Subset.html index 7b7476f9..e9180042 100644 --- a/docs/reference/Subset.html +++ b/docs/reference/Subset.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/Summarize.html b/docs/reference/Summarize.html index 65e0b556..16d2fde6 100644 --- a/docs/reference/Summarize.html +++ b/docs/reference/Summarize.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -128,15 +128,27 @@

Summary statistics for a numeric variable.

Summarize(object, ...)
 
 # S3 method for default
-Summarize(object, digits = getOption("digits"),
-  na.rm = TRUE, exclude = NULL, nvalid = c("different", "always",
-  "never"), percZero = c("different", "always", "never"), ...)
+Summarize(
+  object,
+  digits = getOption("digits"),
+  na.rm = TRUE,
+  exclude = NULL,
+  nvalid = c("different", "always", "never"),
+  percZero = c("different", "always", "never"),
+  ...
+)
 
 # S3 method for formula
-Summarize(object, data = NULL,
-  digits = getOption("digits"), na.rm = TRUE, exclude = NULL,
-  nvalid = c("different", "always", "never"), percZero = c("different",
-  "always", "never"), ...)
+Summarize( + object, + data=NULL, + digits=getOption("digits"), + na.rm=TRUE, + exclude=NULL, + nvalid=c("different", "always", "never"), + percZero=c("different", "always", "never"), + ... +)

Arguments

diff --git a/docs/reference/WR79.html b/docs/reference/WR79.html index 4463ca1b..bd681146 100644 --- a/docs/reference/WR79.html +++ b/docs/reference/WR79.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/WSlit.html b/docs/reference/WSlit.html index d6e9da80..7401aef9 100644 --- a/docs/reference/WSlit.html +++ b/docs/reference/WSlit.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/WhitefishLC.html b/docs/reference/WhitefishLC.html index 9ac6ac42..e5edcc75 100644 --- a/docs/reference/WhitefishLC.html +++ b/docs/reference/WhitefishLC.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/addZeroCatch.html b/docs/reference/addZeroCatch.html index ff7b7543..0ed2ce84 100644 --- a/docs/reference/addZeroCatch.html +++ b/docs/reference/addZeroCatch.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/ageBias.html b/docs/reference/ageBias.html index 7cf98a84..8baf9b25 100644 --- a/docs/reference/ageBias.html +++ b/docs/reference/ageBias.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,29 +125,67 @@

Compute and view possible differences between paired sets of ages.

Constructs age-agreement tables, statistical tests to detect differences, and plots to visualize potential differences in paired age estimates. Ages may be from, for example, two readers of the same structure, one reader at two times, two structures (e.g., scales, spines, otoliths), or one structure and known ages.

-
ageBias(formula, data, ref.lab = tmp$Enames, nref.lab = tmp$Rname,
-  method = stats::p.adjust.methods, sig.level = 0.05, min.n.CI = 3)
+    
ageBias(
+  formula,
+  data,
+  ref.lab = tmp$Enames,
+  nref.lab = tmp$Rname,
+  method = stats::p.adjust.methods,
+  sig.level = 0.05,
+  min.n.CI = 3
+)
 
 # S3 method for ageBias
-summary(object, what = c("table", "symmetry", "Bowker",
-  "EvansHoenig", "McNemar", "bias", "diff.bias", "n"),
-  flip.table = FALSE, zero.print = "-", digits = 3,
-  cont.corr = c("none", "Yates", "Edwards"), ...)
+summary(
+  object,
+  what = c("table", "symmetry", "Bowker", "EvansHoenig", "McNemar", "bias", "diff.bias",
+    "n"),
+  flip.table = FALSE,
+  zero.print = "-",
+  digits = 3,
+  cont.corr = c("none", "Yates", "Edwards"),
+  ...
+)
 
 # S3 method for ageBias
-plot(x, xvals = c("reference", "mean"),
+plot(
+  x,
+  xvals = c("reference", "mean"),
   xlab = ifelse(xvals == "reference", x$ref.lab, "Mean Age"),
-  ylab = paste(x$nref.lab, "-", x$ref.lab), xlim = NULL, ylim = NULL,
-  yaxt = graphics::par("yaxt"), xaxt = graphics::par("xaxt"),
-  col.agree = "gray60", lwd.agree = lwd, lty.agree = 2, lwd = 1,
-  sfrac = 0, show.pts = NULL, pch.pts = 20, cex.pts = ifelse(xHist
-  | yHist, 1.5, 1), col.pts = "black", transparency = 1/10,
-  show.CI = FALSE, col.CI = "black", col.CIsig = "red",
-  lwd.CI = lwd, sfrac.CI = sfrac, show.range = NULL,
-  col.range = ifelse(show.CI, "gray70", "black"), lwd.range = lwd,
-  sfrac.range = sfrac, pch.mean = 19, pch.mean.sig = ifelse(show.CI |
-  show.range, 21, 19), cex.mean = lwd, yHist = TRUE, xHist = NULL,
-  hist.panel.size = 1/7, col.hist = "gray90", allowAdd = FALSE, ...)
+ ylab = paste(x$nref.lab, "-", x$ref.lab), + xlim = NULL, + ylim = NULL, + yaxt = graphics::par("yaxt"), + xaxt = graphics::par("xaxt"), + col.agree = "gray60", + lwd.agree = lwd, + lty.agree = 2, + lwd = 1, + sfrac = 0, + show.pts = NULL, + pch.pts = 20, + cex.pts = ifelse(xHist | yHist, 1.5, 1), + col.pts = "black", + transparency = 1/10, + show.CI = FALSE, + col.CI = "black", + col.CIsig = "red", + lwd.CI = lwd, + sfrac.CI = sfrac, + show.range = NULL, + col.range = ifelse(show.CI, "gray70", "black"), + lwd.range = lwd, + sfrac.range = sfrac, + pch.mean = 19, + pch.mean.sig = ifelse(show.CI | show.range, 21, 19), + cex.mean = lwd, + yHist = TRUE, + xHist = NULL, + hist.panel.size = 1/7, + col.hist = "gray90", + allowAdd = FALSE, + ... +)

Arguments

diff --git a/docs/reference/agePrecision.html b/docs/reference/agePrecision.html index 1fe1a75d..bb1fe425 100644 --- a/docs/reference/agePrecision.html +++ b/docs/reference/agePrecision.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -128,9 +128,15 @@

Compute measures of precision among sets of ages.

agePrecision(formula, data)
 
 # S3 method for agePrec
-summary(object, what = c("precision", "difference",
-  "absolute difference", "details"), percent = TRUE, trunc.diff = NULL,
-  digits = 4, show.prec2 = FALSE, ...)
+summary( + object, + what=c("precision", "difference", "absolute difference", "details"), + percent=TRUE, + trunc.diff=NULL, + digits=4, + show.prec2=FALSE, + ... +)

Arguments

diff --git a/docs/reference/alkAgeDist.html b/docs/reference/alkAgeDist.html index 57d4ce3d..536e8e80 100644 --- a/docs/reference/alkAgeDist.html +++ b/docs/reference/alkAgeDist.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/alkIndivAge.html b/docs/reference/alkIndivAge.html index 23f35121..932e0fb8 100644 --- a/docs/reference/alkIndivAge.html +++ b/docs/reference/alkIndivAge.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,14 @@

Use an age-length key to assign age to individuals in the unaged sample.

Use either the semi- or completely-random methods from Isermann and Knight (2005) to assign ages to individual fish in the unaged sample according to the information in an age-length key supplied by the user.

-
alkIndivAge(key, formula, data, type = c("SR", "CR"), breaks = NULL,
-  seed = NULL)
+
alkIndivAge(
+  key,
+  formula,
+  data,
+  type = c("SR", "CR"),
+  breaks = NULL,
+  seed = NULL
+)

Arguments

diff --git a/docs/reference/alkMeanVar.html b/docs/reference/alkMeanVar.html index c5ca2920..ee6446be 100644 --- a/docs/reference/alkMeanVar.html +++ b/docs/reference/alkMeanVar.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,13 @@

Mean Values-at-age from an age-length key

Computes the mean value-at-age in a larger sample based on an age-length-key created from a subsample of ages through a two-stage random sampling design. The mean values could be mean length-, weight-, or fecundity-at-age, for example. The methods of Bettoli and Miranda (2001) or Quinn and Deriso (1999) are used. A standard deviation is computed for the Bettoli and Miranda (2001) method and standard error for the Quinn and Deriso (1999) method. See the testing section notes.

-
alkMeanVar(key, formula, data, len.n, method = c("BettoliMiranda",
-  "QuinnDeriso"))
+
alkMeanVar(
+  key,
+  formula,
+  data,
+  len.n,
+  method = c("BettoliMiranda", "QuinnDeriso")
+)

Arguments

diff --git a/docs/reference/alkPlot.html b/docs/reference/alkPlot.html index b30b5d75..29ba6fc4 100644 --- a/docs/reference/alkPlot.html +++ b/docs/reference/alkPlot.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,12 +125,25 @@

Plots to visualize age-length keys.

Various plots to visualize the proportion of fish of certain ages within length intervals in an age-length key.

-
alkPlot(key, type = c("barplot", "area", "lines", "splines", "bubble"),
-  xlab = "Length", ylab = ifelse(type != "bubble", "Proportion",
-  "Age"), xlim = NULL, ylim = NULL, showLegend = FALSE,
-  lbl.cex = 1.25, leg.cex = 1, lwd = 2, span = 0.25,
-  pal = paletteChoices(), grid = TRUE, col = "gray80", buf = 0.45,
-  add = FALSE, ...)
+
alkPlot(
+  key,
+  type = c("barplot", "area", "lines", "splines", "bubble"),
+  xlab = "Length",
+  ylab = ifelse(type != "bubble", "Proportion", "Age"),
+  xlim = NULL,
+  ylim = NULL,
+  showLegend = FALSE,
+  lbl.cex = 1.25,
+  leg.cex = 1,
+  lwd = 2,
+  span = 0.25,
+  pal = paletteChoices(),
+  grid = TRUE,
+  col = "gray80",
+  buf = 0.45,
+  add = FALSE,
+  ...
+)

Arguments

diff --git a/docs/reference/binCI.html b/docs/reference/binCI.html index 76b0463e..913230cf 100644 --- a/docs/reference/binCI.html +++ b/docs/reference/binCI.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,13 @@

Confidence intervals for binomial probability of success.

Uses one of three methods to compute a confidence interval for the probability of success (p) in a binomial distribution.

-
binCI(x, n, conf.level = 0.95, type = c("wilson", "exact",
-  "asymptotic"), verbose = FALSE)
+
binCI(
+  x,
+  n,
+  conf.level = 0.95,
+  type = c("wilson", "exact", "asymptotic"),
+  verbose = FALSE
+)

Arguments

diff --git a/docs/reference/bootCase.html b/docs/reference/bootCase.html index 71751683..3861ce27 100644 --- a/docs/reference/bootCase.html +++ b/docs/reference/bootCase.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -128,21 +128,41 @@

Case bootstrapping and associated S3 methods.

bootCase(object, f. = stats::coef, B = R, R = 999)
 
 # S3 method for bootCase
-confint(object, parm = NULL, level = conf.level,
-  conf.level = 0.95, plot = FALSE, err.col = "black", err.lwd = 2,
-  rows = NULL, cols = NULL, ...)
+confint(
+  object,
+  parm = NULL,
+  level = conf.level,
+  conf.level = 0.95,
+  plot = FALSE,
+  err.col = "black",
+  err.lwd = 2,
+  rows = NULL,
+  cols = NULL,
+  ...
+)
 
 # S3 method for bootCase
-predict(object, FUN, conf.level = 0.95,
-  digits = NULL, ...)
+predict(object, FUN, conf.level = 0.95, digits = NULL, ...)
 
 # S3 method for bootCase
-htest(object, parm = NULL, bo = 0,
-  alt = c("two.sided", "less", "greater"), plot = FALSE, ...)
+htest(
+  object,
+  parm = NULL,
+  bo = 0,
+  alt = c("two.sided", "less", "greater"),
+  plot = FALSE,
+  ...
+)
 
 # S3 method for bootCase
-hist(x, same.ylim = TRUE, ymax = NULL,
-  rows = round(sqrt(ncol(x))), cols = ceiling(sqrt(ncol(x))), ...)
+hist(
+  x,
+  same.ylim = TRUE,
+  ymax = NULL,
+  rows = round(sqrt(ncol(x))),
+  cols = ceiling(sqrt(ncol(x))),
+  ...
+)
 
 # S3 method for bootCase
 plot(x, ...)
diff --git a/docs/reference/capHistConvert.html b/docs/reference/capHistConvert.html index 9a808f40..bc58cb63 100644 --- a/docs/reference/capHistConvert.html +++ b/docs/reference/capHistConvert.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,12 +125,19 @@

Convert between capture history data.frame formats.

Use to convert between simple versions of several capture history data.frame formats -- “individual”, “frequency”, “event”, “MARK”, and “RMark”. The primary use is to convert to the “individual” format for use in capHistSum.

-
capHistConvert(df, cols2use = NULL, cols2ignore = NULL,
-  in.type = c("frequency", "event", "individual", "MARK", "marked",
-  "RMark"), out.type = c("individual", "event", "frequency", "MARK",
-  "marked", "RMark"), id = NULL, event.ord = NULL, freq = NULL,
-  var.lbls = NULL, var.lbls.pre = "event",
-  include.id = ifelse(is.null(id), FALSE, TRUE))
+
capHistConvert(
+  df,
+  cols2use = NULL,
+  cols2ignore = NULL,
+  in.type = c("frequency", "event", "individual", "MARK", "marked", "RMark"),
+  out.type = c("individual", "event", "frequency", "MARK", "marked", "RMark"),
+  id = NULL,
+  event.ord = NULL,
+  freq = NULL,
+  var.lbls = NULL,
+  var.lbls.pre = "event",
+  include.id = ifelse(is.null(id), FALSE, TRUE)
+)

Arguments

diff --git a/docs/reference/capHistSum.html b/docs/reference/capHistSum.html index 4f9b9847..24705f79 100644 --- a/docs/reference/capHistSum.html +++ b/docs/reference/capHistSum.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -130,8 +130,7 @@

Summarize capture histories in individual fish format.

is.CapHist(x) # S3 method for CapHist -plot(x, what=c("u", "f"), pch=19, - cex.pch=0.7, lwd=1, ...) +plot(x, what=c("u", "f"), pch=19, cex.pch=0.7, lwd=1, ...)

Arguments

diff --git a/docs/reference/catchCurve.html b/docs/reference/catchCurve.html index fe62d0cc..80e0385e 100644 --- a/docs/reference/catchCurve.html +++ b/docs/reference/catchCurve.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -128,36 +128,59 @@

Mortality estimates from the descending limb of a catch curve.

catchCurve(x, ...)
 
 # S3 method for default
-catchCurve(x, catch, ages2use = age,
-  weighted = FALSE, negWeightReplace = 0, ...)
+catchCurve(
+  x,
+  catch,
+  ages2use = age,
+  weighted = FALSE,
+  negWeightReplace = 0,
+  ...
+)
 
 # S3 method for formula
-catchCurve(x, data, ages2use = age, weighted = FALSE,
-  negWeightReplace = 0, ...)
+catchCurve(
+  x,
+  data,
+  ages2use = age,
+  weighted = FALSE,
+  negWeightReplace = 0,
+  ...
+)
 
 # S3 method for catchCurve
-summary(object, parm = c("both", "all", "Z", "A",
-  "lm"), ...)
+summary(object, parm = c("both", "all", "Z", "A", "lm"), ...)
 
 # S3 method for catchCurve
-coef(object, parm = c("all", "both", "Z", "A",
-  "lm"), ...)
+coef(object, parm = c("all", "both", "Z", "A", "lm"), ...)
 
 # S3 method for catchCurve
 anova(object, ...)
 
 # S3 method for catchCurve
-confint(object, parm = c("all", "both", "Z", "A",
-  "lm"), level = conf.level, conf.level = 0.95, ...)
+confint(
+  object,
+  parm = c("all", "both", "Z", "A", "lm"),
+  level = conf.level,
+  conf.level = 0.95,
+  ...
+)
 
 # S3 method for catchCurve
-rSquared(object, digits = getOption("digits"),
-  percent = FALSE, ...)
+rSquared(object, digits = getOption("digits"), percent = FALSE, ...)
 
 # S3 method for catchCurve
-plot(x, pos.est = "topright", cex.est = 0.95,
-  ylab = "log(Catch)", xlab = "Age", col.pt = "gray30",
-  col.mdl = "black", lwd = 2, lty = 1, ...)
+plot( + x, + pos.est="topright", + cex.est=0.95, + ylab="log(Catch)", + xlab="Age", + col.pt="gray30", + col.mdl="black", + lwd=2, + lty=1, + ... +)

Arguments

diff --git a/docs/reference/chapmanRobson.html b/docs/reference/chapmanRobson.html index d54e6508..02fc65af 100644 --- a/docs/reference/chapmanRobson.html +++ b/docs/reference/chapmanRobson.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -128,29 +128,49 @@

Computes Chapman-Robson estimates of S and Z.

chapmanRobson(x, ...)
 
 # S3 method for default
-chapmanRobson(x, catch, ages2use = age,
-  zmethod = c("Smithetal", "Hoenigetal", "original"), ...)
+chapmanRobson(
+  x,
+  catch,
+  ages2use = age,
+  zmethod = c("Smithetal", "Hoenigetal", "original"),
+  ...
+)
 
 # S3 method for formula
-chapmanRobson(x, data, ages2use = age,
-  zmethod = c("Smithetal", "Hoenigetal", "original"), ...)
+chapmanRobson(
+  x,
+  data,
+  ages2use = age,
+  zmethod = c("Smithetal", "Hoenigetal", "original"),
+  ...
+)
 
 # S3 method for chapmanRobson
-summary(object, parm = c("all", "both", "Z",
-  "S"), verbose = FALSE, ...)
+summary(object, parm = c("all", "both", "Z", "S"), verbose = FALSE, ...)
 
 # S3 method for chapmanRobson
-coef(object, parm = c("all", "both", "Z", "S"),
-  ...)
+coef(object, parm = c("all", "both", "Z", "S"), ...)
 
 # S3 method for chapmanRobson
-confint(object, parm = c("all", "both", "S",
-  "Z"), level = conf.level, conf.level = 0.95, ...)
+confint(
+  object,
+  parm = c("all", "both", "S", "Z"),
+  level = conf.level,
+  conf.level = 0.95,
+  ...
+)
 
 # S3 method for chapmanRobson
-plot(x, pos.est = "topright", cex.est = 0.95,
-  ylab = "Catch", xlab = "Age", col.pt = "gray30",
-  axis.age = c("both", "age", "recoded age"), ...)
+plot( + x, + pos.est="topright", + cex.est=0.95, + ylab="Catch", + xlab="Age", + col.pt="gray30", + axis.age=c("both", "age", "recoded age"), + ... +)

Arguments

diff --git a/docs/reference/chooseColors.html b/docs/reference/chooseColors.html index 19846f06..83add2e6 100644 --- a/docs/reference/chooseColors.html +++ b/docs/reference/chooseColors.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -155,7 +155,7 @@

Value

A vector of colors of length num.

See also

-

See rich.colors in gplots, cm.colors, heat.colors, topo.colors, terrain.colors, rainbow, colorRampPalette, and colors.

+

See cm.colors, heat.colors, topo.colors, terrain.colors, rainbow, colorRampPalette, and colors.

Examples

n <- 20 diff --git a/docs/reference/col2rgbt.html b/docs/reference/col2rgbt.html index 905a4111..ed92ef9e 100644 --- a/docs/reference/col2rgbt.html +++ b/docs/reference/col2rgbt.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27
diff --git a/docs/reference/compIntercepts.html b/docs/reference/compIntercepts.html index d393a5c8..9dae4cf2 100644 --- a/docs/reference/compIntercepts.html +++ b/docs/reference/compIntercepts.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,13 @@

Tests for significant differences among all pairs of intercepts in a dummy v

Tests for significant differences among all pairs of intercepts in a dummy variable regression where the dummy variables all stem from one factor.

-
compIntercepts(mdl, common.cov = mean(x), conf.level = 0.95,
-  digits = getOption("digits"), ...)
+    
compIntercepts(
+  mdl,
+  common.cov = mean(x),
+  conf.level = 0.95,
+  digits = getOption("digits"),
+  ...
+)
 
 # S3 method for compIntercepts
 print(x, ...)
diff --git a/docs/reference/compSlopes.html b/docs/reference/compSlopes.html index 50bb5929..d9ee931e 100644 --- a/docs/reference/compSlopes.html +++ b/docs/reference/compSlopes.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,13 @@

Tests for significant differences among all pairs of slopes in a dummy varia

Tests for significant differences among all pairs of slopes in a dummy variable regression where the dummy variables all stem from one factor.

-
compSlopes(mdl, method = stats::p.adjust.methods, conf.level = 0.95,
-  order.slopes = TRUE, digits = getOption("digits"))
+    
compSlopes(
+  mdl,
+  method = stats::p.adjust.methods,
+  conf.level = 0.95,
+  order.slopes = TRUE,
+  digits = getOption("digits")
+)
 
 # S3 method for compSlopes
 print(x, ...)
diff --git a/docs/reference/depletion.html b/docs/reference/depletion.html index 7f053469..a90492e4 100644 --- a/docs/reference/depletion.html +++ b/docs/reference/depletion.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,32 +125,48 @@

Computes the Leslie or DeLury population estimate from catch and effort data

Computes the Leslie or DeLury estimates of population size and catchability coefficient from paired catch and effort data. The Ricker modification may also be used.

-
depletion(catch, effort, method = c("Leslie", "DeLury", "Delury"),
-  Ricker.mod = FALSE)
+    
depletion(
+  catch,
+  effort,
+  method = c("Leslie", "DeLury", "Delury"),
+  Ricker.mod = FALSE
+)
 
 # S3 method for depletion
-summary(object, parm = c("all", "both", "No", "q",
-  "lm"), verbose = FALSE, ...)
+summary(object, parm = c("all", "both", "No", "q", "lm"), verbose = FALSE, ...)
 
 # S3 method for depletion
-coef(object, parm = c("all", "both", "No", "q",
-  "lm"), ...)
+coef(object, parm = c("all", "both", "No", "q", "lm"), ...)
 
 # S3 method for depletion
-confint(object, parm = c("all", "both", "No", "q",
-  "lm"), level = conf.level, conf.level = 0.95, ...)
+confint(
+  object,
+  parm = c("all", "both", "No", "q", "lm"),
+  level = conf.level,
+  conf.level = 0.95,
+  ...
+)
 
 # S3 method for depletion
 anova(object, ...)
 
 # S3 method for depletion
-rSquared(object, digits = getOption("digits"),
-  percent = FALSE, ...)
+rSquared(object, digits = getOption("digits"), percent = FALSE, ...)
 
 # S3 method for depletion
-plot(x, xlab = NULL, ylab = NULL, pch = 19,
-  col.pt = "black", col.mdl = "gray70", lwd = 1, lty = 1,
-  pos.est = "topright", cex.est = 0.95, ...)
+plot( + x, + xlab = NULL, + ylab = NULL, + pch = 19, + col.pt = "black", + col.mdl = "gray70", + lwd = 1, + lty = 1, + pos.est = "topright", + cex.est = 0.95, + ... +)

Arguments

diff --git a/docs/reference/diags.html b/docs/reference/diags.html index 40e83d26..ee509ef6 100644 --- a/docs/reference/diags.html +++ b/docs/reference/diags.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,13 @@

Extract diagonals from a matrix.

Extract diagonals from a matrix.

-
diags(x, which = 0, incl.labels = c("none", "row", "column"),
-  val.name = "value", label.name = "label")
+
diags(
+  x,
+  which = 0,
+  incl.labels = c("none", "row", "column"),
+  val.name = "value",
+  label.name = "label"
+)

Arguments

diff --git a/docs/reference/dunnTest.html b/docs/reference/dunnTest.html index 3da11795..7e2fddea 100644 --- a/docs/reference/dunnTest.html +++ b/docs/reference/dunnTest.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -128,14 +128,24 @@

Dunn's Kruskal-Wallis Multiple Comparisons.

dunnTest(x, ...)
 
 # S3 method for default
-dunnTest(x, g,
+dunnTest(
+  x,
+  g,
   method = dunn.test::p.adjustment.methods[c(4, 2:3, 5:8, 1)],
-  two.sided = TRUE, altp = two.sided, ...)
+  two.sided = TRUE,
+  altp = two.sided,
+  ...
+)
 
 # S3 method for formula
-dunnTest(x, data = NULL,
+dunnTest(
+  x,
+  data = NULL,
   method = dunn.test::p.adjustment.methods[c(4, 2:3, 5:8, 1)],
-  two.sided = TRUE, altp = two.sided, ...)
+  two.sided = TRUE,
+  altp = two.sided,
+  ...
+)
 
 # S3 method for dunnTest
 print(x, dunn.test.results = FALSE, ...)
diff --git a/docs/reference/expandCounts.html b/docs/reference/expandCounts.html index a95f485e..193864a9 100644 --- a/docs/reference/expandCounts.html +++ b/docs/reference/expandCounts.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,17 @@

Repeat individual fish data (including lengths) from tallied counts.

Repeat individual fish data, including lengths, from tallied counts and, optionally, add a random digit to length measurements to simulate actual length of fish in the bin. This is useful as a precursor to summaries that require information, e.g., lengths, of individual fish (e.g., length frequency histograms, means lengths).

-
expandCounts(data, cform, lform = NULL, removeCount = TRUE,
-  lprec = 0.1, new.name = "newlen", cwid = 0, verbose = TRUE, ...)
+
expandCounts(
+  data,
+  cform,
+  lform = NULL,
+  removeCount = TRUE,
+  lprec = 0.1,
+  new.name = "newlen",
+  cwid = 0,
+  verbose = TRUE,
+  ...
+)

Arguments

diff --git a/docs/reference/expandLenFreq.html b/docs/reference/expandLenFreq.html index 2ce3505e..b2011d66 100644 --- a/docs/reference/expandLenFreq.html +++ b/docs/reference/expandLenFreq.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,16 @@

Expands a length frequency based on a subsample.

Creates a vector of lengths for the individuals not measured based on the lengths measured in a subsample of individuals.

-
expandLenFreq(x, w, additional, startcat = NULL, total = additional +
-  length(x), decimals = decs$wdec, show.summary = TRUE, ...)
+
expandLenFreq(
+  x,
+  w,
+  additional,
+  startcat = NULL,
+  total = additional + length(x),
+  decimals = decs$wdec,
+  show.summary = TRUE,
+  ...
+)

Arguments

diff --git a/docs/reference/extraTests.html b/docs/reference/extraTests.html index f6782f23..a5b18825 100644 --- a/docs/reference/extraTests.html +++ b/docs/reference/extraTests.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,11 +125,9 @@

Likelihood ratio and extra sum-of-squares tests.

Likelihood ratio and extra sum-of-squares tests with multiple lm or nls models nested within one common model. This function is most useful when the nested functions are all at the same level; otherwise use anova() or lrtest() which are more flexible.

-
lrt(sim, ..., com, sim.names = sim.name, sim.name = NULL,
-  com.name = NULL)
+    
lrt(sim, ..., com, sim.names = sim.name, sim.name = NULL, com.name = NULL)
 
-extraSS(sim, ..., com, sim.names = sim.name, sim.name = NULL,
-  com.name = NULL)
+extraSS(sim, ..., com, sim.names = sim.name, sim.name = NULL, com.name = NULL)
 
 # S3 method for extraTest
 print(x, ...)
diff --git a/docs/reference/fact2num.html b/docs/reference/fact2num.html index 1ad83a46..1242f524 100644 --- a/docs/reference/fact2num.html +++ b/docs/reference/fact2num.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/fishR.html b/docs/reference/fishR.html index 76009b2c..435cf035 100644 --- a/docs/reference/fishR.html +++ b/docs/reference/fishR.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,7 @@

Opens web pages associated with the fishR website.

Opens web pages associated with the fishR website in a browser. The user can open the main page or choose a specific page to open.

-
fishR(where = c("home", "IFAR", "general", "books", "AIFFD", "posts",
-  "news"))
+
fishR(where = c("home", "IFAR", "general", "books", "AIFFD", "posts", "news"))

Arguments

diff --git a/docs/reference/fitPlot.html b/docs/reference/fitPlot.html index 68256aae..f4a85d0a 100644 --- a/docs/reference/fitPlot.html +++ b/docs/reference/fitPlot.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -131,12 +131,24 @@

Fitted model plot for an lm, glm, or nls object.

fitPlot(object, ...) # S3 method for SLR -fitPlot(object, plot.pts=TRUE, pch=16, - col.pt="black", col.mdl="red", lwd=3, lty=1, +fitPlot( + object, + plot.pts=TRUE, + pch=16, + col.pt="black", + col.mdl="red", + lwd=3, + lty=1, interval=c("none", "confidence", "prediction", "both"), - conf.level=0.95, lty.ci=2, lty.pi=3, - xlab=object$Enames[1], ylab=object$Rname, main="", - ylim=NULL, ...) + conf.level=0.95, + lty.ci=2, + lty.pi=3, + xlab=object$Enames[1], + ylab=object$Rname, + main="", + ylim=NULL, + ... +) # S3 method for IVRfitPlot(object, ...) @@ -145,37 +157,92 @@

Fitted model plot for an lm, glm, or nls object.

fitPlot(object, ...) # S3 method for ONEWAY -fitPlot(object, xlab=object$Enames[1], - ylab=object$Rname, main="", type="b", pch=16, lty=1, - col="black", interval=TRUE, conf.level=0.95, - ci.fun=iCIfp(conf.level), col.ci=col, lty.ci=1, ...) +fitPlot( + object, + xlab=object$Enames[1], + ylab=object$Rname, + main="", + type="b", + pch=16, + lty=1, + col="black", + interval=TRUE, + conf.level=0.95, + ci.fun=iCIfp(conf.level), + col.ci=col, + lty.ci=1, + ... +) # S3 method for TWOWAY -fitPlot(object, which, change.order=FALSE, - xlab=object$Enames[ord[1]], ylab=object$Rname, main="", - type="b", pch=c(16, 21, 15, 22, 17, 24, c(3:14)), lty=c(1:6, - 1:6, 1:6), col="default", interval=TRUE, conf.level=0.95, - ci.fun=iCIfp(conf.level), lty.ci=1, legend="topright", - cex.leg=1, box.lty.leg=0, ...) +fitPlot( + object, + which, + change.order=FALSE, + xlab=object$Enames[ord[1]], + ylab=object$Rname, + main="", + type="b", + pch=c(16, 21, 15, 22, 17, 24, c(3:14)), + lty=c(1:6, 1:6, 1:6), + col="default", + interval=TRUE, + conf.level=0.95, + ci.fun=iCIfp(conf.level), + lty.ci=1, + legend="topright", + cex.leg=1, + box.lty.leg=0, + ... +) # S3 method for nls -fitPlot(object, d, pch=c(19, 1), col.pt=c("black", - "red"), col.mdl=col.pt, lwd=2, lty=1, plot.pts=TRUE, - jittered=FALSE, ylim=NULL, legend=FALSE, - legend.lbls=c("Group 1", "Group 2"), ylab=names(mdl$model)[1], - xlab=names(mdl$model)[xpos], main="", ...) +fitPlot( + object, + d, + pch=c(19, 1), + col.pt=c("black", "red"), + col.mdl=col.pt, + lwd=2, + lty=1, + plot.pts=TRUE, + jittered=FALSE, + ylim=NULL, + legend=FALSE, + legend.lbls=c("Group 1", "Group 2"), + ylab=names(mdl$model)[1], + xlab=names(mdl$model)[xpos], + main="", + ... +) # S3 method for glmfitPlot(object, ...) # S3 method for logreg -fitPlot(object, xlab=names(object$model)[2], - ylab=names(object$model)[1], main="", plot.pts=TRUE, - col.pt="black", transparency=NULL, plot.p=TRUE, - breaks=25, p.col="blue", p.pch=3, p.cex=1, - yaxis1.ticks=seq(0, 1, 0.1), yaxis1.lbls=c(0, 0.5, 1), - yaxis2.show=TRUE, col.mdl="red", lwd=2, lty=1, - mdl.vals=50, xlim=range(x), ...) +fitPlot( + object, + xlab=names(object$model)[2], + ylab=names(object$model)[1], + main="", + plot.pts=TRUE, + col.pt="black", + transparency=NULL, + plot.p=TRUE, + breaks=25, + p.col="blue", + p.pch=3, + p.cex=1, + yaxis1.ticks=seq(0, 1, 0.1), + yaxis1.lbls=c(0, 0.5, 1), + yaxis2.show=TRUE, + col.mdl="red", + lwd=2, + lty=1, + mdl.vals=50, + xlim=range(x), + ... +)

Arguments

@@ -351,7 +418,7 @@

Note

This function is meant to allow newbie students the ability to visualize the most common linear models found in an introductory or intermediate level undergraduate statistics course without getting “bogged-down” in the gritty details of a wide variety of functions. This generic function and it's S3 functions allow the student to visualize the means plot of a one-way anova, the main effects and interaction plots of a two-way ANOVA, the fit of a simple linear regression, the fits of many lines in an indicator variable regression, and the fit of a non-linear model with a simple and mostly common set of arguments -- generally, all that is required is a fitted linear model of the type mentioned here as the first argument. This function thus allows newbie students to interact with and visualize moderately complex linear models in a fairly easy and efficient manner. THIS IS NOT A RESEARCH GRADE FUNCTION and the user should learn how to use the functions that this function is based on, build plots from “scratch”, or use more sophisticated plotting packages (e.g., ggplot2 or lattice).

See also

-

See abline, regLine in car, plotmeans in gplots, error.bars in psych, interaction.plot, and lineplot.CI in sciplot for similar functionality. See residPlot for related functionality.

+

See abline, regLine in car, error.bars in psych, interaction.plot, and lineplot.CI in sciplot for similar functionality. See residPlot for related functionality.

Examples

# create year as a factor variable diff --git a/docs/reference/fsaNews.html b/docs/reference/fsaNews.html index 4adc31e1..1ddccbb6 100644 --- a/docs/reference/fsaNews.html +++ b/docs/reference/fsaNews.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27
diff --git a/docs/reference/geomean.html b/docs/reference/geomean.html index ebb1194f..9423b3b1 100644 --- a/docs/reference/geomean.html +++ b/docs/reference/geomean.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/growthModels.html b/docs/reference/growthModels.html index be7f2879..f884cca8 100644 --- a/docs/reference/growthModels.html +++ b/docs/reference/growthModels.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,25 +125,39 @@

Creates a function for a specific parameterization of the von Bertalanffy, G

Creates a function for a specific parameterizations of the von Bertalanffy, Gompertz, Richards, and logistic growth functions. Use growthFunShow() to see the equations for each growth function.

-
vbFuns(param = c("Typical", "typical", "Traditional", "traditional",
-  "BevertonHolt", "Original", "original", "vonBertalanffy", "GQ",
-  "GallucciQuinn", "Mooij", "Weisberg", "Ogle", "Schnute", "Francis",
-  "Laslett", "Polacheck", "Somers", "Somers2", "Pauly", "Fabens",
-  "Fabens2", "Wang", "Wang2", "Wang3", "Francis2", "Francis3"),
-  simple = FALSE, msg = FALSE)
-
-GompertzFuns(param = c("Ricker1", "Ricker2", "Ricker3", "QuinnDeriso1",
-  "QuinnDeriso2", "QuinnDeriso3", "QD1", "QD2", "QD3", "Original",
-  "original", "Troynikov1", "Troynikov2"), simple = FALSE, msg = FALSE)
+    
vbFuns(
+  param = c("Typical", "typical", "Traditional", "traditional", "BevertonHolt",
+    "Original", "original", "vonBertalanffy", "GQ", "GallucciQuinn", "Mooij", "Weisberg",
+    "Ogle", "Schnute", "Francis", "Laslett", "Polacheck", "Somers", "Somers2", "Pauly",
+    "Fabens", "Fabens2", "Wang", "Wang2", "Wang3", "Francis2", "Francis3"),
+  simple = FALSE,
+  msg = FALSE
+)
+
+GompertzFuns(
+  param = c("Ricker1", "Ricker2", "Ricker3", "QuinnDeriso1", "QuinnDeriso2",
+    "QuinnDeriso3", "QD1", "QD2", "QD3", "Original", "original", "Troynikov1",
+    "Troynikov2"),
+  simple = FALSE,
+  msg = FALSE
+)
 
 RichardsFuns(param = 1, simple = FALSE, msg = FALSE)
 
-logisticFuns(param = c("CJ1", "CJ2", "Karkach", "Haddon",
-  "CampanaJones1", "CampanaJones2"), simple = FALSE, msg = FALSE)
-
-growthFunShow(type = c("vonBertalanffy", "Gompertz", "Richards",
-  "Logistic", "Schnute", "SchnuteRichards"), param = NULL,
-  case = param, plot = FALSE, ...)
+logisticFuns( + param = c("CJ1", "CJ2", "Karkach", "Haddon", "CampanaJones1", "CampanaJones2"), + simple = FALSE, + msg = FALSE +) + +growthFunShow( + type = c("vonBertalanffy", "Gompertz", "Richards", "Logistic", "Schnute", + "SchnuteRichards"), + param = NULL, + case = param, + plot = FALSE, + ... +)

Arguments

@@ -253,8 +267,8 @@

Examp #> } #> Linf * (1 - exp(-K * (t - t0))) #> } -#> <bytecode: 0x0000000006528440> -#> <environment: 0x0000000016e17f68>
ages <- 0:20 +#> <bytecode: 0x0000000018438850> +#> <environment: 0x00000000183e1e58>
ages <- 0:20 plot(vb1(ages,Linf=20,K=0.3,t0=-0.2)~ages,type="b",pch=19)
( vb2 <- vbFuns("Francis") )
#> function (t, L1, L2 = NULL, L3 = NULL, t1, t3 = NULL) #> { #> if (length(L1) == 3) { @@ -270,15 +284,15 @@

Examp #> L1 + (L3 - L1) * ((1 - r^(2 * ((t - t1)/(t3 - t1))))/(1 - #> r^2)) #> } -#> <bytecode: 0x000000001626c4f8> -#> <environment: 0x0000000015bd39f8>

plot(vb2(ages,L1=10,L2=19,L3=20,t1=2,t3=18)~ages,type="b",pch=19)
( vb2c <- vbFuns("Francis",simple=TRUE) ) # compare to vb2
#> function (t, L1, L2, L3, t1, t3) +#> <bytecode: 0x000000001842f650> +#> <environment: 0x0000000017fcb470>
plot(vb2(ages,L1=10,L2=19,L3=20,t1=2,t3=18)~ages,type="b",pch=19)
( vb2c <- vbFuns("Francis",simple=TRUE) ) # compare to vb2
#> function (t, L1, L2, L3, t1, t3) #> { #> r <- (L3 - L2)/(L2 - L1) #> L1 + (L3 - L1) * ((1 - r^(2 * ((t - t1)/(t3 - t1))))/(1 - #> r^2)) #> } -#> <bytecode: 0x000000001626d7a0> -#> <environment: 0x00000000167fc108>
+#> <bytecode: 0x000000001842d928> +#> <environment: 0x0000000017c1ab18>
## Simple Examples -- Gompertz ( gomp1 <- GompertzFuns() )
#> function (t, Linf, gi = NULL, ti = NULL) #> { @@ -289,8 +303,8 @@

Examp #> } #> Linf * exp(-exp(-gi * (t - ti))) #> } -#> <bytecode: 0x00000000162df2b0> -#> <environment: 0x00000000162e8fc8>

plot(gomp1(ages,Linf=800,gi=0.5,ti=5)~ages,type="b",pch=19)
( gomp2 <- GompertzFuns("Ricker2") )
#> function (t, L0, a = NULL, gi = NULL) +#> <bytecode: 0x0000000017abdf58> +#> <environment: 0x0000000017aad7c0>
plot(gomp1(ages,Linf=800,gi=0.5,ti=5)~ages,type="b",pch=19)
( gomp2 <- GompertzFuns("Ricker2") )
#> function (t, L0, a = NULL, gi = NULL) #> { #> if (length(L0) == 3) { #> a <- L0[[2]] @@ -299,13 +313,13 @@

Examp #> } #> L0 * exp(a * (1 - exp(-gi * t))) #> } -#> <bytecode: 0x00000000162ddf70> -#> <environment: 0x00000000160caf08>

plot(gomp2(ages,L0=2,a=6,gi=0.5)~ages,type="b",pch=19)
( gomp2c <- GompertzFuns("Ricker2",simple=TRUE) ) # compare to gomp2
#> function (t, L0, a, gi) +#> <bytecode: 0x0000000017abb468> +#> <environment: 0x0000000016d75b88>
plot(gomp2(ages,L0=2,a=6,gi=0.5)~ages,type="b",pch=19)
( gomp2c <- GompertzFuns("Ricker2",simple=TRUE) ) # compare to gomp2
#> function (t, L0, a, gi) #> { #> L0 * exp(a * (1 - exp(-gi * t))) #> } -#> <bytecode: 0x00000000162e2f20> -#> <environment: 0x0000000016d3d408>
( gompT <- GompertzFuns("Troynikov1"))
#> function (Lm, dt, Linf, gi = NULL) +#> <bytecode: 0x0000000017abc150> +#> <environment: 0x00000000166ec030>
( gompT <- GompertzFuns("Troynikov1"))
#> function (Lm, dt, Linf, gi = NULL) #> { #> if (length(Linf) == 2) { #> gi <- Linf[2] @@ -313,8 +327,8 @@

Examp #> } #> Linf * ((Lm/Linf)^exp(-gi * dt)) - Lm #> } -#> <bytecode: 0x00000000162e3dd8> -#> <environment: 0x0000000016750dc0>

+#> <bytecode: 0x0000000017ab3280> +#> <environment: 0x000000001665caa0>
## Simple Examples -- Richards ( rich1 <- RichardsFuns() )
#> function (t, Linf, k = NULL, a = NULL, b = NULL) #> { @@ -326,8 +340,8 @@

Examp #> } #> Linf * (1 - a * exp(-k * t))^b #> } -#> <bytecode: 0x0000000015fc4ce8> -#> <environment: 0x0000000015f5cf30>

plot(rich1(ages,Linf=800,k=0.5,a=1,b=6)~ages,type="b",pch=19)
( rich2 <- RichardsFuns(2) )
#> function (t, Linf, k = NULL, ti = NULL, b = NULL) +#> <bytecode: 0x0000000016569178> +#> <environment: 0x000000001654bf38>
plot(rich1(ages,Linf=800,k=0.5,a=1,b=6)~ages,type="b",pch=19)
( rich2 <- RichardsFuns(2) )
#> function (t, Linf, k = NULL, ti = NULL, b = NULL) #> { #> if (length(Linf) == 4) { #> k <- Linf[[2]] @@ -337,8 +351,8 @@

Examp #> } #> Linf * (1 - (1/b) * exp(-k * (t - ti)))^b #> } -#> <bytecode: 0x0000000015fc73e8> -#> <environment: 0x0000000016e032e0>

plot(rich2(ages,Linf=800,k=0.5,ti=3,b=6)~ages,type="b",pch=19)
( rich3 <- RichardsFuns(3) )
#> function (t, Linf, k = NULL, ti = NULL, b = NULL) +#> <bytecode: 0x000000001656a950> +#> <environment: 0x00000000162b5338>
plot(rich2(ages,Linf=800,k=0.5,ti=3,b=6)~ages,type="b",pch=19)
( rich3 <- RichardsFuns(3) )
#> function (t, Linf, k = NULL, ti = NULL, b = NULL) #> { #> if (length(Linf) == 4) { #> k <- Linf[[2]] @@ -348,8 +362,8 @@

Examp #> } #> Linf/((1 + b * exp(-k * (t - ti)))^(1/b)) #> } -#> <bytecode: 0x0000000015fc95e0> -#> <environment: 0x00000000168d4890>

plot(rich3(ages,Linf=800,k=0.5,ti=3,b=0.15)~ages,type="b",pch=19)
( rich4 <- RichardsFuns(4) )
#> function (t, Linf, k = NULL, ti = NULL, b = NULL) +#> <bytecode: 0x0000000016568758> +#> <environment: 0x0000000015eaecf0>
plot(rich3(ages,Linf=800,k=0.5,ti=3,b=0.15)~ages,type="b",pch=19)
( rich4 <- RichardsFuns(4) )
#> function (t, Linf, k = NULL, ti = NULL, b = NULL) #> { #> if (length(Linf) == 4) { #> k <- Linf[[2]] @@ -359,8 +373,8 @@

Examp #> } #> Linf * (1 + (b - 1) * exp(-k * (t - ti)))^(1/(1 - b)) #> } -#> <bytecode: 0x0000000015f54c20> -#> <environment: 0x0000000016f668b8>

plot(rich4(ages,Linf=800,k=0.5,ti=3,b=0.95)~ages,type="b",pch=19)
lines(rich4(ages,Linf=800,k=0.5,ti=3,b=1.5)~ages,type="b",pch=19,col="blue")
( rich5 <- RichardsFuns(5) )
#> function (t, Linf, k = NULL, L0 = NULL, b = NULL) +#> <bytecode: 0x00000000165624c8> +#> <environment: 0x000000000c48c470>
plot(rich4(ages,Linf=800,k=0.5,ti=3,b=0.95)~ages,type="b",pch=19)
lines(rich4(ages,Linf=800,k=0.5,ti=3,b=1.5)~ages,type="b",pch=19,col="blue")
( rich5 <- RichardsFuns(5) )
#> function (t, Linf, k = NULL, L0 = NULL, b = NULL) #> { #> if (length(Linf) == 4) { #> k <- Linf[[2]] @@ -371,8 +385,8 @@

Examp #> Linf * (1 + (((L0/Linf)^(1 - b)) - 1) * exp(-k * t))^(1/(1 - #> b)) #> } -#> <bytecode: 0x0000000015f568a0> -#> <environment: 0x00000000145fa338>

plot(rich5(ages,Linf=800,k=0.5,L0=50,b=1.5)~ages,type="b",pch=19)
( rich6 <- RichardsFuns(6) )
#> function (t, Linf, k = NULL, ti = NULL, Lninf = NULL, b = NULL) +#> <bytecode: 0x000000001655c928> +#> <environment: 0x000000000bc172d0>
plot(rich5(ages,Linf=800,k=0.5,L0=50,b=1.5)~ages,type="b",pch=19)
( rich6 <- RichardsFuns(6) )
#> function (t, Linf, k = NULL, ti = NULL, Lninf = NULL, b = NULL) #> { #> if (length(Linf) == 5) { #> k <- Linf[[2]] @@ -384,13 +398,13 @@

Examp #> Lninf + (Linf - Lninf) * (1 + (b - 1) * exp(-k * (t - ti)))^(1/(1 - #> b)) #> } -#> <bytecode: 0x0000000015f57fa8> -#> <environment: 0x0000000014ba07c0>

plot(rich6(ages,Linf=800,k=0.5,ti=3,Lninf=50,b=1.5)~ages,type="b",pch=19)
( rich2c <- RichardsFuns(2,simple=TRUE) ) # compare to rich2
#> function (t, Linf, k, ti, b) +#> <bytecode: 0x0000000016551128> +#> <environment: 0x000000000b4c5998>
plot(rich6(ages,Linf=800,k=0.5,ti=3,Lninf=50,b=1.5)~ages,type="b",pch=19)
( rich2c <- RichardsFuns(2,simple=TRUE) ) # compare to rich2
#> function (t, Linf, k, ti, b) #> { #> Linf * (1 - (1/b) * exp(-k * (t - ti)))^b #> } -#> <bytecode: 0x0000000015fc9ea0> -#> <environment: 0x0000000012b79160>
+#> <bytecode: 0x0000000016567e98> +#> <environment: 0x000000000afc6100>
## Simple Examples -- Logistic ( log1 <- logisticFuns() )
#> function (t, Linf, gninf = NULL, ti = NULL) #> { @@ -401,8 +415,8 @@

Examp #> } #> Linf/(1 + exp(-gninf * (t - ti))) #> } -#> <bytecode: 0x0000000006b3aa28> -#> <environment: 0x0000000014871780>

plot(log1(ages,Linf=800,gninf=0.5,ti=5)~ages,type="b",pch=19)
( log2 <- logisticFuns("CJ2") )
#> function (t, Linf, gninf = NULL, a = NULL) +#> <bytecode: 0x000000000ae912b0> +#> <environment: 0x000000000ae89518>
plot(log1(ages,Linf=800,gninf=0.5,ti=5)~ages,type="b",pch=19)
( log2 <- logisticFuns("CJ2") )
#> function (t, Linf, gninf = NULL, a = NULL) #> { #> if (length(Linf) == 3) { #> gninf <- Linf[[2]] @@ -411,13 +425,13 @@

Examp #> } #> Linf/(1 + a * exp(-gninf * t)) #> } -#> <bytecode: 0x000000001263f6b0> -#> <environment: 0x00000000134bbb50>

plot(log2(ages,Linf=800,gninf=0.5,a=10)~ages,type="b",pch=19)
( log2c <- logisticFuns("CJ2",simple=TRUE) ) # compare to log2
#> function (t, Linf, gninf, a) +#> <bytecode: 0x000000000ae8c9f0> +#> <environment: 0x000000000acfaaa8>
plot(log2(ages,Linf=800,gninf=0.5,a=10)~ages,type="b",pch=19)
( log2c <- logisticFuns("CJ2",simple=TRUE) ) # compare to log2
#> function (t, Linf, gninf, a) #> { #> Linf/(1 + a * exp(-gninf * t)) #> } -#> <bytecode: 0x0000000012640360> -#> <environment: 0x0000000013b670d8>
( log3 <- logisticFuns("Karkach") )
#> function (t, Linf, L0 = NULL, gninf = NULL) +#> <bytecode: 0x000000000ae8d6d8> +#> <environment: 0x000000000aa673e8>
( log3 <- logisticFuns("Karkach") )
#> function (t, Linf, L0 = NULL, gninf = NULL) #> { #> if (length(Linf) == 3) { #> L0 <- Linf[[2]] @@ -426,8 +440,8 @@

Examp #> } #> L0 * Linf/(L0 + (Linf - L0) * exp(-gninf * t)) #> } -#> <bytecode: 0x0000000012640948> -#> <environment: 0x0000000013a87f00>

plot(log3(ages,L0=10,Linf=800,gninf=0.5)~ages,type="b",pch=19)
( log4 <- logisticFuns("Haddon") )
#> function (Lm, dLmax, L50 = NULL, L95 = NULL) +#> <bytecode: 0x000000000ae8dda0> +#> <environment: 0x000000000a97aca8>
plot(log3(ages,L0=10,Linf=800,gninf=0.5)~ages,type="b",pch=19)
( log4 <- logisticFuns("Haddon") )
#> function (Lm, dLmax, L50 = NULL, L95 = NULL) #> { #> if (length(dLmax) == 3) { #> L50 <- dLmax[2] @@ -436,8 +450,8 @@

Examp #> } #> dLmax/(1 + exp(log(19) * ((Lm - L50)/(L95 - L50)))) #> } -#> <bytecode: 0x0000000012691360> -#> <environment: 0x0000000012a19d90>

+#> <bytecode: 0x000000000ae8b7b8> +#> <environment: 0x0000000009dfdd60>
########################################################### ## Examples of fitting diff --git a/docs/reference/headtail.html b/docs/reference/headtail.html index 7a6e2d9d..120a3888 100644 --- a/docs/reference/headtail.html +++ b/docs/reference/headtail.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27
@@ -415,7 +415,7 @@

Examp class(iris2) headtail(iris2,n=15) head(iris2,n=30) -}
#> Loading required package: dplyr
#> Warning: package 'dplyr' was built under R version 3.6.1
#> +}
#> Loading required package: dplyr
#> Warning: package 'dplyr' was built under R version 3.6.2
#> #> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats': #> #> filter, lag
#> The following objects are masked from 'package:base': diff --git a/docs/reference/hist.formula.html b/docs/reference/hist.formula.html index b67437e9..31ce8705 100644 --- a/docs/reference/hist.formula.html +++ b/docs/reference/hist.formula.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27
@@ -126,12 +126,26 @@

Creates separate histograms by levels.

# S3 method for formula
-hist(formula, data = NULL, main = "",
-  right = FALSE, pre.main = "", xlab = NULL, ylab = "Frequency",
-  same.breaks = TRUE, breaks = "Sturges", w = NULL,
-  same.ylim = TRUE, ymax = NULL, col = "gray90",
-  nrow = round(sqrt(num)), ncol = ceiling(sqrt(num)), byrow = TRUE,
-  iaxs = TRUE, ...)
+hist( + formula, + data=NULL, + main="", + right=FALSE, + pre.main="", + xlab=NULL, + ylab="Frequency", + same.breaks=TRUE, + breaks="Sturges", + w=NULL, + same.ylim=TRUE, + ymax=NULL, + col="gray90", + nrow=round(sqrt(num)), + ncol=ceiling(sqrt(num)), + byrow=TRUE, + iaxs=TRUE, + ... +)

Arguments

diff --git a/docs/reference/histFromSum.html b/docs/reference/histFromSum.html index a971ebfb..be7a9565 100644 --- a/docs/reference/histFromSum.html +++ b/docs/reference/histFromSum.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/hoCoef.html b/docs/reference/hoCoef.html index b5151dcf..5c419b81 100644 --- a/docs/reference/hoCoef.html +++ b/docs/reference/hoCoef.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,7 @@

Performs a hypothesis test that a linear model parameter is equal to a speci

Performs a hypothesis test that a linear model parameter is equal to a specific value. Useful for testing that a parameter is equal to a value other than 0.

-
hoCoef(object, term = 2, bo = 0, alt = c("two.sided", "less",
-  "greater"))
+
hoCoef(object, term = 2, bo = 0, alt = c("two.sided", "less", "greater"))

Arguments

diff --git a/docs/reference/hyperCI.html b/docs/reference/hyperCI.html index 33e32388..783c7e44 100644 --- a/docs/reference/hyperCI.html +++ b/docs/reference/hyperCI.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/index.html b/docs/reference/index.html index 333d2c3a..434331a5 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -76,7 +76,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/knitUtil.html b/docs/reference/knitUtil.html index 4fcba0ba..a7e13957 100644 --- a/docs/reference/knitUtil.html +++ b/docs/reference/knitUtil.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -129,13 +129,29 @@

Specific utilities for use in a knitr document.

kPvalue(value, digits=4, include.p=TRUE, latex=TRUE) -purl2(file, out.dir=NULL, newname=NULL, topnotes=NULL, - moreItems=NULL, blanks=c("extra", "all", "none"), - delHeader=NULL, timestamp=TRUE, ...) - -reproInfo(out=c("r", "markdown", "latex"), rqrdPkgs=NULL, - elapsed=NULL, width=0.95 * getOption("width"), addTOC=TRUE, - newpage=FALSE, links=NULL, closeGraphics=TRUE, ind=1) +purl2( + file, + out.dir=NULL, + newname=NULL, + topnotes=NULL, + moreItems=NULL, + blanks=c("extra", "all", "none"), + delHeader=NULL, + timestamp=TRUE, + ... +) + +reproInfo( + out=c("r", "markdown", "latex"), + rqrdPkgs=NULL, + elapsed=NULL, + width=0.95 * getOption("width"), + addTOC=TRUE, + newpage=FALSE, + links=NULL, + closeGraphics=TRUE, + ind=1 +)

Arguments

diff --git a/docs/reference/ksTest.html b/docs/reference/ksTest.html index 268423f4..c4d801e7 100644 --- a/docs/reference/ksTest.html +++ b/docs/reference/ksTest.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -128,12 +128,22 @@

Kolmogorov-Smirnov Tests.

ksTest(x, ...)
 
 # S3 method for default
-ksTest(x, y, ..., alternative = c("two.sided", "less",
-  "greater"), exact = NULL)
+ksTest(
+  x,
+  y,
+  ...,
+  alternative = c("two.sided", "less", "greater"),
+  exact = NULL
+)
 
 # S3 method for formula
-ksTest(x, data = NULL, ...,
-  alternative = c("two.sided", "less", "greater"), exact = NULL)
+ksTest( + x, + data=NULL, + ..., + alternative=c("two.sided", "less", "greater"), + exact=NULL +)

Arguments

diff --git a/docs/reference/lagratio.html b/docs/reference/lagratio.html index 51ed5755..242a4bcc 100644 --- a/docs/reference/lagratio.html +++ b/docs/reference/lagratio.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,14 @@

Ratio of lagged observations.

Computes the ratio of lagged observations in a vector.

-
lagratio(x, lag = 1L, recursion = 1L, differences = recursion,
-  direction = c("backward", "forward"), ...)
+
lagratio(
+  x,
+  lag = 1L,
+  recursion = 1L,
+  differences = recursion,
+  direction = c("backward", "forward"),
+  ...
+)

Arguments

diff --git a/docs/reference/lencat.html b/docs/reference/lencat.html index d484bc7e..35781c6b 100644 --- a/docs/reference/lencat.html +++ b/docs/reference/lencat.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -128,15 +128,34 @@

Constructs length class/category variable.

lencat(x, ...)
 
 # S3 method for default
-lencat(x, w = 1, startcat = NULL, breaks = NULL,
-  right = FALSE, use.names = FALSE, as.fact = use.names,
-  droplevels = drop.levels, drop.levels = FALSE, ...)
+lencat(
+  x,
+  w = 1,
+  startcat = NULL,
+  breaks = NULL,
+  right = FALSE,
+  use.names = FALSE,
+  as.fact = use.names,
+  droplevels = drop.levels,
+  drop.levels = FALSE,
+  ...
+)
 
 # S3 method for formula
-lencat(x, data, w = 1, startcat = NULL,
-  breaks = NULL, right = FALSE, use.names = FALSE,
-  as.fact = use.names, droplevels = drop.levels, drop.levels = FALSE,
-  vname = NULL, ...)
+lencat( + x, + data, + w=1, + startcat=NULL, + breaks=NULL, + right=FALSE, + use.names=FALSE, + as.fact=use.names, + droplevels=drop.levels, + drop.levels=FALSE, + vname=NULL, + ... +)

Arguments

diff --git a/docs/reference/logbtcf.html b/docs/reference/logbtcf.html index 69491377..f0bbb115 100644 --- a/docs/reference/logbtcf.html +++ b/docs/reference/logbtcf.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/lwCompPreds.html b/docs/reference/lwCompPreds.html index e7d64c72..4def67f4 100644 --- a/docs/reference/lwCompPreds.html +++ b/docs/reference/lwCompPreds.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,13 +125,27 @@

Constructs plots of predicted weights at given lengths among different group

Constructs plots of predicted weights at given lengths among different groups. These plots allow the user to explore differences in predicted weights at a variety of lengths when the weight-length relationship is not the same across a variety of groups.

-
lwCompPreds(object, lens = NULL, qlens = c(0.05, 0.25, 0.5, 0.75,
-  0.95), qlens.dec = 1, base = exp(1), interval = c("confidence",
-  "prediction", "both"), center.value = 0, lwd = 1,
-  connect.preds = TRUE, show.preds = FALSE, col.connect = "gray50",
-  ylim = NULL, main.pre = "Length==", cex.main = 0.8,
-  xlab = "Groups", ylab = "Predicted Weight", yaxs = "r",
-  rows = round(sqrt(num)), cols = ceiling(sqrt(num)))
+
lwCompPreds(
+  object,
+  lens = NULL,
+  qlens = c(0.05, 0.25, 0.5, 0.75, 0.95),
+  qlens.dec = 1,
+  base = exp(1),
+  interval = c("confidence", "prediction", "both"),
+  center.value = 0,
+  lwd = 1,
+  connect.preds = TRUE,
+  show.preds = FALSE,
+  col.connect = "gray50",
+  ylim = NULL,
+  main.pre = "Length==",
+  cex.main = 0.8,
+  xlab = "Groups",
+  ylab = "Predicted Weight",
+  yaxs = "r",
+  rows = round(sqrt(num)),
+  cols = ceiling(sqrt(num))
+)

Arguments

@@ -212,10 +226,6 @@

Arg

- - - -
cols

A single numeric that contains the number of columns to use on the graphic.

...

Other arguments to pass through to the plot function.

Value

diff --git a/docs/reference/mapvalues.html b/docs/reference/mapvalues.html index 96ffe4e3..ba413aa6 100644 --- a/docs/reference/mapvalues.html +++ b/docs/reference/mapvalues.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/metaM.html b/docs/reference/metaM.html index 3c747c23..1714eadc 100644 --- a/docs/reference/metaM.html +++ b/docs/reference/metaM.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -127,9 +127,19 @@

Estimate natural mortality from a variety of empirical methods.

Mmethods(what = c("all", "tmax", "K", "Hoenig", "Pauly"))
 
-metaM(method = Mmethods(), justM = TRUE, tmax = NULL, K = NULL,
-  Linf = NULL, t0 = NULL, b = NULL, L = NULL, Temp = NULL,
-  t50 = NULL, Winf = NULL)
+metaM(
+  method = Mmethods(),
+  justM = TRUE,
+  tmax = NULL,
+  K = NULL,
+  Linf = NULL,
+  t0 = NULL,
+  b = NULL,
+  L = NULL,
+  Temp = NULL,
+  t50 = NULL,
+  Winf = NULL
+)
 
 # S3 method for metaM
 print(x, digits = 4, ...)
diff --git a/docs/reference/mrClosed.html b/docs/reference/mrClosed.html index 2568bf01..af6e7f1c 100644 --- a/docs/reference/mrClosed.html +++ b/docs/reference/mrClosed.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,35 +125,73 @@

Estimate initial population size for single or multiple census mark-recaptur

Estimates of the initial population size, along with associated confidence intervals, are constructed from single or multiple census mark-recapture data using a variety of methods. For single census data, the initial population size (N) is estimated from the number of marked animals from a first sample (M), number of captured animals in a second sample (n), and the number of recaptured marked animals in the second sample (m) using either the ‘naive’ Petersen method or Chapman, Ricker, or Bailey modifications of the Petersen method. Single census data can also be separated by group (e.g., size class) to estimate the initial population size by class and for the overall population size. For multiple census data, the initial population size is estimated from the number of captured animals (n), number of recaptured marked animals (m), the number of marked animals that are marked and returned to the population (R), or the number of extant marked animals prior to the sample (M) on each of several samples using either the Schnabel (1938) or Schumacher-Eschmeyer (1943) method.

-
mrClosed(M = NULL, n = NULL, m = NULL, R = NULL,
+    
mrClosed(
+  M = NULL,
+  n = NULL,
+  m = NULL,
+  R = NULL,
   method = c("Petersen", "Chapman", "Ricker", "Bailey", "Schnabel",
-  "SchumacherEschmeyer"), labels = NULL, chapman.mod = TRUE)
+    "SchumacherEschmeyer"),
+  labels = NULL,
+  chapman.mod = TRUE
+)
 
 # S3 method for mrClosed1
-summary(object, digits = 0, incl.SE = FALSE,
-  incl.all = TRUE, verbose = FALSE, ...)
+summary(
+  object,
+  digits = 0,
+  incl.SE = FALSE,
+  incl.all = TRUE,
+  verbose = FALSE,
+  ...
+)
 
 # S3 method for mrClosed1
-confint(object, parm = NULL, level = conf.level,
-  conf.level = 0.95, digits = 0, type = c("suggested", "binomial",
-  "hypergeometric", "normal", "Poisson"), bin.type = c("wilson", "exact",
-  "asymptotic"), poi.type = c("exact", "daly", "byar", "asymptotic"),
-  incl.all = TRUE, verbose = FALSE, ...)
+confint(
+  object,
+  parm = NULL,
+  level = conf.level,
+  conf.level = 0.95,
+  digits = 0,
+  type = c("suggested", "binomial", "hypergeometric", "normal", "Poisson"),
+  bin.type = c("wilson", "exact", "asymptotic"),
+  poi.type = c("exact", "daly", "byar", "asymptotic"),
+  incl.all = TRUE,
+  verbose = FALSE,
+  ...
+)
 
 # S3 method for mrClosed2
 summary(object, digits = 0, verbose = FALSE, ...)
 
 # S3 method for mrClosed2
-confint(object, parm = NULL, level = conf.level,
-  conf.level = 0.95, digits = 0, type = c("suggested", "normal",
-  "Poisson"), poi.type = c("exact", "daly", "byar", "asymptotic"),
-  verbose = FALSE, ...)
+confint(
+  object,
+  parm = NULL,
+  level = conf.level,
+  conf.level = 0.95,
+  digits = 0,
+  type = c("suggested", "normal", "Poisson"),
+  poi.type = c("exact", "daly", "byar", "asymptotic"),
+  verbose = FALSE,
+  ...
+)
 
 # S3 method for mrClosed2
-plot(x, pch = 19, col.pt = "black",
-  xlab = "Marked in Population", ylab = "Prop. Recaptures in Sample",
-  loess = FALSE, lty.loess = 2, lwd.loess = 1,
-  col.loess = "gray20", trans.loess = 10, span = 0.9, ...)
+plot( + x, + pch = 19, + col.pt = "black", + xlab = "Marked in Population", + ylab = "Prop. Recaptures in Sample", + loess = FALSE, + lty.loess = 2, + lwd.loess = 1, + col.loess = "gray20", + trans.loess = 10, + span = 0.9, + ... +)

Arguments

diff --git a/docs/reference/mrOpen.html b/docs/reference/mrOpen.html index 0117629c..dc710045 100644 --- a/docs/reference/mrOpen.html +++ b/docs/reference/mrOpen.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -127,16 +127,26 @@

Jolly-Seber analysis from multiple mark-recapture events from an open popula
jolly(...)
 
-mrOpen(mb.top, mb.bot = NULL, type = c("Jolly", "Manly"),
-  conf.level = 0.95, phi.full = TRUE)
+mrOpen(
+  mb.top,
+  mb.bot = NULL,
+  type = c("Jolly", "Manly"),
+  conf.level = 0.95,
+  phi.full = TRUE
+)
 
 # S3 method for mrOpen
-summary(object, parm = c("N", "phi", "B", "M"),
-  verbose = FALSE, ...)
+summary(object, parm = c("N", "phi", "B", "M"), verbose = FALSE, ...)
 
 # S3 method for mrOpen
-confint(object, parm = c("N", "phi", "B"),
-  level = NULL, conf.level = NULL, verbose = FALSE, ...)
+confint( + object, + parm = c("N", "phi", "B"), + level = NULL, + conf.level = NULL, + verbose = FALSE, + ... +)

Arguments

diff --git a/docs/reference/nlsBoot.html b/docs/reference/nlsBoot.html index 70383c4f..75f8394e 100644 --- a/docs/reference/nlsBoot.html +++ b/docs/reference/nlsBoot.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -126,19 +126,33 @@

Associated S3 methods for nlsBoot from nlstools.

# S3 method for nlsBoot
-confint(object, parm = NULL, level = conf.level,
-  conf.level = 0.95, plot = FALSE, err.col = "black", err.lwd = 2,
-  rows = NULL, cols = NULL, ...)
+confint(
+  object,
+  parm = NULL,
+  level = conf.level,
+  conf.level = 0.95,
+  plot = FALSE,
+  err.col = "black",
+  err.lwd = 2,
+  rows = NULL,
+  cols = NULL,
+  ...
+)
 
 # S3 method for nlsBoot
-predict(object, FUN, conf.level = 0.95,
-  digits = NULL, ...)
+predict(object, FUN, conf.level = 0.95, digits = NULL, ...)
 
 htest(object, ...)
 
 # S3 method for nlsBoot
-htest(object, parm = NULL, bo = 0,
-  alt = c("two.sided", "less", "greater"), plot = FALSE, ...)
+htest( + object, + parm=NULL, + bo=0, + alt=c("two.sided", "less", "greater"), + plot=FALSE, + ... +)

Arguments

diff --git a/docs/reference/nlsTracePlot.html b/docs/reference/nlsTracePlot.html index 300e0734..608edfd2 100644 --- a/docs/reference/nlsTracePlot.html +++ b/docs/reference/nlsTracePlot.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,9 +125,20 @@

Adds model fits from nls iterations to active plot.

Adds model fits from iterations of the nls algorithm as returned when trace=TRUE. Useful for diagnosing model fitting problems or issues associated with starting values.

-
nlsTracePlot(object, fun, from = NULL, to = NULL, n = 199, lwd = 2,
-  pal = paletteChoices(), rev.col = FALSE, legend = "topright",
-  cex.leg = 0.9, box.lty.leg = 0, add = TRUE)
+
nlsTracePlot(
+  object,
+  fun,
+  from = NULL,
+  to = NULL,
+  n = 199,
+  lwd = 2,
+  pal = paletteChoices(),
+  rev.col = FALSE,
+  legend = "topright",
+  cex.leg = 0.9,
+  box.lty.leg = 0,
+  add = TRUE
+)

Arguments

diff --git a/docs/reference/oddeven.html b/docs/reference/oddeven.html index c0677c74..cbfeb708 100644 --- a/docs/reference/oddeven.html +++ b/docs/reference/oddeven.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/perc.html b/docs/reference/perc.html index b2eb372b..7d6ab9fe 100644 --- a/docs/reference/perc.html +++ b/docs/reference/perc.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,13 @@

Computes the percentage of values in a vector less than or greater than (and

Computes the percentage of values in a vector less than or greater than (and equal to) a user-supplied value.

-
perc(x, val, dir = c("geq", "gt", "leq", "lt"), na.rm = TRUE,
-  digits = getOption("digits"))
+
perc(
+  x,
+  val,
+  dir = c("geq", "gt", "leq", "lt"),
+  na.rm = TRUE,
+  digits = getOption("digits")
+)

Arguments

diff --git a/docs/reference/plotAB.html b/docs/reference/plotAB.html index 62626d49..6ce52ff4 100644 --- a/docs/reference/plotAB.html +++ b/docs/reference/plotAB.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,14 +125,34 @@

Construct traditional (Campana-like) age-bias plots.

Constructs a traditional (e.g., like that described in Campana et al. (1995)) age-bias plot to visualize potential differences in paired age estimates. Ages may be from, for example, two readers of the same structure, one reader at two times, two structures (e.g., scales, spines, otoliths), or one structure and known ages.

-
plotAB(x, what = c("bias", "Campana", "numbers"), xlab = x$ref.lab,
-  ylab = x$nref.lab, xlim = NULL, ylim = NULL,
-  yaxt = graphics::par("yaxt"), xaxt = graphics::par("xaxt"),
-  col.agree = "gray60", lwd.agree = lwd, lty.agree = 2, lwd = 1,
-  sfrac = 0, pch.mean = 19, pch.mean.sig = 21, cex.mean = lwd,
-  col.CI = "black", col.CIsig = "red", lwd.CI = lwd,
-  sfrac.CI = sfrac, show.n = FALSE, nYpos = 1.03, cex.n = 0.75,
-  cex.numbers = 0.75, col.numbers = "black", ...)
+
plotAB(
+  x,
+  what = c("bias", "Campana", "numbers"),
+  xlab = x$ref.lab,
+  ylab = x$nref.lab,
+  xlim = NULL,
+  ylim = NULL,
+  yaxt = graphics::par("yaxt"),
+  xaxt = graphics::par("xaxt"),
+  col.agree = "gray60",
+  lwd.agree = lwd,
+  lty.agree = 2,
+  lwd = 1,
+  sfrac = 0,
+  pch.mean = 19,
+  pch.mean.sig = 21,
+  cex.mean = lwd,
+  col.CI = "black",
+  col.CIsig = "red",
+  lwd.CI = lwd,
+  sfrac.CI = sfrac,
+  show.n = FALSE,
+  nYpos = 1.03,
+  cex.n = 0.75,
+  cex.numbers = 0.75,
+  col.numbers = "black",
+  ...
+)

Arguments

diff --git a/docs/reference/plotBinResp.html b/docs/reference/plotBinResp.html index 29a27139..bd42a592 100644 --- a/docs/reference/plotBinResp.html +++ b/docs/reference/plotBinResp.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -128,16 +128,27 @@

Plots a binary response variable versus a quantitative explanatory variable.
plotBinResp(x, ...)
 
 # S3 method for default
-plotBinResp(x, y, xlab = paste(deparse(substitute(x))),
-  ylab = paste(deparse(substitute(y))), plot.pts = TRUE,
-  col.pt = "black", transparency = NULL, plot.p = TRUE,
-  breaks = 25, p.col = "blue", p.pch = 3, p.cex = 1.25,
-  yaxis1.ticks = seq(0, 1, 0.1), yaxis1.lbls = c(0, 0.5, 1),
-  yaxis2.show = TRUE, ...)
+plotBinResp(
+  x,
+  y,
+  xlab = paste(deparse(substitute(x))),
+  ylab = paste(deparse(substitute(y))),
+  plot.pts = TRUE,
+  col.pt = "black",
+  transparency = NULL,
+  plot.p = TRUE,
+  breaks = 25,
+  p.col = "blue",
+  p.pch = 3,
+  p.cex = 1.25,
+  yaxis1.ticks = seq(0, 1, 0.1),
+  yaxis1.lbls = c(0, 0.5, 1),
+  yaxis2.show = TRUE,
+  ...
+)
 
 # S3 method for formula
-plotBinResp(x, data = NULL, xlab = names(mf)[2],
-  ylab = names(mf)[1], ...)
+plotBinResp(x, data = NULL, xlab = names(mf)[2], ylab = names(mf)[1], ...)

Arguments

diff --git a/docs/reference/poiCI.html b/docs/reference/poiCI.html index 1049c3a4..9ad2f9a9 100644 --- a/docs/reference/poiCI.html +++ b/docs/reference/poiCI.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,12 @@

Confidence interval for Poisson counts.

Computes a confidence interval for the Poisson counts.

-
poiCI(x, conf.level = 0.95, type = c("exact", "daly", "byar",
-  "asymptotic"), verbose = FALSE)
+
poiCI(
+  x,
+  conf.level = 0.95,
+  type = c("exact", "daly", "byar", "asymptotic"),
+  verbose = FALSE
+)

Arguments

diff --git a/docs/reference/psdAdd.html b/docs/reference/psdAdd.html index d7049846..492a0633 100644 --- a/docs/reference/psdAdd.html +++ b/docs/reference/psdAdd.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -128,14 +128,28 @@

Creates a vector of Gabelhouse lengths for each species in an entire data fr
psdAdd(len, ...)
 
 # S3 method for default
-psdAdd(len, species, units = c("mm", "cm", "in"),
-  use.names = TRUE, addSpec = NULL, addLens = NULL, verbose = TRUE,
-  ...)
+psdAdd(
+  len,
+  species,
+  units = c("mm", "cm", "in"),
+  use.names = TRUE,
+  addSpec = NULL,
+  addLens = NULL,
+  verbose = TRUE,
+  ...
+)
 
 # S3 method for formula
-psdAdd(len, data = NULL, units = c("mm", "cm", "in"),
-  use.names = TRUE, addSpec = NULL, addLens = NULL, verbose = TRUE,
-  ...)
+psdAdd( + len, + data = NULL, + units = c("mm", "cm", "in"), + use.names = TRUE, + addSpec = NULL, + addLens = NULL, + verbose = TRUE, + ... +)

Arguments

diff --git a/docs/reference/psdCI.html b/docs/reference/psdCI.html index d0f5dfc5..7d1aa97d 100644 --- a/docs/reference/psdCI.html +++ b/docs/reference/psdCI.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,9 +125,16 @@

Compute confidence intervals for PSD-X and PSD X-Y values.

Compute confidence intervals for (traditional) PSD-X and (incremental) PSD X-Y values as requested by the user.

-
psdCI(indvec, ptbl, n, method = c("binomial", "multinomial"),
-  bin.type = c("wilson", "exact", "asymptotic"), conf.level = 0.95,
-  label = NULL, digits = 1)
+
psdCI(
+  indvec,
+  ptbl,
+  n,
+  method = c("binomial", "multinomial"),
+  bin.type = c("wilson", "exact", "asymptotic"),
+  conf.level = 0.95,
+  label = NULL,
+  digits = 1
+)

Arguments

diff --git a/docs/reference/psdCalc.html b/docs/reference/psdCalc.html index b57229aa..d223a655 100644 --- a/docs/reference/psdCalc.html +++ b/docs/reference/psdCalc.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,11 +125,21 @@

Convenience function for calculating PSD-X and PSD X-Y values.

Convenience function for calculating (traditional) PSD-X and (incremental) PSD X-Y values for all Gabelhouse lengths and increments thereof.

-
psdCalc(formula, data, species, units = c("mm", "cm", "in"),
-  method = c("multinomial", "binomial"), conf.level = 0.95,
-  addLens = NULL, addNames = NULL, justAdds = FALSE,
+    
psdCalc(
+  formula,
+  data,
+  species,
+  units = c("mm", "cm", "in"),
+  method = c("multinomial", "binomial"),
+  conf.level = 0.95,
+  addLens = NULL,
+  addNames = NULL,
+  justAdds = FALSE,
   what = c("all", "traditional", "incremental", "none"),
-  drop0Est = TRUE, showIntermediate = FALSE, digits = 0)
+ drop0Est = TRUE, + showIntermediate = FALSE, + digits = 0 +)

Arguments

diff --git a/docs/reference/psdPlot.html b/docs/reference/psdPlot.html index aaa3ae77..334c3599 100644 --- a/docs/reference/psdPlot.html +++ b/docs/reference/psdPlot.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,12 +125,30 @@

Length-frequency histogram with Gabelhouse lengths highlighted.

Constructs a length-frequency histogram with Gabelhouse lengths highlighted.

-
psdPlot(formula, data, species = "List", units = c("mm", "cm", "in"),
-  startcat = 0, w = 1, justPSDQ = FALSE, main = "",
-  xlab = "Length", ylab = "Number", xlim = NULL, ylim = c(0,
-  max(h$counts)), substock.col = "white", stock.col = "gray90",
-  psd.col = "black", psd.lty = 2, psd.lwd = 1, show.abbrevs = TRUE,
-  psd.add = TRUE, psd.pos = "topleft", psd.cex = 0.75, ...)
+
psdPlot(
+  formula,
+  data,
+  species = "List",
+  units = c("mm", "cm", "in"),
+  startcat = 0,
+  w = 1,
+  justPSDQ = FALSE,
+  main = "",
+  xlab = "Length",
+  ylab = "Number",
+  xlim = NULL,
+  ylim = c(0, max(h$counts)),
+  substock.col = "white",
+  stock.col = "gray90",
+  psd.col = "black",
+  psd.lty = 2,
+  psd.lwd = 1,
+  show.abbrevs = TRUE,
+  psd.add = TRUE,
+  psd.pos = "topleft",
+  psd.cex = 0.75,
+  ...
+)

Arguments

diff --git a/docs/reference/psdVal.html b/docs/reference/psdVal.html index 15c1dbb7..41c81a08 100644 --- a/docs/reference/psdVal.html +++ b/docs/reference/psdVal.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,13 @@

Finds Gabelhouse lengths (for PSD calculations) for a species.

Returns a vector with the five Gabelhouse lengths for a chosen species.

-
psdVal(species = "List", units = c("mm", "cm", "in"),
-  incl.zero = TRUE, addLens = NULL, addNames = NULL)
+
psdVal(
+  species = "List",
+  units = c("mm", "cm", "in"),
+  incl.zero = TRUE,
+  addLens = NULL,
+  addNames = NULL
+)

Arguments

diff --git a/docs/reference/rSquared.html b/docs/reference/rSquared.html index d72b845c..4f694c9a 100644 --- a/docs/reference/rSquared.html +++ b/docs/reference/rSquared.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -131,8 +131,7 @@

Extract the coefficient of determination from a linear model object.

rSquared(object, ...) # S3 method for lm -rSquared(object, digits=getOption("digits"), - percent=FALSE, ...) +rSquared(object, digits=getOption("digits"), percent=FALSE, ...)

Arguments

diff --git a/docs/reference/rcumsum.html b/docs/reference/rcumsum.html index 0cdc7e9d..88d8b78e 100644 --- a/docs/reference/rcumsum.html +++ b/docs/reference/rcumsum.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/removal.html b/docs/reference/removal.html index b9406d83..e3006c54 100644 --- a/docs/reference/removal.html +++ b/docs/reference/removal.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,19 +125,38 @@

Population estimates for k-, 3-, or 2-pass removal data.

Computes estimates, with confidence intervals, of the population size and probability of capture from the number of fish removed in k-, 3-, or 2-passes in a closed population.

-
removal(catch, method = c("CarleStrub", "Zippin", "Seber3", "Seber2",
-  "RobsonRegier2", "Moran", "Schnute", "Burnham"), alpha = 1, beta = 1,
-  CS.se = c("Zippin", "alternative"), conf.level = 0.95,
-  just.ests = FALSE, Tmult = 3, CIMicroFish = FALSE)
+    
removal(
+  catch,
+  method = c("CarleStrub", "Zippin", "Seber3", "Seber2", "RobsonRegier2", "Moran",
+    "Schnute", "Burnham"),
+  alpha = 1,
+  beta = 1,
+  CS.se = c("Zippin", "alternative"),
+  conf.level = 0.95,
+  just.ests = FALSE,
+  Tmult = 3,
+  CIMicroFish = FALSE
+)
 
 # S3 method for removal
-summary(object, parm = c("No", "p", "p1"),
-  digits = getOption("digits"), verbose = FALSE, ...)
+summary(
+  object,
+  parm = c("No", "p", "p1"),
+  digits = getOption("digits"),
+  verbose = FALSE,
+  ...
+)
 
 # S3 method for removal
-confint(object, parm = c("No", "p"),
-  level = conf.level, conf.level = NULL,
-  digits = getOption("digits"), verbose = FALSE, ...)
+confint( + object, + parm = c("No", "p"), + level = conf.level, + conf.level = NULL, + digits = getOption("digits"), + verbose = FALSE, + ... +)

Arguments

diff --git a/docs/reference/residPlot.html b/docs/reference/residPlot.html index e368c801..110e512b 100644 --- a/docs/reference/residPlot.html +++ b/docs/reference/residPlot.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -131,54 +131,123 @@

Construct a residual plot from lm or nls objects.

residPlot(object, ...) # S3 method for SLR -residPlot(object, xlab="Fitted Values", - ylab="Residuals", main="", pch=16, col="black", - lty.ref=3, lwd.ref=1, col.ref="black", +residPlot( + object, + xlab="Fitted Values", + ylab="Residuals", + main="", + pch=16, + col="black", + lty.ref=3, + lwd.ref=1, + col.ref="black", resid.type=c("raw", "standardized", "studentized"), - outlier.test=TRUE, alpha=0.05, loess=FALSE, lty.loess=2, - lwd.loess=1, col.loess="black", trans.loess=8, - inclHist=TRUE, ...) + outlier.test=TRUE, + alpha=0.05, + loess=FALSE, + lty.loess=2, + lwd.loess=1, + col.loess="black", + trans.loess=8, + inclHist=TRUE, + ... +) # S3 method for POLYresidPlot(object, ...) # S3 method for IVR -residPlot(object, legend="topright", cex.leg=1, - box.lty.leg=0, ...) +residPlot(object, legend="topright", cex.leg=1, box.lty.leg=0, ...) # S3 method for ONEWAY -residPlot(object, xlab="Fitted Values", - ylab="Residuals", main="", pch=16, col="black", - lty.ref=3, lwd.ref=1, col.ref="black", - resid.type=c("raw", "standardized", "studentized"), bp=TRUE, - outlier.test=TRUE, alpha=0.05, loess=FALSE, lty.loess=2, - lwd.loess=1, col.loess="black", trans.loess=8, - inclHist=TRUE, ...) +residPlot( + object, + xlab="Fitted Values", + ylab="Residuals", + main="", + pch=16, + col="black", + lty.ref=3, + lwd.ref=1, + col.ref="black", + resid.type=c("raw", "standardized", "studentized"), + bp=TRUE, + outlier.test=TRUE, + alpha=0.05, + loess=FALSE, + lty.loess=2, + lwd.loess=1, + col.loess="black", + trans.loess=8, + inclHist=TRUE, + ... +) # S3 method for TWOWAY -residPlot(object, xlab="Fitted Values", - ylab="Residuals", main="", pch=16, col="black", - lty.ref=3, lwd.ref=1, col.ref="black", - resid.type=c("raw", "standardized", "studentized"), bp=TRUE, - outlier.test=TRUE, alpha=0.05, loess=FALSE, lty.loess=2, - lwd.loess=1, col.loess="black", trans.loess=8, - inclHist=TRUE, ...) +residPlot( + object, + xlab="Fitted Values", + ylab="Residuals", + main="", + pch=16, + col="black", + lty.ref=3, + lwd.ref=1, + col.ref="black", + resid.type=c("raw", "standardized", "studentized"), + bp=TRUE, + outlier.test=TRUE, + alpha=0.05, + loess=FALSE, + lty.loess=2, + lwd.loess=1, + col.loess="black", + trans.loess=8, + inclHist=TRUE, + ... +) # S3 method for nls -residPlot(object, xlab="Fitted Values", - ylab="Residuals", main="", pch=16, col="black", - lty.ref=3, lwd.ref=1, col.ref="black", - resid.type=c("raw", "standardized", "studentized"), loess=FALSE, - lty.loess=2, lwd.loess=1, col.loess="black", - trans.loess=8, inclHist=TRUE, ...) +residPlot( + object, + xlab="Fitted Values", + ylab="Residuals", + main="", + pch=16, + col="black", + lty.ref=3, + lwd.ref=1, + col.ref="black", + resid.type=c("raw", "standardized", "studentized"), + loess=FALSE, + lty.loess=2, + lwd.loess=1, + col.loess="black", + trans.loess=8, + inclHist=TRUE, + ... +) # S3 method for nlme -residPlot(object, xlab="Fitted Values", - ylab="Residuals", main="", pch=16, col="black", - lty.ref=3, lwd.ref=1, col.ref="black", - resid.type=c("raw", "standardized", "studentized"), loess=FALSE, - lty.loess=2, lwd.loess=1, col.loess="black", - trans.loess=8, inclHist=TRUE, ...) +residPlot( + object, + xlab="Fitted Values", + ylab="Residuals", + main="", + pch=16, + col="black", + lty.ref=3, + lwd.ref=1, + col.ref="black", + resid.type=c("raw", "standardized", "studentized"), + loess=FALSE, + lty.loess=2, + lwd.loess=1, + col.loess="black", + trans.loess=8, + inclHist=TRUE, + ... +)

Arguments

diff --git a/docs/reference/se.html b/docs/reference/se.html index 723adebe..76711323 100644 --- a/docs/reference/se.html +++ b/docs/reference/se.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/srStarts.html b/docs/reference/srStarts.html index 9688985c..1137f6ef 100644 --- a/docs/reference/srStarts.html +++ b/docs/reference/srStarts.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,10 +125,21 @@

Finds reasonable starting values for parameters in specific parameterization

Finds reasonable starting values for parameters in specific parameterizations of the “Beverton-Holt”, “Ricker”, “Shepherd”, or “Saila-Lorda” stock-recruitment models. Use srFunShow() to see the equations of each model.

-
srStarts(formula, data = NULL, type = c("BevertonHolt", "Ricker",
-  "Shepherd", "SailaLorda", "independence"), param = 1, fixed = NULL,
-  plot = FALSE, col.mdl = "gray70", lwd.mdl = 3, lty.mdl = 1,
-  cex.main = 0.9, col.main = "red", dynamicPlot = FALSE, ...)
+
srStarts(
+  formula,
+  data = NULL,
+  type = c("BevertonHolt", "Ricker", "Shepherd", "SailaLorda", "independence"),
+  param = 1,
+  fixed = NULL,
+  plot = FALSE,
+  col.mdl = "gray70",
+  lwd.mdl = 3,
+  lty.mdl = 1,
+  cex.main = 0.9,
+  col.main = "red",
+  dynamicPlot = FALSE,
+  ...
+)

Arguments

diff --git a/docs/reference/stockRecruitment.html b/docs/reference/stockRecruitment.html index 563cfc3c..03b7b4e6 100644 --- a/docs/reference/stockRecruitment.html +++ b/docs/reference/stockRecruitment.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,11 +125,19 @@

Creates a function for a specific parameterization of a common stock-recruit

Creates a function for a specific parameterization of a “Beverton-Holt”, “Ricker”, “Shepherd”, or “Saila-Lorda” stock-recruitment function. Use srFunShow() to see the equations of each function.

-
srFuns(type = c("BevertonHolt", "Ricker", "Shepherd", "SailaLorda",
-  "independence"), param = 1, simple = FALSE, msg = FALSE)
+    
srFuns(
+  type = c("BevertonHolt", "Ricker", "Shepherd", "SailaLorda", "independence"),
+  param = 1,
+  simple = FALSE,
+  msg = FALSE
+)
 
-srFunShow(type = c("BevertonHolt", "Ricker", "Shepherd", "SailaLorda"),
-  param = 1, plot = FALSE, ...)
+srFunShow( + type = c("BevertonHolt", "Ricker", "Shepherd", "SailaLorda"), + param = 1, + plot = FALSE, + ... +)

Arguments

@@ -197,8 +205,8 @@

Examp #> } #> a * S * exp(-b * S) #> } -#> <bytecode: 0x0000000015bce0c0> -#> <environment: 0x000000001645d5c0>
+#> <bytecode: 0x0000000016f70488> +#> <environment: 0x000000001871c550>
# create some dummy stock data stock <- seq(0.01,1000,length.out=199) @@ -211,8 +219,8 @@

Examp #> } #> a * S/(1 + b * S) #> } -#> <bytecode: 0x000000001696c6a0> -#> <environment: 0x00000000174d3650>

plot(bh1(stock,a=0.5,b=0.01)~stock,type="l",lwd=2,ylab="Recruits",xlab="Spawners",ylim=c(0,50))
+#> <bytecode: 0x0000000016fdfc08> +#> <environment: 0x000000001621ffd0>
plot(bh1(stock,a=0.5,b=0.01)~stock,type="l",lwd=2,ylab="Recruits",xlab="Spawners",ylim=c(0,50))
# Ricker #1 parameterization ( r1 <- srFuns("Ricker") )
#> function (S, a, b = NULL) #> { @@ -222,8 +230,8 @@

Examp #> } #> a * S * exp(-b * S) #> } -#> <bytecode: 0x0000000015bce0c0> -#> <environment: 0x0000000016e4d888>

lines(r1(stock,a=0.5,b=0.005)~stock,lwd=2,col="red")
+#> <bytecode: 0x0000000016f70488> +#> <environment: 0x00000000175fc3f0>
lines(r1(stock,a=0.5,b=0.005)~stock,lwd=2,col="red")
# Shephered parameterization ( s1 <- srFuns("Shepherd") )
#> function (S, a, b = NULL, c = NULL) #> { @@ -234,8 +242,8 @@

Examp #> } #> a * S/(1 + (b * S)^c) #> } -#> <bytecode: 0x00000000161703f8> -#> <environment: 0x0000000014d524e8>

lines(s1(stock,a=0.5,b=0.005,c=2.5)~stock,lwd=2,col="blue")
+#> <bytecode: 0x0000000016f75f38> +#> <environment: 0x0000000016f40f68>
lines(s1(stock,a=0.5,b=0.005,c=2.5)~stock,lwd=2,col="blue")
# Saila-Lorda parameterization ( sl1 <- srFuns("SailaLorda") )
#> function (S, a, b = NULL, c = NULL) #> { @@ -246,8 +254,8 @@

Examp #> } #> a * (S^c) * exp(-b * S) #> } -#> <bytecode: 0x000000001616ef30> -#> <environment: 0x0000000017405460>

lines(sl1(stock,a=0.5,b=0.005,c=1.05)~stock,lwd=2,col="salmon")
+#> <bytecode: 0x0000000016a964a0> +#> <environment: 0x00000000161ec720>
lines(sl1(stock,a=0.5,b=0.005,c=1.05)~stock,lwd=2,col="salmon")
## Examples of fitting stock-recruitment functions # Fitting the Beverton-Holt #1 parameterization with multiplicative errors bh1s <- srStarts(recruits~stock,data=CodNorwegian) diff --git a/docs/reference/sumTable.html b/docs/reference/sumTable.html index 4471719e..1a8ad09c 100644 --- a/docs/reference/sumTable.html +++ b/docs/reference/sumTable.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27
@@ -128,8 +128,7 @@

Creates a one- or two-way table of summary statistics.

sumTable(formula, ...)
 
 # S3 method for formula
-sumTable(formula, data = NULL, FUN = mean,
-  digits = getOption("digits"), ...)
+sumTable(formula, data=NULL, FUN=mean, digits=getOption("digits"), ...)

Arguments

diff --git a/docs/reference/tictactoe.html b/docs/reference/tictactoe.html index 7b973e2b..65a1636b 100644 --- a/docs/reference/tictactoe.html +++ b/docs/reference/tictactoe.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,9 +125,17 @@

Construct a base tic-tac-toe plot for presenting predator-prey PSD values.Construct a base tic-tac-toe plot for presenting predator-prey PSD values. Predator-prey PSD values are added with plotCI from plotrix.

-
tictactoe(predobj = c(30, 70), preyobj = c(30, 70),
-  predlab = "Predator PSD", preylab = "Prey PSD", obj.col = "black",
-  obj.trans = 0.2, bnd.col = "black", bnd.lwd = 1, bnd.lty = 2)
+
tictactoe(
+  predobj = c(30, 70),
+  preyobj = c(30, 70),
+  predlab = "Predator PSD",
+  preylab = "Prey PSD",
+  obj.col = "black",
+  obj.trans = 0.2,
+  bnd.col = "black",
+  bnd.lwd = 1,
+  bnd.lty = 2
+)

Arguments

diff --git a/docs/reference/validn.html b/docs/reference/validn.html index 03ce0c22..0357601f 100644 --- a/docs/reference/validn.html +++ b/docs/reference/validn.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 diff --git a/docs/reference/vbStarts.html b/docs/reference/vbStarts.html index 08329475..7f92621c 100644 --- a/docs/reference/vbStarts.html +++ b/docs/reference/vbStarts.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,15 +125,29 @@

Find reasonable starting values for a von Bertalanffy growth function.

Finds reasonable starting values for the parameters in a specific parameterization of the von Bertalanffy growth function.

-
vbStarts(formula, data = NULL, param = c("Typical", "typical",
-  "Traditional", "traditional", "BevertonHolt", "Original", "original",
-  "vonBertalanffy", "GQ", "GallucciQuinn", "Mooij", "Weisberg", "Ogle",
-  "Schnute", "Francis", "Somers", "Somers2", "Pauly"), type = param,
-  fixed = NULL, meth0 = c("yngAge", "poly"), methLinf = c("Walford",
-  "oldAge", "longFish"), num4Linf = 1, ages2use = NULL,
-  methEV = c("means", "poly"), valOgle = NULL, plot = FALSE,
-  col.mdl = "gray70", lwd.mdl = 3, lty.mdl = 1, cex.main = 0.9,
-  col.main = "red", dynamicPlot = FALSE, ...)
+
vbStarts(
+  formula,
+  data = NULL,
+  param = c("Typical", "typical", "Traditional", "traditional", "BevertonHolt",
+    "Original", "original", "vonBertalanffy", "GQ", "GallucciQuinn", "Mooij", "Weisberg",
+    "Ogle", "Schnute", "Francis", "Somers", "Somers2", "Pauly"),
+  type = param,
+  fixed = NULL,
+  meth0 = c("yngAge", "poly"),
+  methLinf = c("Walford", "oldAge", "longFish"),
+  num4Linf = 1,
+  ages2use = NULL,
+  methEV = c("means", "poly"),
+  valOgle = NULL,
+  plot = FALSE,
+  col.mdl = "gray70",
+  lwd.mdl = 3,
+  lty.mdl = 1,
+  cex.main = 0.9,
+  col.main = "red",
+  dynamicPlot = FALSE,
+  ...
+)

Arguments

diff --git a/docs/reference/wrAdd.html b/docs/reference/wrAdd.html index c3fa64b9..4ba756bc 100644 --- a/docs/reference/wrAdd.html +++ b/docs/reference/wrAdd.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -128,8 +128,7 @@

Computes a vector of relative weights specific to a species in an entire dat
wrAdd(wt, ...)
 
 # S3 method for default
-wrAdd(wt, len, spec, units = c("metric", "English"),
-  ...)
+wrAdd(wt, len, spec, units = c("metric", "English"), ...)
 
 # S3 method for formula
 wrAdd(wt, data, units = c("metric", "English"), ...)
diff --git a/docs/reference/wsVal.html b/docs/reference/wsVal.html index cc4b8c74..9068ad3c 100644 --- a/docs/reference/wsVal.html +++ b/docs/reference/wsVal.html @@ -77,7 +77,7 @@ FSA - 0.8.26 + 0.8.27 @@ -125,8 +125,12 @@

Finds standard weight equation coefficients for a particular species.

Returns a vector that contains all known or a subset of information about the standard weight equation for a given species, type of measurement units, and reference percentile.

-
wsVal(species = "List", units = c("metric", "English"), ref = 75,
-  simplify = FALSE)
+
wsVal(
+  species = "List",
+  units = c("metric", "English"),
+  ref = 75,
+  simplify = FALSE
+)

Arguments