Yasumoto A (2024).
ftExtra: Extensions for 'Flextable'.
-https://ftextra.atusy.net, https://github.com/atusy/ftExtra.
+R package version 0.6.1, https://github.com/atusy/ftExtra, https://ftextra.atusy.net.
@Manual{,
title = {ftExtra: Extensions for 'Flextable'},
author = {Atsushi Yasumoto},
- year = {2023},
- note = {https://ftextra.atusy.net, https://github.com/atusy/ftExtra},
+ year = {2024},
+ note = {R package version 0.6.1, https://github.com/atusy/ftExtra},
+ url = {https://ftextra.atusy.net},
}
as_flextable(grouped_df, groups_to ="merged")#>Warning: ftExtra:::as_flextable.data.frame is deprecated and will be removed in the future release. Consider using flextalbe's implementation by running `.S3method("as_flextable", "data.frame", flextable:::as_flextable.data.frame)`
-
as_flextable(grouped_df, groups_to ="asis")#>Warning: ftExtra:::as_flextable.data.frame is deprecated and will be removed in the future release. Consider using flextalbe's implementation by running `.S3method("as_flextable", "data.frame", flextable:::as_flextable.data.frame)`
-
Sepal.Length
Sepal.Width
Petal.Length
Petal.Width
Species
5.1
3.5
1.4
0.2
setosa
4.9
3.0
1.4
0.2
setosa
7.0
3.2
4.7
1.4
versicolor
6.4
3.2
4.5
1.5
versicolor
6.3
3.3
6.0
2.5
virginica
5.8
2.7
5.1
1.9
virginica
# For data.frame
+
Sepal.Length
Sepal.Width
Petal.Length
Petal.Width
Species
5.1
3.5
1.4
0.2
setosa
4.9
3.0
1.4
0.2
setosa
7.0
3.2
4.7
1.4
versicolor
6.4
3.2
4.5
1.5
versicolor
6.3
3.3
6.0
2.5
virginica
5.8
2.7
5.1
1.9
virginica
# For data.frameiris%>%head()%>%as_flextable()#>Warning: ftExtra:::as_flextable.data.frame is deprecated and will be removed in the future release. Consider using flextalbe's implementation by running `.S3method("as_flextable", "data.frame", flextable:::as_flextable.data.frame)`
-
# Use a user-defined function to format footnote symbolsif(rmarkdown::pandoc_available("2.0.6")){# a function to format symbols of footnote references
@@ -172,7 +172,7 @@
Examples
# tweak width for visibilityflextable::autofit(add_w =0.2)}
-
as_flextable(col_keys =with_blanks(dplyr::ends_with("Width")))#>Warning: ftExtra:::as_flextable.data.frame is deprecated and will be removed in the future release. Consider using flextalbe's implementation by running `.S3method("as_flextable", "data.frame", flextable:::as_flextable.data.frame)`#>Warning: This is a result of deprecating ftExtra:::as_flextable.data.frame
-