crosstable: Cross Tables

View source: R/crosstable.h.R

crosstableR Documentation

Cross Tables

Description

Function for making Cross Tables.

Usage

crosstable(
  data,
  vars,
  group,
  sty = "nejm",
  excl = TRUE,
  cont = "mean",
  pcat = "chisq"
)

Arguments

data

The data as a data frame.

vars

variable in the rows

group

variable in the column

sty

.

excl

.

cont

.

pcat

.

Value

A results object containing:

results$todo a html
results$tablestyle1 a html
results$tablestyle2 a html
results$tablestyle3 a html
results$tablestyle4 a html

Examples

## Not run: 
# example will be added

## End(Not run)

sbalci/ClinicoPathLinuxDescriptives documentation built on July 21, 2023, 11:54 a.m.