diff --git a/DESCRIPTION b/DESCRIPTION index 3bb90c1..554914d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: tableone Type: Package Title: Create "Table 1" to Describe Baseline Characteristics -Version: 0.7.2 -Date: 2015-10-25 +Version: 0.7.3 +Date: 2015-11-10 Author: Kazuki Yoshida, Justin Bohn. Maintainer: Kazuki Yoshida Description: Creates "Table 1", i.e., description of baseline patient @@ -31,3 +31,4 @@ Suggests: knitr URL: https://github.com/kaz-yos/tableone VignetteBuilder: knitr +RoxygenNote: 5.0.0 diff --git a/NAMESPACE b/NAMESPACE index 26ecc89..16f7d79 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,4 +1,4 @@ -# Generated by roxygen2 (4.1.1): do not edit by hand +# Generated by roxygen2: do not edit by hand S3method(print,CatTable) S3method(print,ContTable) diff --git a/NEWS b/NEWS index 08bf647..db02b15 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,11 @@ +tableone 0.7.3 (2015-11-10) +---------------------------------------------------------------- + +BUG FIXES + +* Fix the vignette for upcoming ggplot2 update. + + tableone 0.7.2 (2015-10-25) ---------------------------------------------------------------- diff --git a/cran-check.txt b/cran-check.txt index 3594b8f..06f5d5a 100644 --- a/cran-check.txt +++ b/cran-check.txt @@ -5,7 +5,7 @@ * using option ‘--as-cran’ * checking for file ‘tableone/DESCRIPTION’ ... OK * checking extension type ... Package -* this is package ‘tableone’ version ‘0.7.2’ +* this is package ‘tableone’ version ‘0.7.3’ * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers Maintainer: ‘Kazuki Yoshida ’ * checking package namespace information ... OK diff --git a/man/CreateCatTable.Rd b/man/CreateCatTable.Rd index 72988c1..40fd1eb 100644 --- a/man/CreateCatTable.Rd +++ b/man/CreateCatTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CreateCatTable.R \name{CreateCatTable} \alias{CreateCatTable} @@ -37,6 +37,7 @@ An object of class \code{CatTable}. Create an object summarizing categorical variables optionally stratifying by one or more startifying variables and performing statistical tests. Usually, \code{\link{CreateTableOne}} should be used as the universal frontend for both continuous and categorical data. } \examples{ + ## Load library(tableone) @@ -94,6 +95,7 @@ print(catTableBySexTrt, exact = "ascites", quote = TRUE) ## If you want to center-align values in Word, use noSpaces option. print(catTableBySexTrt, exact = "ascites", quote = TRUE, noSpaces = TRUE) + } \author{ Kazuki Yoshida (based on \code{Deducer::frequencies()}) diff --git a/man/CreateContTable.Rd b/man/CreateContTable.Rd index 6ceb6a9..f2cfe54 100644 --- a/man/CreateContTable.Rd +++ b/man/CreateContTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CreateContTable.R \name{CreateContTable} \alias{CreateContTable} @@ -40,6 +40,7 @@ An object of class \code{ContTable}. Create an object summarizing continous variables optionally stratifying by one or more startifying variables and performing statistical tests. Usually, \code{\link{CreateTableOne}} should be used as the universal frontend for both continuous and categorical data. } \examples{ + ## Load library(tableone) @@ -94,6 +95,7 @@ print(contTableBySexTrt, nonnormal = nonNormalVars, quote = TRUE) ## If you want to center-align values in Word, use noSpaces option. print(contTableBySexTrt, nonnormal = nonNormalVars, quote = TRUE, noSpaces = TRUE) + } \author{ Kazuki Yoshida (based on \code{Deducer::descriptive.table()}) diff --git a/man/CreateTableOne.Rd b/man/CreateTableOne.Rd index 04f5cdb..0c6876d 100644 --- a/man/CreateTableOne.Rd +++ b/man/CreateTableOne.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CreateTableOne.R \name{CreateTableOne} \alias{CreateTableOne} @@ -57,6 +57,7 @@ Create an object summarizing all baseline variables (both continuous and categor The definitions of the standardized mean difference (SMD) are available in \href{http://www.tandfonline.com/doi/abs/10.1080/00031305.1986.10475403}{Flury \emph{et al} 1986} for the univariate case and the multivariate case (essentially the square root of the Mahalanobis distance). Extension to binary variables is discussed in \href{http://www.tandfonline.com/doi/abs/10.1080/03610910902859574}{Austin 2009} and extension to multinomival variables is suggested in \href{http://support.sas.com/resources/papers/proceedings12/335-2012.pdf}{Yang \emph{et al} 2012}. This multinomial extesion treats a single multinomial variable as multiple non-redundant dichotomous variables and use the Mahalanobis distance. The off diagonal elements of the covariance matrix on page 3 have an error, and need negation. In weighted data, the same definitions can be used except that the mean and standard deviation estimates are weighted estimates (\href{http://www.ncbi.nlm.nih.gov/pubmed/23902694}{Li \emph{et al} 2013} and \href{http://onlinelibrary.wiley.com/doi/10.1002/sim.6607/full}{Austin \emph{et al} 2015}). In tableone, all weighted estimates are calculated by weighted estimation functions in the \code{survey} package. } \examples{ + ## Load library(tableone) @@ -113,6 +114,7 @@ print(tableOne, nonnormal = c("bili","chol","copper","alk.phos","trig"), ## If SMDs are needed as numericals, use ExtractSmd() ExtractSmd(tableOne) + } \author{ Kazuki Yoshida, Justin Bohn diff --git a/man/ExtractSmd.Rd b/man/ExtractSmd.Rd index e0c610f..4bf1f9b 100644 --- a/man/ExtractSmd.Rd +++ b/man/ExtractSmd.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ExtractSmd.R \name{ExtractSmd} \alias{ExtractSmd} @@ -16,7 +16,9 @@ A vector or matrix containing the average standardized mean differences (if more Extracts standardized mean differences data as a vector or matrix from a (svy)TableOne object } \examples{ + ## See examples for CreateTableOne and svyCreateTableOne + } \author{ Kazuki Yoshida diff --git a/man/ShowRegTable.Rd b/man/ShowRegTable.Rd index 7261094..3980bd6 100644 --- a/man/ShowRegTable.Rd +++ b/man/ShowRegTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ShowRegTable.R \name{ShowRegTable} \alias{ShowRegTable} @@ -29,6 +29,7 @@ A matrix containing what you see is returned invisibly. You can capture it by as It shows the regression result in the HR [95\% CI] p-value format, which is usually the form used in medical research papers. } \examples{ + ## Load library(tableone) @@ -47,6 +48,7 @@ ShowRegTable(objCoxph) ## Show with quote to ease copy and paste ShowRegTable(objCoxph, quote = TRUE) + } \author{ Kazuki Yoshida diff --git a/man/print.CatTable.Rd b/man/print.CatTable.Rd index a1be6bd..57dc566 100644 --- a/man/print.CatTable.Rd +++ b/man/print.CatTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/print.CatTable.R \name{print.CatTable} \alias{print.CatTable} @@ -50,6 +50,7 @@ A matrix object containing what you see is also invisibly returned. This can be \code{print} method for the \code{CatTable} class objects created by \code{\link{CreateCatTable}} function. } \examples{ + ## Load library(tableone) @@ -106,6 +107,7 @@ print(catTableBySexTrt, exact = "ascites", quote = TRUE) ## If you want to center-align values in Word, use noSpaces option. print(catTableBySexTrt, exact = "ascites", quote = TRUE, noSpaces = TRUE) + } \author{ Kazuki Yoshida diff --git a/man/print.ContTable.Rd b/man/print.ContTable.Rd index 5a472ca..0b9b469 100644 --- a/man/print.ContTable.Rd +++ b/man/print.ContTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/print.ContTable.R \name{print.ContTable} \alias{print.ContTable} @@ -45,6 +45,7 @@ A matrix object containing what you see is also invisibly returned. This can be \code{print} method for the \code{ContTable} class objects created by \code{\link{CreateContTable}} function. } \examples{ + ## Load library(tableone) @@ -102,6 +103,7 @@ print(contTableBySexTrt, nonnormal = nonNormalVars, quote = TRUE) ## If you want to center-align values in Word, use noSpaces option. print(contTableBySexTrt, nonnormal = nonNormalVars, quote = TRUE, noSpaces = TRUE) + } \author{ Kazuki Yoshida diff --git a/man/print.TableOne.Rd b/man/print.TableOne.Rd index d8d057a..2864b2c 100644 --- a/man/print.TableOne.Rd +++ b/man/print.TableOne.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/print.TableOne.R \name{print.TableOne} \alias{print.TableOne} @@ -54,7 +54,9 @@ A matrix object containing what you see is also invisibly returned. This can be \code{print} method for the \code{TableOne} class objects created by \code{\link{CreateTableOne}} function. } \examples{ + ## See examples for CreateTableOne and svyCreateTableOne + } \author{ Kazuki Yoshida, Justin Bohn diff --git a/man/print.svyCatTable.Rd b/man/print.svyCatTable.Rd index 1d18baf..251a99a 100644 --- a/man/print.svyCatTable.Rd +++ b/man/print.svyCatTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/print.svyCatTable.R \name{print.svyCatTable} \alias{print.svyCatTable} @@ -50,7 +50,9 @@ A matrix object containing what you see is also invisibly returned. This can be \code{print} method for the \code{svyCatTable} class objects created by \code{\link{svyCreateCatTable}} function. } \examples{ + ## See the examples for svyCreateTableOne() + } \author{ Kazuki Yoshida diff --git a/man/print.svyContTable.Rd b/man/print.svyContTable.Rd index 8d7ec64..98750d2 100644 --- a/man/print.svyContTable.Rd +++ b/man/print.svyContTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/print.svyContTable.R \name{print.svyContTable} \alias{print.svyContTable} @@ -45,7 +45,9 @@ A matrix object containing what you see is also invisibly returned. This can be \code{print} method for the \code{svyContTable} class objects created by \code{\link{CreateContTable}} function. } \examples{ + ## See the examples for svyCreateTableOne() + } \author{ Kazuki Yoshida diff --git a/man/summary.CatTable.Rd b/man/summary.CatTable.Rd index 41ebe64..eeddaf3 100644 --- a/man/summary.CatTable.Rd +++ b/man/summary.CatTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summary.CatTable.R \name{summary.CatTable} \alias{summary.CatTable} @@ -20,7 +20,9 @@ None. Results are printed. Shows all data a \code{CatTable} class object has. This includes the (optionally stratified) part with summary statistics and, if available, p-values from the approximation method test (\code{chisq.test} by default) and exact method test (\code{fisher.test} by default) and standardized mean differences of all possible pairwise contrasts. } \examples{ + ## See examples for CreateTableOne + } \author{ Kazuki Yoshida diff --git a/man/summary.ContTable.Rd b/man/summary.ContTable.Rd index 71523b1..e1755f8 100644 --- a/man/summary.ContTable.Rd +++ b/man/summary.ContTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summary.ContTable.R \name{summary.ContTable} \alias{summary.ContTable} @@ -20,7 +20,9 @@ None. Results are printed. Shows all data a \code{ContTable} class object has. This includes the (optionally stratified) part with summary statistics and, if available, p-values from the normal assupmtion-based test (\code{oneway.test} by default) and nonparametric test (\code{kruskal.test} by default) and standardized mean differences of all possible pairwise contrasts. } \examples{ + ## See examples for CreateTableOne + } \author{ Kazuki Yoshida diff --git a/man/summary.TableOne.Rd b/man/summary.TableOne.Rd index 047ba04..4717715 100644 --- a/man/summary.TableOne.Rd +++ b/man/summary.TableOne.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summary.TableOne.R \name{summary.TableOne} \alias{summary.TableOne} @@ -20,7 +20,9 @@ None. Results are printed. Shows all data a \code{(svy)TableOne} class object has. This includes the (optionally stratified) part with summary statistics and p-values and/or standardized mean differences. } \examples{ + ## See examples for CreateTableOne and svyCreateTableOne + } \author{ Kazuki Yoshida diff --git a/man/summary.svyCatTable.Rd b/man/summary.svyCatTable.Rd index 7f3a73b..6feea06 100644 --- a/man/summary.svyCatTable.Rd +++ b/man/summary.svyCatTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summary.svyCatTable.R \name{summary.svyCatTable} \alias{summary.svyCatTable} @@ -20,7 +20,9 @@ None. Results are printed. Shows all data a \code{svyCatTable} class object has. This includes the (optionally stratified) part with summary statistics and, if available, p-values from the approximation method test (\code{chisq.test} by default) and exact method test (\code{fisher.test} by default) and standardized mean differences of all possible pairwise contrasts. } \examples{ + ## See the examples for svyCreateTableOne() + } \author{ Kazuki Yoshida diff --git a/man/summary.svyContTable.Rd b/man/summary.svyContTable.Rd index 871c532..195f30f 100644 --- a/man/summary.svyContTable.Rd +++ b/man/summary.svyContTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summary.svyContTable.R \name{summary.svyContTable} \alias{summary.svyContTable} @@ -20,7 +20,9 @@ None. Results are printed. Shows all data a \code{svyContTable} class object has. This includes the (optionally stratified) part with summary statistics and, if available, p-values from the normal assupmtion-based test (\code{regTermTest} with \code{svyglm} by default) and nonparametric test (\code{svyranktest} by default) and standardized mean differences of all possible pairwise contrasts. } \examples{ + ## See the examples for svyCreateTableOne() + } \author{ Kazuki Yoshida diff --git a/man/svyCreateCatTable.Rd b/man/svyCreateCatTable.Rd index 6c77446..3f4d711 100644 --- a/man/svyCreateCatTable.Rd +++ b/man/svyCreateCatTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/svyCreateCatTable.R \name{svyCreateCatTable} \alias{svyCreateCatTable} @@ -31,7 +31,9 @@ An object of class \code{svyCatTable}. Create an object summarizing categorical variables optionally stratifying by one or more startifying variables and performing statistical tests. Usually, \code{\link{svyCreateTableOne}} should be used as the universal frontend for both continuous and categorical data. } \examples{ + ## See the examples for svyCreateTableOne() + } \author{ Kazuki Yoshida diff --git a/man/svyCreateContTable.Rd b/man/svyCreateContTable.Rd index 6537f33..585b4bd 100644 --- a/man/svyCreateContTable.Rd +++ b/man/svyCreateContTable.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/svyCreateContTable.R \name{svyCreateContTable} \alias{svyCreateContTable} @@ -34,7 +34,9 @@ An object of class \code{svyContTable}. Create an object summarizing continous variables optionally stratifying by one or more startifying variables and performing statistical tests. Usually, \code{\link{svyCreateTableOne}} should be used as the universal frontend for both continuous and categorical data. } \examples{ + ## See the examples for svyCreateTableOne() + } \author{ Kazuki Yoshida diff --git a/man/svyCreateTableOne.Rd b/man/svyCreateTableOne.Rd index d425eef..4f2ecd5 100644 --- a/man/svyCreateTableOne.Rd +++ b/man/svyCreateTableOne.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/svyCreateTableOne.R \name{svyCreateTableOne} \alias{svyCreateTableOne} @@ -52,6 +52,7 @@ Create an object summarizing all baseline variables (both continuous and categor See the details for \code{\link{CreateTableOne}}. } \examples{ + ## Load packages library(tableone) library(survey) @@ -96,6 +97,7 @@ tab1$ContTable ## If SMDs are needed as numericals, use ExtractSmd() ExtractSmd(tab1) + } \author{ Kazuki Yoshida diff --git a/man/tableone-package.Rd b/man/tableone-package.Rd index 78241c1..0670843 100644 --- a/man/tableone-package.Rd +++ b/man/tableone-package.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tableone-package.R \docType{package} \name{tableone-package} @@ -29,7 +29,9 @@ Developmental repository is on github. Your contributions are appreciated. \url{https://github.com/kaz-yos/tableone} } \examples{ + ## See examples for CreateTableOne and svyCreateTableOne + } \author{ Kazuki Yoshida, Justin Bohn diff --git a/tableone.Rcheck/tableone-Ex.Rout b/tableone.Rcheck/tableone-Ex.Rout index ea4a602..405159c 100644 --- a/tableone.Rcheck/tableone-Ex.Rout +++ b/tableone.Rcheck/tableone-Ex.Rout @@ -48,6 +48,7 @@ Type 'q()' to quit R. > > ### ** Examples > +> > ## Load > library(tableone) > @@ -483,6 +484,7 @@ stage 0.39205566 > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("CreateCatTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -501,6 +503,7 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## Load > library(tableone) > @@ -968,6 +971,7 @@ protime 0.44433997 > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("CreateContTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -987,6 +991,7 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## Load > library(tableone) > @@ -1612,6 +1617,7 @@ protime 0.1460939117 > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("CreateTableOne", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -1631,10 +1637,12 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## See examples for CreateTableOne and svyCreateTableOne > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("ExtractSmd", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -1650,6 +1658,7 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## Load > library(tableone) > @@ -1695,6 +1704,7 @@ ascites 2.93 [1.68, 5.11] <0.001 > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("ShowRegTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -1713,6 +1723,7 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## Load > library(tableone) > @@ -2147,6 +2158,7 @@ stage 0.39205566 > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("print.CatTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2165,6 +2177,7 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## Load > library(tableone) > @@ -2691,6 +2704,7 @@ protime 0.44433997 > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("print.ContTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2709,10 +2723,12 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## See examples for CreateTableOne and svyCreateTableOne > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("print.TableOne", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2728,10 +2744,12 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## See the examples for svyCreateTableOne() > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("print.svyCatTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2747,10 +2765,12 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## See the examples for svyCreateTableOne() > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("print.svyContTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2766,10 +2786,12 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## See examples for CreateTableOne > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("summary.CatTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2785,10 +2807,12 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## See examples for CreateTableOne > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("summary.ContTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2804,10 +2828,12 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## See examples for CreateTableOne and svyCreateTableOne > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("summary.TableOne", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2823,10 +2849,12 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## See the examples for svyCreateTableOne() > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("summary.svyCatTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2842,10 +2870,12 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## See the examples for svyCreateTableOne() > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("summary.svyContTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2862,10 +2892,12 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## See the examples for svyCreateTableOne() > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("svyCreateCatTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2882,10 +2914,12 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## See the examples for svyCreateTableOne() > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("svyCreateContTable", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -2902,6 +2936,7 @@ detaching ‘package:survival’ > > ### ** Examples > +> > ## Load packages > library(tableone) > library(survey) @@ -3245,6 +3280,7 @@ _E_x_a_m_p_l_e_s: > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("svyCreateTableOne", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() @@ -3263,17 +3299,19 @@ detaching ‘package:survey’, ‘package:grid’ > > ### ** Examples > +> > ## See examples for CreateTableOne and svyCreateTableOne > > > +> > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("tableone-package", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > ### *