Learn R Programming

ztable (version 0.2.3)

ztable.table: 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 table
ztable(x, digits = NULL, ...)

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

# S3 method for default ztable(x, digits = NULL, ...)

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

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

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

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

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

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

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

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

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

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

# S3 method for 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)

  • table: Makes a ztable for class table

  • default: Default method of ztable

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

  • matrix: Makes a ztable for class matrix

  • lm: Makes a ztable for class 'lm'

  • fitdistr: Makes a ztable for class 'fitdistr'

  • nls: Makes a ztable for class 'nls'

  • aov: Makes a ztable for class 'aov'

  • anova: Makes a ztable for class 'anova'

  • glm: Makes a ztable for class 'glm'

  • coxph: Makes a ztable for class 'coxph'

  • prcomp: Makes a ztable for class 'prcomp'

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