The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

tsg

CRAN status R-CMD-check

The tsg package provides a set of functions for generating frequency tables, cross-tabulations, and formatted output tables. It is designed to work with data frames and supports various customization options.

Installation

install.packages("tsg")

Basic usage

library(tsg)

generate_frequency(person_record, sex)

generate_crosstab(person_record, marital_status, sex)

person_record |> 
  generate_crosstab(marital_status, sex) |> 
  generate_output(
    path = "crosstab.xlsx",
    format = "xlsx"
  )

More examples here.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.