Package: reporttools 1.1.3

reporttools: Generate "LaTeX"" Tables of Descriptive Statistics

These functions are especially helpful when writing reports of data analysis using "Sweave".

Authors:Kaspar Rufibach

reporttools_1.1.3.tar.gz
reporttools_1.1.3.zip(r-4.5)reporttools_1.1.3.zip(r-4.4)reporttools_1.1.3.zip(r-4.3)
reporttools_1.1.3.tgz(r-4.4-any)reporttools_1.1.3.tgz(r-4.3-any)
reporttools_1.1.3.tar.gz(r-4.5-noble)reporttools_1.1.3.tar.gz(r-4.4-noble)
reporttools_1.1.3.tgz(r-4.4-emscripten)reporttools_1.1.3.tgz(r-4.3-emscripten)
reporttools.pdf |reporttools.html
reporttools/json (API)
NEWS

# Install 'reporttools' in R:
install.packages('reporttools', repos = c('https://numbersman77.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3.35 score 2 stars 111 scripts 489 downloads 1 mentions 27 exports 1 dependencies

Last updated 3 years agofrom:fc18cc1115. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 10 2024
R-4.5-winNOTENov 10 2024
R-4.5-linuxNOTENov 10 2024
R-4.4-winOKNov 10 2024
R-4.4-macOKNov 10 2024
R-4.3-winOKNov 10 2024
R-4.3-macOKNov 10 2024

Exports:addLineBreakattachPresAbsattachYesNocheckDateSuccessioncolToMatcorrectVarNamesdispdisplayCIdisplayCoxPHdisplayCrossTabsdisplayKbyCeliminateNAformatPercentformatPvalgetFontsmathNAtoCategoryNAtoZeronominalTestpairwise.fisher.testtableContinuoustableDatetableNominaltransformVarNamestransformVarNames2twoGroupComparisonsvarNamesToChar

Dependencies:xtable

A guide to the reporttools package

Rendered fromreporttools.Rnwusingutils::Sweaveon Nov 10 2024.

Last update: 2013-06-24
Started: 2013-06-24

Readme and manuals

Help Manual

Help pageTopics
Generate LaTeX Tables of Descriptive Statisticsreporttools-package reporttools
Break lines in a text column of a dataframe.addLineBreak
Attach levels absent and present to a 0-1 vector.attachPresAbs
Attach levels no and yes to a 0-1 vector.attachYesNo
Check whether dates in two vectors are elementwise consecutivecheckDateSuccession
Break a n * p data frame in a data frame with ceiling(n / cols) rows and cols * p columnscolToMat
Modify all entries in a data frame such that xtable has no problems displaying themcorrectVarNames
Display vectors of numbers, especially targeted to vectors of p-valuesdisp
Generate strings of a confidence interval from a matrixdisplayCI
Function to display a coxph() objectdisplayCoxPH
Function to display a set of K x C frequency tables, including p-valuedisplayCrossTabs
Function to display a K x C frequency table including col- and row-names and totalsdisplayKbyC
Eliminate all observations with at least one NA in a data frameeliminateNA
Format a numeric proportion.formatPercent
Format P ValuesformatPval
Used by the tabulating functions to format column titlesgetFonts
Enclose a string in math dollarsmath
Change NAs in a factor into a categoryNAtoCategory
Change NAs in a vector into a given value.NAtoZero
Compute Chi square or Fisher's exact testnominalTest
Pairwise Fisher's exact testpairwise.fisher.test
Generate a LaTeX table of descriptive statistics for continuous variablestableContinuous
Display descriptive statistics for date variablestableDate
Display descriptive statistics for nominal variablestableNominal
Generate R-code assigning each variable in a data frame to its nametransformVarNames
Generate R-code assigning each variable in a data frame to its nametransformVarNames2
Compute a table with analysis of two groups comparisonstwoGroupComparisons
Split a character string into variable namesvarNamesToChar