From cb8352b4e445f5fbaa9bcb5cd6bfa6689febcca4 Mon Sep 17 00:00:00 2001 From: Devin Pastoor Date: Thu, 27 Feb 2014 19:00:10 -0500 Subject: [PATCH] add print_datasets() function to easily see list of datasets available in PKPDmisc package --- NAMESPACE | 1 + R/print_datasets.R | 5 +++++ man/print_datasets.Rd | 13 +++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 R/print_datasets.R create mode 100644 man/print_datasets.Rd diff --git a/NAMESPACE b/NAMESPACE index e69de29..c41ede4 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -0,0 +1 @@ +export(print_datasets) diff --git a/R/print_datasets.R b/R/print_datasets.R new file mode 100644 index 0000000..b858d88 --- /dev/null +++ b/R/print_datasets.R @@ -0,0 +1,5 @@ +#' Print datasets available in PKPDdatasets package +#' @export +#' @examples +#' print_datasets() +print_datasets <- function()data(package = "PKPDdatasets") diff --git a/man/print_datasets.Rd b/man/print_datasets.Rd new file mode 100644 index 0000000..53a485c --- /dev/null +++ b/man/print_datasets.Rd @@ -0,0 +1,13 @@ +\name{print_datasets} +\alias{print_datasets} +\title{Print datasets available in PKPDdatasets package} +\usage{ +print_datasets() +} +\description{ +Print datasets available in PKPDdatasets package +} +\examples{ +print_datasets() +} +