Skip to content

Commit

Permalink
Correct spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhooker committed Aug 24, 2018
1 parent 3214cfe commit 09acb17
Show file tree
Hide file tree
Showing 20 changed files with 46 additions and 48 deletions.
13 changes: 6 additions & 7 deletions R/est.nca.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' for a given individual using concentration vs. time data.
#'
#' \pkg{est.nca} estimates a comprehensive set of NCA metrics using the
#' concentration-time profile of an individual. NCA metrics are eatimated
#' concentration-time profile of an individual. NCA metrics are estimated
#' according to traditional PK calculations. The names of the various NCA
#' metrics estimated in this package are assigned mainly following the names
#' used in WinNonlin. This package accepts any of the three different types of
Expand All @@ -26,7 +26,7 @@
#' between the dosing intervals is considered. Cmax_D is the dose normalized
#' maximum observed concentration.
#' \item \strong{Clast and Tlast} are the last measurable positive
#' comcentration and the corresponding time, respectively.
#' concentration and the corresponding time, respectively.
#' \item \strong{AUClast} is the area under the concentration vs. time curve
#' from the first observed to last measurable concentration.
#' \item \strong{AUMClast} is the first moment of the concentration vs. time
Expand All @@ -41,15 +41,15 @@
#' \item \strong{AUC_pBack_Ext_pred} is the percentage of AUCINF_pred that is
#' contributed by the back extrapolation to estimate C0.
#' \item \strong{AUClower_upper} is the AUC under the concentration-time
#' profile within the user-specified window of time privided as the
#' profile within the user-specified window of time provided as the
#' "AUCTimeRange" argument. In case of empty "AUCTimeRange" argument,
#' AUClower_upper is the same as AUClast.
#' \item \strong{Rsq, Rsq_adjusted and Corr_XY} are regression coefficient
#' of the regression line used to estimate the elimination rate constant, the
#' adjusted value of Rsq and the square root of Rsq, respectively.
#' \item \strong{Lambda_z} is the elimination rate constant estimated from the
#' regression line representing the terminal phase of the concentration-time
#' prifile.
#' data.
#' \item \strong{Lambda_lower and Lambda_upper} are the lower and upper limit
#' of the time values from the concentration-time profile used to estimate
#' Lambda_z, respectively, in case the "LambdaTimeRange" is used to specify
Expand Down Expand Up @@ -93,8 +93,7 @@
#' sampled time extrapolated to infinity based on the last predicted
#' concentration obtained from the regression line used to estimate Lambda_z
#' (Clast_pred).
#' \item \strong{Tau} is the dosing interval for steady-state data. This value
#' is assumed equarion over multiple doses.
#' \item \strong{Tau} is the dosing interval for steady-state data.
#' \item \strong{Cmin and Tmin} are the minimum concentration between 0 and
#' Tau and the corresponding time, respectively.
#' \item \strong{Cavg} is the average concentration between 0 and Tau for
Expand All @@ -114,7 +113,7 @@
#' @param backExtrp If back-extrapolation is needed for AUC (TRUE or FALSE)
#' (\strong{FALSE})
#' @param negConcExcl Exclude -ve conc (\strong{FALSE})
#' @param doseType Steady-state (ss) or nonsteady-state (ns) dose
#' @param doseType Steady-state (ss) or non-steady-state (ns) dose
#' (\strong{"ns"})
#' @param adminType Route of administration
#' (iv-bolus,iv-infusion,extravascular) (\strong{"extravascular"})
Expand Down
2 changes: 1 addition & 1 deletion R/histobs.plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' "AUCINF_pred", "AUMClast", "Cmax", "Tmax" and "HL_Lambda_z".
#' (\strong{c("AUClast", "AUCINF_obs", "Cmax", "Tmax")})
#' @param cunit Unit for concentration (default is \strong{\code{NULL}})
#' @param tunit Unit for time (defulat is \strong{\code{NULL}})
#' @param tunit Unit for time (default is \strong{\code{NULL}})
#' @param spread Measure of the spread of simulated data (ppi (95\% parametric
#' prediction interval) or npi (95\% nonparametric prediction interval))
#' (\strong{"npi"})
Expand Down
4 changes: 2 additions & 2 deletions R/nca.check.obs.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' \strong{"TIME"}
#' @param concNmObs Column name for concentration in observed data. Default is
#' \strong{"DV"}
#' @param doseType Steady-state (ss) or nonsteady-state (ns) dose. Default is
#' @param doseType Steady-state (ss) or non-steady-state (ns) dose. Default is
#' \strong{"ns"}
#' @param doseTime Dose time prior to the first observation for steady-state
#' data. Default is \strong{\code{NULL}}
Expand Down Expand Up @@ -54,7 +54,7 @@
#' given individual. Default is \strong{\code{NULL}}
#' @param doseAmtNm Column name to specify dose amount. Default is
#' \strong{\code{NULL}}
#' @param dateColNm colunm name for date if used (e.g. "Date", "DATE"). Default
#' @param dateColNm column name for date if used (e.g. "Date", "DATE"). Default
#' is \strong{\code{NULL}}
#' @param dateFormat date format (D-M-Y, D/M/Y or any other combination of
#' D,M,Y). Default is \strong{\code{NULL}}
Expand Down
4 changes: 2 additions & 2 deletions R/nca.deviation.plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' mandatory arguments, (i) deviation data, (ii) independent variable and (iii)
#' dependent variables. The deviation of the NCA metrics values estimated from
#' the observed and simulated data are scaled by the "spread" of the simulated
#' metrics values. The "spead" of the simulated data is measured either by the
#' metrics values. The "speed" of the simulated data is measured either by the
#' standard deviation or the 95% nonparametric interval.
#'
#' @param plotdata A data frame containing the scaled deviation values of the
Expand All @@ -27,7 +27,7 @@
#' prediction interval) or npi (95\% nonparametric prediction interval))
#' (\strong{"npi"})
#' @param cunit Unit for concentration (default is \strong{\code{NULL}})
#' @param tunit Unit for time (defulat is \strong{\code{NULL}})
#' @param tunit Unit for time (default is \strong{\code{NULL}})
#' @return returns the data frame with the NPDE values based on the input data.
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/nca.ind.data.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#' for all individuals. If TI is the name of a column with numeric data
#' present in the data set, TI is set to the unique value of the column for a
#' given individual. Default is \strong{\code{NULL}}
#' @param dateColNm colunm name for date if used (e.g. "Date", "DATE"). Default
#' @param dateColNm column name for date if used (e.g. "Date", "DATE"). Default
#' is \strong{\code{NULL}}
#' @param dateFormat date format (D-M-Y, D/M/Y or any other combination of
#' D,M,Y). Default is \strong{\code{NULL}}
Expand Down
2 changes: 1 addition & 1 deletion R/nca.npde.plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#' @param figlbl Figure label based on dose identifier and/or population
#' stratifier (\strong{NULL})
#' @param cunit Unit for concentration (default is \strong{\code{NULL}})
#' @param tunit Unit for time (defulat is \strong{\code{NULL}})
#' @param tunit Unit for time (default is \strong{\code{NULL}})
#'
#' @return returns a data frame with the mean and SD of population NPDE values
#' of each NCA metric and two graphical objects created by arrangeGrob
Expand Down
2 changes: 1 addition & 1 deletion R/nca.pde.deviation.outlier.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#' "AUClast", "AUClower_upper", "AUCINF_obs", "AUCINF_pred", "AUMClast",
#' "Cmax", "Tmax" and "HL_Lambda_z". (\strong{c("AUClast", "Cmax")})
#' @param cunit Unit for concentration (default is \strong{\code{NULL}})
#' @param tunit Unit for time (defulat is \strong{\code{NULL}})
#' @param tunit Unit for time (default is \strong{\code{NULL}})
#' @param noPlot Perform only NCA calculations without any plot generation
#' (TRUE, FALSE) (\strong{FALSE})
#' @param onlyNCA If \code{TRUE} only NCA is performed and ppc part is ignored
Expand Down
2 changes: 1 addition & 1 deletion R/nca_ind_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' for all individuals. If TI is the name of a column with numeric data
#' present in the data set, TI is set to the unique value of the column for a
#' given individual. Default is \strong{\code{NULL}}
#' @param dateColNm colunm name for date if used (e.g. "Date", "DATE"). Default
#' @param dateColNm column name for date if used (e.g. "Date", "DATE"). Default
#' is \strong{\code{NULL}}
#' @param dateFormat date format (D-M-Y, D/M/Y or any other combination of
#' D,M,Y). Default is \strong{\code{NULL}}
Expand Down
10 changes: 5 additions & 5 deletions R/ncappc.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#' population mean. The individual level comparison is performed based on the
#' deviation of the mean of any NCA metric based on simulations for an
#' individual from the corresponding NCA metric obtained from the observed data.
#' Additionaly, \pkg{ncappc} reports the normalized prediction distribution
#' Additionally, \pkg{ncappc} reports the normalized prediction distribution
#' error (NPDE) of the simulated NCA metrics for each individual and their
#' distribution within a population. \pkg{ncappc} produces two default outputs
#' depending on the type of analysis performed, i.e., traditional NCA and PopPK
Expand All @@ -35,15 +35,15 @@
#' values of the NCA metrics estimated from the observed and the simulated data,
#' along with the deviation, NPDE, regression parameters used to estimate the
#' elimination rate constant and the related population statistics. The default
#' values of the arguments used in \pkg{ncappc} are shown in the \strong{Useage}
#' values of the arguments used in \pkg{ncappc} are shown in the \strong{Usage}
#' section of this document and/or in \strong{bold} in the \strong{Arguments}
#' section.
#'
#' @param obsFile Observed concentration-time data from an internal data frame
#' or an external table with comma, tab or space as separators.
#' @param simFile NONMEM simulation output with the simulated concentration-time
#' data from an internal data frame or an external table. \code{NULL} produces
#' just the NCA output, a filename or data frame prduces the NCA output as
#' just the NCA output, a filename or data frame produces the NCA output as
#' well as the PopPK diagnosis. If \code{new_data_method=TRUE} then this can
#' be a compressed file as well.
#' @param str1Nm Column name for 1st level population stratifier. Default is
Expand Down Expand Up @@ -99,7 +99,7 @@
#' \strong{\code{NULL}}
#' @param adminType Route of administration. Allowed options are iv-bolus,
#' iv-infusion or extravascular. Default is \strong{"extravascular"}
#' @param doseType Steady-state (ss) or nonsteady-state (ns) dose. Default is
#' @param doseType Steady-state (ss) or non-steady-state (ns) dose. Default is
#' \strong{"ns"}
#' @param doseTime Dose time prior to the first observation for steady-state
#' data. Default is \strong{\code{NULL}}
Expand Down Expand Up @@ -138,7 +138,7 @@
#' \strong{(c"AUClast", "Cmax")}
#' @param timeFormat time format (number, H:M, H:M:S). Default is
#' \strong{"number"}
#' @param dateColNm colunm name for date if used (e.g. "Date", "DATE"). Default
#' @param dateColNm column name for date if used (e.g. "Date", "DATE"). Default
#' is \strong{\code{NULL}}
#' @param dateFormat date format (D-M-Y, D/M/Y or any other combination of
#' D,M,Y). Default is \strong{\code{NULL}}
Expand Down
6 changes: 3 additions & 3 deletions R/read_nm_table.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Read nonmem table files produced.
#' Read NONMEM table files produced.
#'
#' The function reads in nonmem table files. The files can be created from the
#' The function reads in NONMEM table files. The files can be created from the
#' \code{$EST} line or from the \code{$SIM} line in a NONMEM model file.
#'
#' Currently the function searches the \code{$TABLE} for multiple header lines,
Expand All @@ -17,7 +17,7 @@
#' downloaded. Remote gz files can also be automatically downloaded &
#' decompressed.
#' @param only_obs Should the non-observation lines in the data set be removed?
#' Currently filtered uisng the expected \code{MDV} column. \code{TRUE} or
#' Currently filtered using the expected \code{MDV} column. \code{TRUE} or
#' \code{FALSE}.
#' @param method Can be one of \code{default}, \code{readr_1}, \code{readr_2},
#' \code{readr_3}, \code{slow}. \code{readr_1} should be fastest. All but
Expand Down
13 changes: 6 additions & 7 deletions man/est.nca.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/histobs.plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/nca.check.obs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/nca.deviation.plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/nca.ind.data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/nca.npde.plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/nca.pde.deviation.outlier.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/nca_ind_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 09acb17

Please sign in to comment.