Skip to content

Commit

Permalink
fix for check
Browse files Browse the repository at this point in the history
  • Loading branch information
DanChaltiel committed Aug 24, 2024
1 parent 725a325 commit 8cba860
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/flextable.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#' crosstable_fontsize_subheaders=10,
#' crosstable_fontsize_body=8)
#' crosstable(iris) %>% as_flextable()
#' crosstable(mtcars2, -model, by=c(am, vs)) %>% as_flextable(header_show_n=1:2, remove_header_keys=TRUE)
#' crosstable(mtcars2, -model, by=c(am, vs)) %>% as_flextable(header_show_n=1)
#' crosstable(mtcars2, cols=c(mpg, cyl), by=am, effect=TRUE) %>%
#' as_flextable(keep_id=TRUE, autofit=FALSE)
#' crosstable(mtcars2, cols=c(mpg, cyl), by=am, effect=TRUE, total=TRUE) %>%
Expand All @@ -51,7 +51,7 @@
#'
#' #Renaming (because why not?)
#' crosstable(mtcars2, am, by=vs, total="both", test=TRUE, effect=TRUE) %>%
#' rename(ID=.id, math=variable, Tot=Total, lab=label, pval=test, fx=effect) %>%
#' dplyr::rename(ID=.id, math=variable, Tot=Total, lab=label, pval=test, fx=effect) %>%
#' as_flextable(by_header = "Engine shape",
#' generic_labels=list(id = "ID", variable = "math", total="Tot",
#' label = "lab", test = "pval", effect="fx"))
Expand Down
4 changes: 2 additions & 2 deletions man/as_flextable.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8cba860

Please sign in to comment.