Skip to content

Commit

Permalink
Initial commit with one single dose dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
dpastoor committed Jan 3, 2014
0 parents commit 5ddacdb
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
^.*\.Rproj$
^\.Rproj\.user$
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.Rproj.user
.Rhistory
.RData
.sublime-project
.sublime-workspace
18 changes: 18 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Package: PKPDdatasets
Type: Package
Title: data sets for pharmacometric analysis and visualization
Version: 0.1.0
Date: 2014-01-01
Authors@R: c(person("Devin", "Pastoor", role = c("aut", "cre"),
email = "[email protected]"))
Suggests:
knitr
VignetteBuilder: knitr
Description: ctm-datasets provides a number of simulated datasets to provide
pharmacokinetic, pharmacodynamic, and demographic data to allow for easy
teaching, testing, and visualization. The primary driver is to allow for
datasets (other than Theoph) to be readily available. A secondary purpose
is to provide a foundation to allow for easily generated reproducible
examples in pharmacometrics.
LazyData: TRUE
License: MIT
Empty file added NAMESPACE
Empty file.
16 changes: 16 additions & 0 deletions PKPDdatasets.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

BuildType: Package
PackageInstallArgs: --no-multiarch --with-keep.source
28 changes: 28 additions & 0 deletions R/PKPDdatasets.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#' PKPDdatasets
#'
#' @name PKPDdatasets
#' @docType package
NULL

#' One-compartment pharmacokinetic data given single oral dose
#'
#' A dataset containing dose, plasma concentration and time data, as well as
#' demographic data of Age, Weight, Gender, and Race for each individual
#'
#' \itemize{
#' \item ID. Numerical ID (1--50)
#' \item Time. Time in hours (0--24)
#' \item Amt. Amount of drug given, time dependent, in milligrams
#' \item Conc. Plasma concentration in mg/L
#' \item Age. Age in years
#' \item Weight. Weight in kg
#' \item Gender. Male or Female gender identification
#' \item Dose. Dose given to each individual in milligrams
#' }
#'
#' @docType data
#' @keywords datasets
#' @name sd_oral_richpk
#' @usage data(sd_oral_richpk)
#' @format A data frame with 4300 rows and 9 variables
NULL
Binary file added data/sd_oral_richpk.rda
Binary file not shown.
9 changes: 9 additions & 0 deletions man/PKPDdatasets.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
\docType{package}
\name{PKPDdatasets}
\alias{PKPDdatasets}
\alias{PKPDdatasets-package}
\title{PKPDdatasets}
\description{
PKPDdatasets
}

23 changes: 23 additions & 0 deletions man/sd_oral_richpk.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
\docType{data}
\name{sd_oral_richpk}
\alias{sd_oral_richpk}
\title{One-compartment pharmacokinetic data given single oral dose}
\format{A data frame with 4300 rows and 9 variables}
\usage{
data(sd_oral_richpk)
}
\description{
A dataset containing dose, plasma concentration and time
data, as well as demographic data of Age, Weight, Gender,
and Race for each individual
}
\details{
\itemize{ \item ID. Numerical ID (1--50) \item Time. Time
in hours (0--24) \item Amt. Amount of drug given, time
dependent, in milligrams \item Conc. Plasma concentration
in mg/L \item Age. Age in years \item Weight. Weight in kg
\item Gender. Male or Female gender identification \item
Dose. Dose given to each individual in milligrams }
}
\keyword{datasets}

0 comments on commit 5ddacdb

Please sign in to comment.