Skip to content

Commit 0af059f

Browse files
committed
touch up docs
1 parent 31c7a08 commit 0af059f

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

R/SimResults.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#' sub-directory as individual \code{.rds} files. While users could use \code{\link{readRDS}} directly
66
#' to read these files in themselves, this convenience function will read the desired rows in
77
#' automatically given the returned object
8-
#' from the simulation. Can be used to read in 1 or more .rds files at once (if more than 1 file
8+
#' from the simulation. Can be used to read in 1 or more \code{.rds} files at once (if more than 1 file
99
#' is read in then the result will be stored in a list).
1010
#'
1111
#' @param results object returned from \code{\link{runSimulation}} where \code{save_results = TRUE}

R/postSummarise.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#' When \code{runSimulation()} uses the option \code{save_results = TRUE}
44
#' the R replication results from the Generate-Analyse functions are
55
#' stored to the hard drive. As such, additional summarise components
6-
#' may be required at a later time, whereby the respective .rds files
6+
#' may be required at a later time, whereby the respective \code{.rds} files
77
#' must be read back into R to be summarised. This function performs
88
#' the reading of these files, application of a provided summarise function,
99
#' and final collection of the respective results.

R/rgenerate.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ rmvnorm <- function (n, mean = rep(0, nrow(sigma)), sigma = diag(length(mean)))
838838
#' @param df degrees of freedom. \code{df = 0} and \code{df = Inf}
839839
#' corresponds to the multivariate normal distribution
840840
#'
841-
#' @param delta the vector of noncentrality parameters of length \code{n}
841+
#' @param delta the vector of non-centrality parameters of length \code{n}
842842
#' which specifies the either the modes (default) or non-centrality parameters
843843
#'
844844
#' @param Kshirsagar logical; triggers whether to generate data with non-centrality parameters

R/runSimulation.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@
235235
#' @param load_seed a character object indicating which file to load from when the \code{.Random.seed}s have
236236
#' be saved (after a call with \code{save_seeds = TRUE}), or an integer vector indicating the actual
237237
#' \code{.Random.seed} values. E.g., \code{load_seed = 'design-row-2/seed-1'}
238-
#' will load the first seed in the second row of the \code{design} input, or explicilty passing the 626 long
239-
#' elements from \code{.Random.seed} (see \code{extract_error_seed()} to extract the seeds associated explicilty
238+
#' will load the first seed in the second row of the \code{design} input, or explicitly passing the 626 long
239+
#' elements from \code{.Random.seed} (see \code{extract_error_seed()} to extract the seeds associated explicitly
240240
#' with errors during the simulation, where each column represents a unique seed).
241241
#' If the input is a character vector then it is important NOT
242242
#' to modify the \code{design} input object, otherwise the path may not point to the correct saved location, while

R/summary_functions.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
#' (average difference between sample and population), \code{'relative'} computes
2121
#' the relative bias statistic (i.e., divide the bias by the value
2222
#' in \code{parameter}; note that multiplying this by 100 gives the "percent bias" measure),
23-
#' \code{'abs_relative'} computes the relative bias but the absoluate values of the parameters
23+
#' \code{'abs_relative'} computes the relative bias but the absolute values of the parameters
2424
#' are used in the denominator rather than the (potentially) signed input values,
2525
#' and \code{'standardized'} computes the standardized bias estimate
2626
#' (standard bias divided by the standard deviation of the sample estimates)
2727
#'
28-
#' @param abs logical; find the absoluate bias between the parameters and estimates? This effectively
28+
#' @param abs logical; find the absolute bias between the parameters and estimates? This effectively
2929
#' just applies the \code{\link{abs}} transformation to the returned result. Default is FALSE
3030
#'
3131
#' @param percent logical; change returned result to percentage by multiplying by 100?
@@ -478,7 +478,7 @@ RE <- function(x, MSE = FALSE, percent = FALSE){
478478

479479
#' Compute the relative absolute of multiple estimators
480480
#'
481-
#' Computes the relative absoluate bias given the bias estimates for multiple estimators.
481+
#' Computes the relative absolute bias given the bias estimates for multiple estimators.
482482
#'
483483
#' @param x a \code{numeric} vector of bias estimates (see \code{\link{bias}}),
484484
#' where the first element will be used as the reference

man/RAB.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/SimResults.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/bias.Rd

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

man/postSummarise.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/rmvt.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)