Description Usage Arguments Value Author(s) See Also Examples

View source: R/print.svyContTable.R

`print`

method for the `svyContTable`

class objects created by `CreateContTable`

function.

1 2 3 4 5 |

`x` |
Object returned by |

`digits` |
Number of digits to print in the table. |

`pDigits` |
Number of digits to print for p-values (also used for standardized mean differences). |

`quote` |
Whether to show everything in quotes. The default is FALSE. If TRUE, everything including the row and column names are quoted so that you can copy it to Excel easily. |

`missing` |
Whether to show missing data information. |

`explain` |
Whether to add explanation to the variable names, i.e., (mean (sd) or median [IQR]) is added to the variable names. |

`printToggle` |
Whether to print the output. If FALSE, no output is created, and a matrix is invisibly returned. |

`noSpaces` |
Whether to remove spaces added for alignment. Use this option if you prefer to align numbers yourself in other software. |

`nonnormal` |
A character vector to specify the variables for which the p-values should be those of nonparametric tests. By default all p-values are from normal assumption-based tests (oneway.test). |

`minMax` |
Whether to use [min,max] instead of [p25,p75] for nonnormal variables. The default is FALSE. |

`insertLevel` |
Whether to add an empty level column to the left of strata. |

`test` |
Whether to show p-values. TRUE by default. If FALSE, only the numerical summaries are shown. |

`smd` |
Whether to show standardized mean differences. FALSE by default. If there are more than one contrasts, the average of all possible standardized mean differences is shown. For individual contrasts, use |

`...` |
For compatibility with generic. Ignored. |

A matrix object containing what you see is also invisibly returned. This can be assinged a name and exported via `write.csv`

.

Kazuki Yoshida

`svyCreateTableOne`

, `svyCreateCatTable`

, `summary.svyCatTable`

1 | ```
## See the examples for svyCreateTableOne()
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.