mytable2flextable: Convert mytable object to flextable

View source: R/mytable2flextable.R

mytable2flextableR Documentation

Convert mytable object to flextable

Description

Convert mytable object to flextable

Usage

mytable2flextable(result, vanilla = TRUE, fontname = NULL, fontsize = 10)

Arguments

result

An object of class "mytable"

vanilla

A Logical.

fontname

Font name

fontsize

font size

Examples

## Not run: 
require(moonBook)
require(flextable)
require(officer)
result=mytable(smoking+Dx~.,data=acs)
mytable2flextable(result)
mytable2flextable(result,vanilla=FALSE)
result=mytable(Dx~.,data=acs)
mytable2flextable(result)
mytable2flextable(result,vanilla=FALSE)

## End(Not run)

cardiomoon/rrtable documentation built on March 14, 2023, 10:39 p.m.