Skip to content

Commit f1fc40a

Browse files
author
Davis
committed
description updated, fixing some bad descriptions in functions
1 parent 8d5cd8d commit f1fc40a

15 files changed

+286
-4
lines changed

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ Suggests:
1717
knitr,
1818
rmarkdown
1919
VignetteBuilder: knitr
20+
RoxygenNote: 7.1.0

R/applytoeachinlist.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#' @param nameaftersplit The name of the argument of applyfun that
1313
#' takes the settosplit dataframe after it has been split; this is
1414
#' commonly 'x' or 'data'
15+
#' @param splitalongsidename what should the splitalongside frame be called after
16+
#' it has been split? This is commonly something like "newdata"
1517
#' @param splitalongsidesplitter The name of the factor variable in settosplit, over
1618
#' which it should be split.
1719
#' @return This function returns a named list of results, having applied

R/applytoeachinlistworker.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#' @param nameaftersplit The name of the argument of applyfun that
1111
#' takes the settosplit dataframe after it has been split; this is
1212
#' commonly 'x' or 'data'
13+
#' @param splitalongsidename The name of splitalongside after it has been split;
14+
#' e.g. this is commonly something like "newdata".
1315
#' @param splitalongsidesplitter The name of the factor variable in settosplit, over
1416
#' which it should be split.
1517
#' @return This function returns a named list of results, having applied

R/batch_bam.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
#' over which mgcv::bam will be applied.
66
#' @param bamargs A named list of arguments to be passed to each bam. For example,
77
#' this could be bamargs=list('formula' = 'y ~ te(x,t)', 'discrete' = TRUE)
8-
#' @param fallbackargs If the regression defined by bamargs returns an error, any
8+
#' @param bamargs_fallback If the regression defined by bamargs returns an error, any
99
#' named arguments in this named list overwrite the arguments in bamargs and the
1010
#' regression is attempted again. for example, we could have the simpler model
11-
#' fallbackargs=list('formula' = 'y ~ s(x))'
11+
#' bamargs_fallback=list('formula' = 'y ~ s(x))'
1212
#' @param over A character string giving the name of the column in data which is
1313
#' used to split and pass subsets of the data to bam.
1414
#' @return This function returns a named list of bam objects, and possibly errors
15-
#' if bamargs and fallbackargs fail to produce a model for some levels of over.
15+
#' if bamargs and bamargs_fallback fail to produce a model for some levels of over.
1616

1717
batch_bam <- function(data=NULL,
1818
bamargs=NULL,

clusterapply.Rproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ StripTrailingWhitespace: Yes
1818
BuildType: Package
1919
PackageUseDevtools: Yes
2020
PackageInstallArgs: --no-multiarch --with-keep.source
21+
PackageRoxygenize: rd,collate,namespace

man/applyover.Rd

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/applytoeachinlist.Rd

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/applytoeachinlistworker.Rd

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batch_bam.Rd

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batch_lm.Rd

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)