ztable: Exporting a R object to an object of class "ztable"

View source: R/ztable.R

ztable.tableR Documentation

Exporting a R object to an object of class "ztable"

Description

Exporting a R object to an object of class "ztable"

Usage

## S3 method for class 'table'
ztable(x, digits = NULL, ...)

ztable(x, digits = NULL, ...)

## Default S3 method:
ztable(x, digits = NULL, ...)

## S3 method for class 'data.frame'
ztable(x, digits = NULL, ...)

## S3 method for class 'matrix'
ztable(x, digits = NULL, ...)

## S3 method for class 'lm'
ztable(x, digits = NULL, ...)

## S3 method for class 'fitdistr'
ztable(x, digits = NULL, ...)

## S3 method for class 'nls'
ztable(x, digits = NULL, ...)

## S3 method for class 'aov'
ztable(x, digits = NULL, ...)

## S3 method for class 'anova'
ztable(x, digits = NULL, ...)

## S3 method for class 'glm'
ztable(x, digits = NULL, ...)

## S3 method for class 'coxph'
ztable(x, digits = NULL, ...)

## S3 method for class 'prcomp'
ztable(x, digits = NULL, ...)

## S3 method for class 'summary.prcomp'
ztable(x, digits = NULL, ...)

Arguments

x

An R object, mainly data.frame

digits

Numeric vector of length equal to one (in which case it will be replicated as necessary) or to the number of columns of the resulting table

...

arguments to be passed to ztable_sub

Methods (by class)

  • ztable(table): Makes a ztable for class table

  • ztable(default): Default method of ztable

  • ztable(data.frame): Makes a ztable for class 'data.frame'

  • ztable(matrix): Makes a ztable for class matrix

  • ztable(lm): Makes a ztable for class 'lm'

  • ztable(fitdistr): Makes a ztable for class 'fitdistr'

  • ztable(nls): Makes a ztable for class 'nls'

  • ztable(aov): Makes a ztable for class 'aov'

  • ztable(anova): Makes a ztable for class 'anova'

  • ztable(glm): Makes a ztable for class 'glm'

  • ztable(coxph): Makes a ztable for class 'coxph'

  • ztable(prcomp): Makes a ztable for class 'prcomp'

  • ztable(summary.prcomp): Makes a ztable for class 'summary.prcomp'


cardiomoon/ztable documentation built on July 27, 2023, 10:25 a.m.