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

ztable.table {ztable} | R 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)

- `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'

[Package ztable version 0.2.0 Index]