diff --git a/man/mortalityTables.list.Rd b/man/mortalityTables.list.Rd index 773165c4a75e5e92ddec195445685e77f01afdcb..a8c18d8c93083043f94ade27ddce1e6bbfc199b3 100644 --- a/man/mortalityTables.list.Rd +++ b/man/mortalityTables.list.Rd @@ -5,10 +5,13 @@ \title{List all available sets of life tables provided by the \link[MortalityTables]{MortalityTables-package} package An existing life table can then be loaded with \link{mortalityTables.load}.} \usage{ -mortalityTables.list(pattern = "*") +mortalityTables.list(pattern = "*", package = "MortalityTables") } \arguments{ \item{pattern}{Restrict the results only to life table sets that match the pattern (default: "*" to show all sets)} + +\item{package}{The package that contains the desired dataset in its \code{extdata/} +directory. Defaults to the "MortalityTables" package.} } \description{ List all available sets of life tables provided by the \link[MortalityTables]{MortalityTables-package} package diff --git a/man/mortalityTables.load.Rd b/man/mortalityTables.load.Rd index 3117708e775f4ffcb369969e21bfc64d8d446976..26b13d85380e6a09e44b76a7f86e666b214d18a1 100644 --- a/man/mortalityTables.load.Rd +++ b/man/mortalityTables.load.Rd @@ -4,7 +4,7 @@ \alias{mortalityTables.load} \title{Load a named set of mortality tables provided by the \link{MortalityTables} package} \usage{ -mortalityTables.load(dataset, wildcard = FALSE) +mortalityTables.load(dataset, wildcard = FALSE, package = "MortalityTables") } \arguments{ \item{dataset}{The set of life tables to be loaded. A list of all available @@ -12,6 +12,9 @@ data sets is provided by the function \code{\link{mortalityTables.list}}.} \item{wildcard}{Whether the dataset name contains wildcard. If TRUE, all datasets matching the pattern will be loaded} + +\item{package}{The package that contains the dataset in its \code{extdata/} +directory. Defaults to the "MortalityTables" package.} } \description{ Load a named set of mortality tables provided by the \link{MortalityTables} package