diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index f435b09..ea782bb 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.6.3 -Date: 2024-04-02 15:45:37 UTC -SHA: 3c79844063ea9f762950317f9486b40844f43d49 +Version: 0.6.4 +Date: 2024-05-10 00:19:59 UTC +SHA: b29e2346affc3bfb020702de90a42f8c02098cff diff --git a/DESCRIPTION b/DESCRIPTION index b18bd4e..be3ecc1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: ftExtra Title: Extensions for 'Flextable' -Version: 0.6.3 -Date: 2024-03-31 +Version: 0.6.4 +Date: 2024-05-11 Authors@R: c(person(given = "Atsushi", family = "Yasumoto", @@ -50,6 +50,6 @@ VignetteBuilder: Encoding: UTF-8 Language: en-US Roxygen: list(markdown = TRUE) -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.1 SystemRequirements: pandoc (>= 2.0.6) - http://pandoc.org Config/testthat/edition: 3 diff --git a/docs/404.html b/docs/404.html index ee06070..8b890d6 100644 --- a/docs/404.html +++ b/docs/404.html @@ -32,7 +32,7 @@ ftExtra - 0.6.3 + 0.6.4 diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 6dde3f0..e5e6e90 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -17,7 +17,7 @@ ftExtra - 0.6.3 + 0.6.4 diff --git a/docs/LICENSE.html b/docs/LICENSE.html index 2be317c..685c88a 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -17,7 +17,7 @@ ftExtra - 0.6.3 + 0.6.4 diff --git a/docs/articles/format_columns.html b/docs/articles/format_columns.html index 6ded637..ea060ab 100644 --- a/docs/articles/format_columns.html +++ b/docs/articles/format_columns.html @@ -33,7 +33,7 @@ ftExtra - 0.6.3 + 0.6.4 @@ -135,12 +135,12 @@

Why markdown?) )
- - - + +

Oxide

+ - - + +

Oxide

SiO2

Al2O3

SiO2

Al2O3

@@ -187,12 +187,12 @@

Why markdown?} ft
- - - + +

Oxide

+ - - + +

Oxide

SiO2

Fe2O3

SiO2

Fe2O3

@@ -219,12 +219,12 @@

Why markdown?flextable::flextable() %>% ftExtra::colformat_md()
- - - + +

Oxide

+ - - + +

Oxide

SiO2

Fe2O3

SiO2

Fe2O3

@@ -263,26 +263,26 @@

Basic examples flextable() %>% colformat_md()
- - + +
- - - - + + + + - - - - + + + + - - - - + + + +

a

b

c

d

a

b

c

d

bold

superscript

code

ftExtra is

bold

superscript

code

ftExtra is

italic

subscript

underline

Cool

italic

subscript

underline

Cool

@@ -339,17 +339,17 @@

Footnotescolformat_md() %>% flextable::autofit(add_w = 0.5)

- - + +
- - + + - - + + - +

package

description

package

description

ftExtra

Extensions for Flextable1

ftExtra

Extensions for Flextable1

1Supports of footnotes

1Supports of footnotes

Reference symbols can be configured by @@ -374,17 +374,17 @@

Footnotes) %>% flextable::autofit(add_w = 0.5)
- - + +
- - + + - - + + - +

package

description

package

description

ftExtra[ii]

Extensions for Flextable[iii]

ftExtra[ii]

Extensions for Flextable[iii]

[ii]Short of flextable extra; [iii]Supports of footnotes;

[ii]Short of flextable extra; [iii]Supports of footnotes;

In order to add multiple footnotes to a cell, use normal footnotes @@ -402,13 +402,13 @@

Footnotesflextable() %>% colformat_md()
- - - - + +

x

foo1, 2

+ + - - + +

x

foo1, 2

1aaa

2bbb

1aaa

2bbb

@@ -456,26 +456,26 @@

Footnotes# tweak width for visibility flextable::autofit(add_w = 0.2)
- - + +
- - + + - - + + - - + + - - - + + +

header1a

header2

header1a

header2

x1

a

x1

a

y

b2

y

b2

a: note a

1: note 1

2: note 2

a: note a

1: note 1

2: note 2

@@ -511,10 +511,10 @@

Images colformat_md() %>% flextable::autofit()
- - - - + +

R

+ +

R

The R logo is distributed by The R Foundation with the CC-BY-SA 4.0 @@ -529,10 +529,10 @@

Line breaksflextable() %>% colformat_md()
- - - - + +

linebreak

a b

+ +

linebreak

a b

Pandoc’s markdown supports hard line breaks by adding a backslash or @@ -542,10 +542,10 @@

Line breaksflextable() %>% colformat_md()
- - - - + +

linebreak

a
b

+ +

linebreak

a
b

It is also possible to make \n as a hard line break by @@ -555,10 +555,10 @@

Line breaksflextable() %>% colformat_md(md_extensions = "+hard_line_breaks")
- - - - + +

linebreak

a
b

+ +

linebreak

a
b

Markdown treats continuous linebreaks as a separator of blocks such @@ -571,10 +571,10 @@

Line breaksflextable() %>% colformat_md(.sep = "\n\n")
- - - - + +

linebreak

a

b

+ +

linebreak

a

b

@@ -588,7 +588,7 @@

Citations title = {ftExtra: Extensions for Flextable}, author = {Atsushi Yasumoto}, year = {2024}, - note = {R package version 0.6.3}, + note = {R package version 0.6.4}, url = {https://ftextra.atusy.net}, }

Second, specify it, and optionally a CSL file, within the YAML front @@ -613,13 +613,13 @@

Citations - - - + +

Cite

+ - - - + + +

Cite

Yasumoto (2024)

(Yasumoto 2024)

(2024)

Yasumoto (2024)

(Yasumoto 2024)

(2024)

@@ -640,10 +640,10 @@

Math colformat_md() %>% flextable::autofit(add_w = 0.2)
- - - - + +

math

eiθ = cos θ + isin θ

+ +

math

eiθ = cos θ + isin θ

Note that results can be insufficient. This feature relies on @@ -663,10 +663,10 @@

Emoji flextable() %>% colformat_md(md_extensions = "+emoji")
- - - - + +

emoji

👍

+ +

emoji

👍

@@ -683,10 +683,10 @@

Other input formatsflextable() %>% colformat_md(.from = "html")
- - - - + +

x

H2O

+ +

x

H2O

Note that multiple paragraphs are not supported if .from @@ -699,10 +699,10 @@

Other input formatsflextable() %>% colformat_md(.from = "commonmark")
- - - - + +

x

foobar

+ +

x

foobar

diff --git a/docs/articles/group-rows.html b/docs/articles/group-rows.html index 2524a3e..4808dee 100644 --- a/docs/articles/group-rows.html +++ b/docs/articles/group-rows.html @@ -33,7 +33,7 @@ ftExtra - 0.6.3 + 0.6.4 @@ -119,53 +119,53 @@

Single grouping columns
 grouped_iris %>% as_flextable()
- - + +
- - - - + + + + - + - - - - + + + + - - - - + + + + - + - - - - + + + + - - - - + + + + - + - - - - + + + + - - - - + + + +

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

Species: setosa

Species: setosa

5.1

3.5

1.4

0.2

5.1

3.5

1.4

0.2

4.9

3.0

1.4

0.2

4.9

3.0

1.4

0.2

Species: versicolor

Species: versicolor

7.0

3.2

4.7

1.4

7.0

3.2

4.7

1.4

6.4

3.2

4.5

1.5

6.4

3.2

4.5

1.5

Species: virginica

Species: virginica

6.3

3.3

6.0

2.5

6.3

3.3

6.0

2.5

5.8

2.7

5.1

1.9

5.8

2.7

5.1

1.9

@@ -173,53 +173,53 @@

Single grouping columns
 grouped_iris %>% as_flextable(hide_grouplabel = TRUE)

- - + +
- - - - + + + + - + - - - - + + + + - - - - + + + + - + - - - - + + + + - - - - + + + + - + - - - - + + + + - - - - + + + +

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

setosa

setosa

5.1

3.5

1.4

0.2

5.1

3.5

1.4

0.2

4.9

3.0

1.4

0.2

4.9

3.0

1.4

0.2

versicolor

versicolor

7.0

3.2

4.7

1.4

7.0

3.2

4.7

1.4

6.4

3.2

4.5

1.5

6.4

3.2

4.5

1.5

virginica

virginica

6.3

3.3

6.0

2.5

6.3

3.3

6.0

2.5

5.8

2.7

5.1

1.9

5.8

2.7

5.1

1.9

@@ -231,53 +231,53 @@

Multiple grouping columns
 grouped_mtcars %>% as_flextable()

- - + +
- - - + + + - - + + - - - + + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + +

model

mpg

disp

model

mpg

disp

am: 1.0

cyl: 6.0

am: 1.0

cyl: 6.0

Mazda RX4

21.0

160

Mazda RX4

21.0

160

Mazda RX4 Wag

21.0

160

Mazda RX4 Wag

21.0

160

am: 1.0

cyl: 4.0

am: 1.0

cyl: 4.0

Datsun 710

22.8

108

Datsun 710

22.8

108

am: 0.0

cyl: 6.0

am: 0.0

cyl: 6.0

Hornet 4 Drive

21.4

258

Hornet 4 Drive

21.4

258

am: 0.0

cyl: 8.0

am: 0.0

cyl: 8.0

Hornet Sportabout

18.7

360

Hornet Sportabout

18.7

360

am: 0.0

cyl: 6.0

am: 0.0

cyl: 6.0

Valiant

18.1

225

Valiant

18.1

225

@@ -301,54 +301,54 @@

Single grouping variable#> the future release. Consider using flextalbe's implementation by running #> `.S3method("as_flextable", "data.frame", flextable:::as_flextable.data.frame)`

- - + +
- - - - - + + + + + - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + +

Species

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

Species

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

setosa

5.1

3.5

1.4

0.2

setosa

5.1

3.5

1.4

0.2

4.9

3.0

1.4

0.2

4.9

3.0

1.4

0.2

versicolor

7.0

3.2

4.7

1.4

versicolor

7.0

3.2

4.7

1.4

6.4

3.2

4.5

1.5

6.4

3.2

4.5

1.5

virginica

6.3

3.3

6.0

2.5

virginica

6.3

3.3

6.0

2.5

5.8

2.7

5.1

1.9

5.8

2.7

5.1

1.9

@@ -364,51 +364,51 @@

Multiple grouping variables#> the future release. Consider using flextalbe's implementation by running #> `.S3method("as_flextable", "data.frame", flextable:::as_flextable.data.frame)`

- - + +
- - - - - + + + + + - - - - - + + + + + - - - + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - + + +

am

cyl

model

mpg

disp

am

cyl

model

mpg

disp

0

6

Hornet 4 Drive

21.4

258

0

6

Hornet 4 Drive

21.4

258

Valiant

18.1

225

Valiant

18.1

225

8

Hornet Sportabout

18.7

360

8

Hornet Sportabout

18.7

360

1

4

Datsun 710

22.8

108

1

4

Datsun 710

22.8

108

6

Mazda RX4

21.0

160

6

Mazda RX4

21.0

160

Mazda RX4 Wag

21.0

160

Mazda RX4 Wag

21.0

160

@@ -420,52 +420,52 @@

Multiple grouping variables#> the future release. Consider using flextalbe's implementation by running #> `.S3method("as_flextable", "data.frame", flextable:::as_flextable.data.frame)`

- - + +
- - - - - + + + + + - - - - - + + + + + - - - + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - - + + + +

am

cyl

model

mpg

disp

am

cyl

model

mpg

disp

1

6

Mazda RX4

21.0

160

1

6

Mazda RX4

21.0

160

Mazda RX4 Wag

21.0

160

Mazda RX4 Wag

21.0

160

4

Datsun 710

22.8

108

4

Datsun 710

22.8

108

0

6

Hornet 4 Drive

21.4

258

0

6

Hornet 4 Drive

21.4

258

8

Hornet Sportabout

18.7

360

8

Hornet Sportabout

18.7

360

6

Valiant

18.1

225

6

Valiant

18.1

225

@@ -484,52 +484,52 @@

Position of grouping variables#> the future release. Consider using flextalbe's implementation by running #> `.S3method("as_flextable", "data.frame", flextable:::as_flextable.data.frame)`

- - + +
- - - - - + + + + + - - - - - + + + + + - - - + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - - + + + +

model

cyl

mpg

disp

am

model

cyl

mpg

disp

am

Mazda RX4

6

21.0

160

1

Mazda RX4

6

21.0

160

1

Mazda RX4 Wag

21.0

160

Mazda RX4 Wag

21.0

160

Datsun 710

4

22.8

108

Datsun 710

4

22.8

108

Hornet 4 Drive

6

21.4

258

0

Hornet 4 Drive

6

21.4

258

0

Hornet Sportabout

8

18.7

360

Hornet Sportabout

8

18.7

360

Valiant

6

18.1

225

Valiant

6

18.1

225

diff --git a/docs/articles/index.html b/docs/articles/index.html index 001374f..e992228 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -17,7 +17,7 @@
ftExtra - 0.6.3 + 0.6.4
diff --git a/docs/articles/transform-headers.html b/docs/articles/transform-headers.html index 486cfd1..bf10df9 100644 --- a/docs/articles/transform-headers.html +++ b/docs/articles/transform-headers.html @@ -33,7 +33,7 @@ ftExtra - 0.6.3 + 0.6.4 @@ -108,29 +108,29 @@

Prepare flextableft <- iris[1:2, ] %>% flextable() ft
- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + +

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

Species

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

Species

5.1

3.5

1.4

0.2

setosa

5.1

3.5

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

@@ -144,38 +144,38 @@

Split headers
 ft %>% split_header()

- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + +

Sepal

Sepal

Petal

Petal

Species

Sepal

Sepal

Petal

Petal

Species

Length

Width

Length

Width

Length

Width

Length

Width

5.1

3.5

1.4

0.2

setosa

5.1

3.5

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

@@ -186,45 +186,45 @@

Split headers
 ft %>% split_header(sep = "e")

- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + +

S

S

P

P

Sp

S

S

P

P

Sp

pal.L

pal.Width

tal.L

tal.Width

ci

pal.L

pal.Width

tal.L

tal.Width

ci

ngth

ngth

s

ngth

ngth

s

5.1

3.5

1.4

0.2

setosa

5.1

3.5

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

@@ -240,35 +240,35 @@

Span headers
 ft %>% span_header()

- - + +
- - - + + + - - - - + + + + - - - - - + + + + + - - - - - + + + + +

Sepal

Petal

Species

Sepal

Petal

Species

Length

Width

Length

Width

Length

Width

Length

Width

5.1

3.5

1.4

0.2

setosa

5.1

3.5

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

diff --git a/docs/authors.html b/docs/authors.html index 13a982c..4d857eb 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -17,7 +17,7 @@ ftExtra - 0.6.3 + 0.6.4
@@ -91,13 +91,13 @@

Citation

Yasumoto A (2024). ftExtra: Extensions for 'Flextable'. -R package version 0.6.3, https://github.com/atusy/ftExtra, https://ftextra.atusy.net. +R package version 0.6.4, https://github.com/atusy/ftExtra, https://ftextra.atusy.net.

@Manual{,
   title = {ftExtra: Extensions for 'Flextable'},
   author = {Atsushi Yasumoto},
   year = {2024},
-  note = {R package version 0.6.3, https://github.com/atusy/ftExtra},
+  note = {R package version 0.6.4, https://github.com/atusy/ftExtra},
   url = {https://ftextra.atusy.net},
 }
diff --git a/docs/index.html b/docs/index.html index 2f58269..67619c9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -35,7 +35,7 @@ ftExtra - 0.6.3 + 0.6.4 diff --git a/docs/news/index.html b/docs/news/index.html index b1eefb5..da7bb2e 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -17,7 +17,7 @@ ftExtra - 0.6.3 + 0.6.4 diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 4c4e977..2c7ef2f 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -5,5 +5,5 @@ articles: format_columns: format_columns.html group-rows: group-rows.html transform-headers: transform-headers.html -last_built: 2024-05-03T13:39Z +last_built: 2024-05-09T23:49Z diff --git a/docs/reference/as_flextable_methods.html b/docs/reference/as_flextable_methods.html index 6a8b0a0..e4e6771 100644 --- a/docs/reference/as_flextable_methods.html +++ b/docs/reference/as_flextable_methods.html @@ -21,7 +21,7 @@ ftExtra - 0.6.3 + 0.6.4 @@ -150,17 +150,17 @@

Examples

dplyr::slice(1, 2) as_flextable(grouped_df, groups_to = "titles") -

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

Species: setosa

5.1

3.5

1.4

0.2

4.9

3.0

1.4

0.2

Species: versicolor

7.0

3.2

4.7

1.4

6.4

3.2

4.5

1.5

Species: virginica

6.3

3.3

6.0

2.5

5.8

2.7

5.1

1.9

as_flextable(grouped_df, groups_to = "titles", hide_grouplabel = TRUE) -

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

setosa

5.1

3.5

1.4

0.2

4.9

3.0

1.4

0.2

versicolor

7.0

3.2

4.7

1.4

6.4

3.2

4.5

1.5

virginica

6.3

3.3

6.0

2.5

5.8

2.7

5.1

1.9

as_flextable(grouped_df, groups_to = "merged") +

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

Species: setosa

5.1

3.5

1.4

0.2

4.9

3.0

1.4

0.2

Species: versicolor

7.0

3.2

4.7

1.4

6.4

3.2

4.5

1.5

Species: virginica

6.3

3.3

6.0

2.5

5.8

2.7

5.1

1.9

as_flextable(grouped_df, groups_to = "titles", hide_grouplabel = TRUE) +

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

setosa

5.1

3.5

1.4

0.2

4.9

3.0

1.4

0.2

versicolor

7.0

3.2

4.7

1.4

6.4

3.2

4.5

1.5

virginica

6.3

3.3

6.0

2.5

5.8

2.7

5.1

1.9

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

Species

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

setosa

5.1

3.5

1.4

0.2

4.9

3.0

1.4

0.2

versicolor

7.0

3.2

4.7

1.4

6.4

3.2

4.5

1.5

virginica

6.3

3.3

6.0

2.5

5.8

2.7

5.1

1.9

as_flextable(grouped_df, groups_to = "asis") +

Species

Sepal.Length

Sepal.Width

Petal.Length

Petal.Width

setosa

5.1

3.5

1.4

0.2

4.9

3.0

1.4

0.2

versicolor

7.0

3.2

4.7

1.4

6.4

3.2

4.5

1.5

virginica

6.3

3.3

6.0

2.5

5.8

2.7

5.1

1.9

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.frame iris %>% 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)` -

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

4.7

3.2

1.3

0.2

setosa

4.6

3.1

1.5

0.2

setosa

5.0

3.6

1.4

0.2

setosa

5.4

3.9

1.7

0.4

setosa

+

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

4.7

3.2

1.3

0.2

setosa

4.6

3.1

1.5

0.2

setosa

5.0

3.6

1.4

0.2

setosa

5.4

3.9

1.7

0.4

setosa

@@ -143,7 +143,7 @@

Examples

#> The following object is masked from ‘package:ftExtra’: #> #> separate_header -

x

foo bar

baz

*qux*

+

x

foo bar

baz

*qux*

@@ -147,7 +147,7 @@

Examples

) colformat_md(flextable::flextable(d)) } -

x

y

z

bold

superscript

ftExtra is

italic

subscript

Cool

+

x

y

z

bold

superscript

ftExtra is

italic

subscript

Cool

@@ -136,7 +136,7 @@

Examples

.footnote_options = footnote_options("1", start = 1L) ) } -

header11

header2

x2

a

y

b3

1note a

2note 1

3note 2

+

header11

header2

x2

a

y

b3

1note a

2note 1

3note 2

# Use a user-defined function to format footnote symbols # Skipped to reduce build time if (FALSE) { diff --git a/docs/reference/index.html b/docs/reference/index.html index e1dabbb..c3059e7 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -17,7 +17,7 @@ ftExtra - 0.6.3 + 0.6.4 diff --git a/docs/reference/reexports.html b/docs/reference/reexports.html index f0df42a..35d2a73 100644 --- a/docs/reference/reexports.html +++ b/docs/reference/reexports.html @@ -28,7 +28,7 @@ ftExtra - 0.6.3 + 0.6.4 diff --git a/docs/reference/span_header.html b/docs/reference/span_header.html index 8312199..b65a570 100644 --- a/docs/reference/span_header.html +++ b/docs/reference/span_header.html @@ -17,7 +17,7 @@ ftExtra - 0.6.3 + 0.6.4 @@ -109,7 +109,7 @@

Examples

iris %>%
   flextable() %>%
   span_header()
-

Sepal

Petal

Species

Length

Width

Length

Width

5.1

3.5

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

4.7

3.2

1.3

0.2

setosa

4.6

3.1

1.5

0.2

setosa

5.0

3.6

1.4

0.2

setosa

5.4

3.9

1.7

0.4

setosa

4.6

3.4

1.4

0.3

setosa

5.0

3.4

1.5

0.2

setosa

4.4

2.9

1.4

0.2

setosa

4.9

3.1

1.5

0.1

setosa

5.4

3.7

1.5

0.2

setosa

4.8

3.4

1.6

0.2

setosa

4.8

3.0

1.4

0.1

setosa

4.3

3.0

1.1

0.1

setosa

5.8

4.0

1.2

0.2

setosa

5.7

4.4

1.5

0.4

setosa

5.4

3.9

1.3

0.4

setosa

5.1

3.5

1.4

0.3

setosa

5.7

3.8

1.7

0.3

setosa

5.1

3.8

1.5

0.3

setosa

5.4

3.4

1.7

0.2

setosa

5.1

3.7

1.5

0.4

setosa

4.6

3.6

1.0

0.2

setosa

5.1

3.3

1.7

0.5

setosa

4.8

3.4

1.9

0.2

setosa

5.0

3.0

1.6

0.2

setosa

5.0

3.4

1.6

0.4

setosa

5.2

3.5

1.5

0.2

setosa

5.2

3.4

1.4

0.2

setosa

4.7

3.2

1.6

0.2

setosa

4.8

3.1

1.6

0.2

setosa

5.4

3.4

1.5

0.4

setosa

5.2

4.1

1.5

0.1

setosa

5.5

4.2

1.4

0.2

setosa

4.9

3.1

1.5

0.2

setosa

5.0

3.2

1.2

0.2

setosa

5.5

3.5

1.3

0.2

setosa

4.9

3.6

1.4

0.1

setosa

4.4

3.0

1.3

0.2

setosa

5.1

3.4

1.5

0.2

setosa

5.0

3.5

1.3

0.3

setosa

4.5

2.3

1.3

0.3

setosa

4.4

3.2

1.3

0.2

setosa

5.0

3.5

1.6

0.6

setosa

5.1

3.8

1.9

0.4

setosa

4.8

3.0

1.4

0.3

setosa

5.1

3.8

1.6

0.2

setosa

4.6

3.2

1.4

0.2

setosa

5.3

3.7

1.5

0.2

setosa

5.0

3.3

1.4

0.2

setosa

7.0

3.2

4.7

1.4

versicolor

6.4

3.2

4.5

1.5

versicolor

6.9

3.1

4.9

1.5

versicolor

5.5

2.3

4.0

1.3

versicolor

6.5

2.8

4.6

1.5

versicolor

5.7

2.8

4.5

1.3

versicolor

6.3

3.3

4.7

1.6

versicolor

4.9

2.4

3.3

1.0

versicolor

6.6

2.9

4.6

1.3

versicolor

5.2

2.7

3.9

1.4

versicolor

5.0

2.0

3.5

1.0

versicolor

5.9

3.0

4.2

1.5

versicolor

6.0

2.2

4.0

1.0

versicolor

6.1

2.9

4.7

1.4

versicolor

5.6

2.9

3.6

1.3

versicolor

6.7

3.1

4.4

1.4

versicolor

5.6

3.0

4.5

1.5

versicolor

5.8

2.7

4.1

1.0

versicolor

6.2

2.2

4.5

1.5

versicolor

5.6

2.5

3.9

1.1

versicolor

5.9

3.2

4.8

1.8

versicolor

6.1

2.8

4.0

1.3

versicolor

6.3

2.5

4.9

1.5

versicolor

6.1

2.8

4.7

1.2

versicolor

6.4

2.9

4.3

1.3

versicolor

6.6

3.0

4.4

1.4

versicolor

6.8

2.8

4.8

1.4

versicolor

6.7

3.0

5.0

1.7

versicolor

6.0

2.9

4.5

1.5

versicolor

5.7

2.6

3.5

1.0

versicolor

5.5

2.4

3.8

1.1

versicolor

5.5

2.4

3.7

1.0

versicolor

5.8

2.7

3.9

1.2

versicolor

6.0

2.7

5.1

1.6

versicolor

5.4

3.0

4.5

1.5

versicolor

6.0

3.4

4.5

1.6

versicolor

6.7

3.1

4.7

1.5

versicolor

6.3

2.3

4.4

1.3

versicolor

5.6

3.0

4.1

1.3

versicolor

5.5

2.5

4.0

1.3

versicolor

5.5

2.6

4.4

1.2

versicolor

6.1

3.0

4.6

1.4

versicolor

5.8

2.6

4.0

1.2

versicolor

5.0

2.3

3.3

1.0

versicolor

5.6

2.7

4.2

1.3

versicolor

5.7

3.0

4.2

1.2

versicolor

5.7

2.9

4.2

1.3

versicolor

6.2

2.9

4.3

1.3

versicolor

5.1

2.5

3.0

1.1

versicolor

5.7

2.8

4.1

1.3

versicolor

6.3

3.3

6.0

2.5

virginica

5.8

2.7

5.1

1.9

virginica

7.1

3.0

5.9

2.1

virginica

6.3

2.9

5.6

1.8

virginica

6.5

3.0

5.8

2.2

virginica

7.6

3.0

6.6

2.1

virginica

4.9

2.5

4.5

1.7

virginica

7.3

2.9

6.3

1.8

virginica

6.7

2.5

5.8

1.8

virginica

7.2

3.6

6.1

2.5

virginica

6.5

3.2

5.1

2.0

virginica

6.4

2.7

5.3

1.9

virginica

6.8

3.0

5.5

2.1

virginica

5.7

2.5

5.0

2.0

virginica

5.8

2.8

5.1

2.4

virginica

6.4

3.2

5.3

2.3

virginica

6.5

3.0

5.5

1.8

virginica

7.7

3.8

6.7

2.2

virginica

7.7

2.6

6.9

2.3

virginica

6.0

2.2

5.0

1.5

virginica

6.9

3.2

5.7

2.3

virginica

5.6

2.8

4.9

2.0

virginica

7.7

2.8

6.7

2.0

virginica

6.3

2.7

4.9

1.8

virginica

6.7

3.3

5.7

2.1

virginica

7.2

3.2

6.0

1.8

virginica

6.2

2.8

4.8

1.8

virginica

6.1

3.0

4.9

1.8

virginica

6.4

2.8

5.6

2.1

virginica

7.2

3.0

5.8

1.6

virginica

7.4

2.8

6.1

1.9

virginica

7.9

3.8

6.4

2.0

virginica

6.4

2.8

5.6

2.2

virginica

6.3

2.8

5.1

1.5

virginica

6.1

2.6

5.6

1.4

virginica

7.7

3.0

6.1

2.3

virginica

6.3

3.4

5.6

2.4

virginica

6.4

3.1

5.5

1.8

virginica

6.0

3.0

4.8

1.8

virginica

6.9

3.1

5.4

2.1

virginica

6.7

3.1

5.6

2.4

virginica

6.9

3.1

5.1

2.3

virginica

5.8

2.7

5.1

1.9

virginica

6.8

3.2

5.9

2.3

virginica

6.7

3.3

5.7

2.5

virginica

6.7

3.0

5.2

2.3

virginica

6.3

2.5

5.0

1.9

virginica

6.5

3.0

5.2

2.0

virginica

6.2

3.4

5.4

2.3

virginica

5.9

3.0

5.1

1.8

virginica

+

Sepal

Petal

Species

Length

Width

Length

Width

5.1

3.5

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

4.7

3.2

1.3

0.2

setosa

4.6

3.1

1.5

0.2

setosa

5.0

3.6

1.4

0.2

setosa

5.4

3.9

1.7

0.4

setosa

4.6

3.4

1.4

0.3

setosa

5.0

3.4

1.5

0.2

setosa

4.4

2.9

1.4

0.2

setosa

4.9

3.1

1.5

0.1

setosa

5.4

3.7

1.5

0.2

setosa

4.8

3.4

1.6

0.2

setosa

4.8

3.0

1.4

0.1

setosa

4.3

3.0

1.1

0.1

setosa

5.8

4.0

1.2

0.2

setosa

5.7

4.4

1.5

0.4

setosa

5.4

3.9

1.3

0.4

setosa

5.1

3.5

1.4

0.3

setosa

5.7

3.8

1.7

0.3

setosa

5.1

3.8

1.5

0.3

setosa

5.4

3.4

1.7

0.2

setosa

5.1

3.7

1.5

0.4

setosa

4.6

3.6

1.0

0.2

setosa

5.1

3.3

1.7

0.5

setosa

4.8

3.4

1.9

0.2

setosa

5.0

3.0

1.6

0.2

setosa

5.0

3.4

1.6

0.4

setosa

5.2

3.5

1.5

0.2

setosa

5.2

3.4

1.4

0.2

setosa

4.7

3.2

1.6

0.2

setosa

4.8

3.1

1.6

0.2

setosa

5.4

3.4

1.5

0.4

setosa

5.2

4.1

1.5

0.1

setosa

5.5

4.2

1.4

0.2

setosa

4.9

3.1

1.5

0.2

setosa

5.0

3.2

1.2

0.2

setosa

5.5

3.5

1.3

0.2

setosa

4.9

3.6

1.4

0.1

setosa

4.4

3.0

1.3

0.2

setosa

5.1

3.4

1.5

0.2

setosa

5.0

3.5

1.3

0.3

setosa

4.5

2.3

1.3

0.3

setosa

4.4

3.2

1.3

0.2

setosa

5.0

3.5

1.6

0.6

setosa

5.1

3.8

1.9

0.4

setosa

4.8

3.0

1.4

0.3

setosa

5.1

3.8

1.6

0.2

setosa

4.6

3.2

1.4

0.2

setosa

5.3

3.7

1.5

0.2

setosa

5.0

3.3

1.4

0.2

setosa

7.0

3.2

4.7

1.4

versicolor

6.4

3.2

4.5

1.5

versicolor

6.9

3.1

4.9

1.5

versicolor

5.5

2.3

4.0

1.3

versicolor

6.5

2.8

4.6

1.5

versicolor

5.7

2.8

4.5

1.3

versicolor

6.3

3.3

4.7

1.6

versicolor

4.9

2.4

3.3

1.0

versicolor

6.6

2.9

4.6

1.3

versicolor

5.2

2.7

3.9

1.4

versicolor

5.0

2.0

3.5

1.0

versicolor

5.9

3.0

4.2

1.5

versicolor

6.0

2.2

4.0

1.0

versicolor

6.1

2.9

4.7

1.4

versicolor

5.6

2.9

3.6

1.3

versicolor

6.7

3.1

4.4

1.4

versicolor

5.6

3.0

4.5

1.5

versicolor

5.8

2.7

4.1

1.0

versicolor

6.2

2.2

4.5

1.5

versicolor

5.6

2.5

3.9

1.1

versicolor

5.9

3.2

4.8

1.8

versicolor

6.1

2.8

4.0

1.3

versicolor

6.3

2.5

4.9

1.5

versicolor

6.1

2.8

4.7

1.2

versicolor

6.4

2.9

4.3

1.3

versicolor

6.6

3.0

4.4

1.4

versicolor

6.8

2.8

4.8

1.4

versicolor

6.7

3.0

5.0

1.7

versicolor

6.0

2.9

4.5

1.5

versicolor

5.7

2.6

3.5

1.0

versicolor

5.5

2.4

3.8

1.1

versicolor

5.5

2.4

3.7

1.0

versicolor

5.8

2.7

3.9

1.2

versicolor

6.0

2.7

5.1

1.6

versicolor

5.4

3.0

4.5

1.5

versicolor

6.0

3.4

4.5

1.6

versicolor

6.7

3.1

4.7

1.5

versicolor

6.3

2.3

4.4

1.3

versicolor

5.6

3.0

4.1

1.3

versicolor

5.5

2.5

4.0

1.3

versicolor

5.5

2.6

4.4

1.2

versicolor

6.1

3.0

4.6

1.4

versicolor

5.8

2.6

4.0

1.2

versicolor

5.0

2.3

3.3

1.0

versicolor

5.6

2.7

4.2

1.3

versicolor

5.7

3.0

4.2

1.2

versicolor

5.7

2.9

4.2

1.3

versicolor

6.2

2.9

4.3

1.3

versicolor

5.1

2.5

3.0

1.1

versicolor

5.7

2.8

4.1

1.3

versicolor

6.3

3.3

6.0

2.5

virginica

5.8

2.7

5.1

1.9

virginica

7.1

3.0

5.9

2.1

virginica

6.3

2.9

5.6

1.8

virginica

6.5

3.0

5.8

2.2

virginica

7.6

3.0

6.6

2.1

virginica

4.9

2.5

4.5

1.7

virginica

7.3

2.9

6.3

1.8

virginica

6.7

2.5

5.8

1.8

virginica

7.2

3.6

6.1

2.5

virginica

6.5

3.2

5.1

2.0

virginica

6.4

2.7

5.3

1.9

virginica

6.8

3.0

5.5

2.1

virginica

5.7

2.5

5.0

2.0

virginica

5.8

2.8

5.1

2.4

virginica

6.4

3.2

5.3

2.3

virginica

6.5

3.0

5.5

1.8

virginica

7.7

3.8

6.7

2.2

virginica

7.7

2.6

6.9

2.3

virginica

6.0

2.2

5.0

1.5

virginica

6.9

3.2

5.7

2.3

virginica

5.6

2.8

4.9

2.0

virginica

7.7

2.8

6.7

2.0

virginica

6.3

2.7

4.9

1.8

virginica

6.7

3.3

5.7

2.1

virginica

7.2

3.2

6.0

1.8

virginica

6.2

2.8

4.8

1.8

virginica

6.1

3.0

4.9

1.8

virginica

6.4

2.8

5.6

2.1

virginica

7.2

3.0

5.8

1.6

virginica

7.4

2.8

6.1

1.9

virginica

7.9

3.8

6.4

2.0

virginica

6.4

2.8

5.6

2.2

virginica

6.3

2.8

5.1

1.5

virginica

6.1

2.6

5.6

1.4

virginica

7.7

3.0

6.1

2.3

virginica

6.3

3.4

5.6

2.4

virginica

6.4

3.1

5.5

1.8

virginica

6.0

3.0

4.8

1.8

virginica

6.9

3.1

5.4

2.1

virginica

6.7

3.1

5.6

2.4

virginica

6.9

3.1

5.1

2.3

virginica

5.8

2.7

5.1

1.9

virginica

6.8

3.2

5.9

2.3

virginica

6.7

3.3

5.7

2.5

virginica

6.7

3.0

5.2

2.3

virginica

6.3

2.5

5.0

1.9

virginica

6.5

3.0

5.2

2.0

virginica

6.2

3.4

5.4

2.3

virginica

5.9

3.0

5.1

1.8

virginica

@@ -111,7 +111,7 @@

Examples

iris %>%
   flextable() %>%
   separate_header()
-

Sepal

Petal

Species

Length

Width

Length

Width

5.1

3.5

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

4.7

3.2

1.3

0.2

setosa

4.6

3.1

1.5

0.2

setosa

5.0

3.6

1.4

0.2

setosa

5.4

3.9

1.7

0.4

setosa

4.6

3.4

1.4

0.3

setosa

5.0

3.4

1.5

0.2

setosa

4.4

2.9

1.4

0.2

setosa

4.9

3.1

1.5

0.1

setosa

5.4

3.7

1.5

0.2

setosa

4.8

3.4

1.6

0.2

setosa

4.8

3.0

1.4

0.1

setosa

4.3

3.0

1.1

0.1

setosa

5.8

4.0

1.2

0.2

setosa

5.7

4.4

1.5

0.4

setosa

5.4

3.9

1.3

0.4

setosa

5.1

3.5

1.4

0.3

setosa

5.7

3.8

1.7

0.3

setosa

5.1

3.8

1.5

0.3

setosa

5.4

3.4

1.7

0.2

setosa

5.1

3.7

1.5

0.4

setosa

4.6

3.6

1.0

0.2

setosa

5.1

3.3

1.7

0.5

setosa

4.8

3.4

1.9

0.2

setosa

5.0

3.0

1.6

0.2

setosa

5.0

3.4

1.6

0.4

setosa

5.2

3.5

1.5

0.2

setosa

5.2

3.4

1.4

0.2

setosa

4.7

3.2

1.6

0.2

setosa

4.8

3.1

1.6

0.2

setosa

5.4

3.4

1.5

0.4

setosa

5.2

4.1

1.5

0.1

setosa

5.5

4.2

1.4

0.2

setosa

4.9

3.1

1.5

0.2

setosa

5.0

3.2

1.2

0.2

setosa

5.5

3.5

1.3

0.2

setosa

4.9

3.6

1.4

0.1

setosa

4.4

3.0

1.3

0.2

setosa

5.1

3.4

1.5

0.2

setosa

5.0

3.5

1.3

0.3

setosa

4.5

2.3

1.3

0.3

setosa

4.4

3.2

1.3

0.2

setosa

5.0

3.5

1.6

0.6

setosa

5.1

3.8

1.9

0.4

setosa

4.8

3.0

1.4

0.3

setosa

5.1

3.8

1.6

0.2

setosa

4.6

3.2

1.4

0.2

setosa

5.3

3.7

1.5

0.2

setosa

5.0

3.3

1.4

0.2

setosa

7.0

3.2

4.7

1.4

versicolor

6.4

3.2

4.5

1.5

versicolor

6.9

3.1

4.9

1.5

versicolor

5.5

2.3

4.0

1.3

versicolor

6.5

2.8

4.6

1.5

versicolor

5.7

2.8

4.5

1.3

versicolor

6.3

3.3

4.7

1.6

versicolor

4.9

2.4

3.3

1.0

versicolor

6.6

2.9

4.6

1.3

versicolor

5.2

2.7

3.9

1.4

versicolor

5.0

2.0

3.5

1.0

versicolor

5.9

3.0

4.2

1.5

versicolor

6.0

2.2

4.0

1.0

versicolor

6.1

2.9

4.7

1.4

versicolor

5.6

2.9

3.6

1.3

versicolor

6.7

3.1

4.4

1.4

versicolor

5.6

3.0

4.5

1.5

versicolor

5.8

2.7

4.1

1.0

versicolor

6.2

2.2

4.5

1.5

versicolor

5.6

2.5

3.9

1.1

versicolor

5.9

3.2

4.8

1.8

versicolor

6.1

2.8

4.0

1.3

versicolor

6.3

2.5

4.9

1.5

versicolor

6.1

2.8

4.7

1.2

versicolor

6.4

2.9

4.3

1.3

versicolor

6.6

3.0

4.4

1.4

versicolor

6.8

2.8

4.8

1.4

versicolor

6.7

3.0

5.0

1.7

versicolor

6.0

2.9

4.5

1.5

versicolor

5.7

2.6

3.5

1.0

versicolor

5.5

2.4

3.8

1.1

versicolor

5.5

2.4

3.7

1.0

versicolor

5.8

2.7

3.9

1.2

versicolor

6.0

2.7

5.1

1.6

versicolor

5.4

3.0

4.5

1.5

versicolor

6.0

3.4

4.5

1.6

versicolor

6.7

3.1

4.7

1.5

versicolor

6.3

2.3

4.4

1.3

versicolor

5.6

3.0

4.1

1.3

versicolor

5.5

2.5

4.0

1.3

versicolor

5.5

2.6

4.4

1.2

versicolor

6.1

3.0

4.6

1.4

versicolor

5.8

2.6

4.0

1.2

versicolor

5.0

2.3

3.3

1.0

versicolor

5.6

2.7

4.2

1.3

versicolor

5.7

3.0

4.2

1.2

versicolor

5.7

2.9

4.2

1.3

versicolor

6.2

2.9

4.3

1.3

versicolor

5.1

2.5

3.0

1.1

versicolor

5.7

2.8

4.1

1.3

versicolor

6.3

3.3

6.0

2.5

virginica

5.8

2.7

5.1

1.9

virginica

7.1

3.0

5.9

2.1

virginica

6.3

2.9

5.6

1.8

virginica

6.5

3.0

5.8

2.2

virginica

7.6

3.0

6.6

2.1

virginica

4.9

2.5

4.5

1.7

virginica

7.3

2.9

6.3

1.8

virginica

6.7

2.5

5.8

1.8

virginica

7.2

3.6

6.1

2.5

virginica

6.5

3.2

5.1

2.0

virginica

6.4

2.7

5.3

1.9

virginica

6.8

3.0

5.5

2.1

virginica

5.7

2.5

5.0

2.0

virginica

5.8

2.8

5.1

2.4

virginica

6.4

3.2

5.3

2.3

virginica

6.5

3.0

5.5

1.8

virginica

7.7

3.8

6.7

2.2

virginica

7.7

2.6

6.9

2.3

virginica

6.0

2.2

5.0

1.5

virginica

6.9

3.2

5.7

2.3

virginica

5.6

2.8

4.9

2.0

virginica

7.7

2.8

6.7

2.0

virginica

6.3

2.7

4.9

1.8

virginica

6.7

3.3

5.7

2.1

virginica

7.2

3.2

6.0

1.8

virginica

6.2

2.8

4.8

1.8

virginica

6.1

3.0

4.9

1.8

virginica

6.4

2.8

5.6

2.1

virginica

7.2

3.0

5.8

1.6

virginica

7.4

2.8

6.1

1.9

virginica

7.9

3.8

6.4

2.0

virginica

6.4

2.8

5.6

2.2

virginica

6.3

2.8

5.1

1.5

virginica

6.1

2.6

5.6

1.4

virginica

7.7

3.0

6.1

2.3

virginica

6.3

3.4

5.6

2.4

virginica

6.4

3.1

5.5

1.8

virginica

6.0

3.0

4.8

1.8

virginica

6.9

3.1

5.4

2.1

virginica

6.7

3.1

5.6

2.4

virginica

6.9

3.1

5.1

2.3

virginica

5.8

2.7

5.1

1.9

virginica

6.8

3.2

5.9

2.3

virginica

6.7

3.3

5.7

2.5

virginica

6.7

3.0

5.2

2.3

virginica

6.3

2.5

5.0

1.9

virginica

6.5

3.0

5.2

2.0

virginica

6.2

3.4

5.4

2.3

virginica

5.9

3.0

5.1

1.8

virginica

+

Sepal

Petal

Species

Length

Width

Length

Width

5.1

3.5

1.4

0.2

setosa

4.9

3.0

1.4

0.2

setosa

4.7

3.2

1.3

0.2

setosa

4.6

3.1

1.5

0.2

setosa

5.0

3.6

1.4

0.2

setosa

5.4

3.9

1.7

0.4

setosa

4.6

3.4

1.4

0.3

setosa

5.0

3.4

1.5

0.2

setosa

4.4

2.9

1.4

0.2

setosa

4.9

3.1

1.5

0.1

setosa

5.4

3.7

1.5

0.2

setosa

4.8

3.4

1.6

0.2

setosa

4.8

3.0

1.4

0.1

setosa

4.3

3.0

1.1

0.1

setosa

5.8

4.0

1.2

0.2

setosa

5.7

4.4

1.5

0.4

setosa

5.4

3.9

1.3

0.4

setosa

5.1

3.5

1.4

0.3

setosa

5.7

3.8

1.7

0.3

setosa

5.1

3.8

1.5

0.3

setosa

5.4

3.4

1.7

0.2

setosa

5.1

3.7

1.5

0.4

setosa

4.6

3.6

1.0

0.2

setosa

5.1

3.3

1.7

0.5

setosa

4.8

3.4

1.9

0.2

setosa

5.0

3.0

1.6

0.2

setosa

5.0

3.4

1.6

0.4

setosa

5.2

3.5

1.5

0.2

setosa

5.2

3.4

1.4

0.2

setosa

4.7

3.2

1.6

0.2

setosa

4.8

3.1

1.6

0.2

setosa

5.4

3.4

1.5

0.4

setosa

5.2

4.1

1.5

0.1

setosa

5.5

4.2

1.4

0.2

setosa

4.9

3.1

1.5

0.2

setosa

5.0

3.2

1.2

0.2

setosa

5.5

3.5

1.3

0.2

setosa

4.9

3.6

1.4

0.1

setosa

4.4

3.0

1.3

0.2

setosa

5.1

3.4

1.5

0.2

setosa

5.0

3.5

1.3

0.3

setosa

4.5

2.3

1.3

0.3

setosa

4.4

3.2

1.3

0.2

setosa

5.0

3.5

1.6

0.6

setosa

5.1

3.8

1.9

0.4

setosa

4.8

3.0

1.4

0.3

setosa

5.1

3.8

1.6

0.2

setosa

4.6

3.2

1.4

0.2

setosa

5.3

3.7

1.5

0.2

setosa

5.0

3.3

1.4

0.2

setosa

7.0

3.2

4.7

1.4

versicolor

6.4

3.2

4.5

1.5

versicolor

6.9

3.1

4.9

1.5

versicolor

5.5

2.3

4.0

1.3

versicolor

6.5

2.8

4.6

1.5

versicolor

5.7

2.8

4.5

1.3

versicolor

6.3

3.3

4.7

1.6

versicolor

4.9

2.4

3.3

1.0

versicolor

6.6

2.9

4.6

1.3

versicolor

5.2

2.7

3.9

1.4

versicolor

5.0

2.0

3.5

1.0

versicolor

5.9

3.0

4.2

1.5

versicolor

6.0

2.2

4.0

1.0

versicolor

6.1

2.9

4.7

1.4

versicolor

5.6

2.9

3.6

1.3

versicolor

6.7

3.1

4.4

1.4

versicolor

5.6

3.0

4.5

1.5

versicolor

5.8

2.7

4.1

1.0

versicolor

6.2

2.2

4.5

1.5

versicolor

5.6

2.5

3.9

1.1

versicolor

5.9

3.2

4.8

1.8

versicolor

6.1

2.8

4.0

1.3

versicolor

6.3

2.5

4.9

1.5

versicolor

6.1

2.8

4.7

1.2

versicolor

6.4

2.9

4.3

1.3

versicolor

6.6

3.0

4.4

1.4

versicolor

6.8

2.8

4.8

1.4

versicolor

6.7

3.0

5.0

1.7

versicolor

6.0

2.9

4.5

1.5

versicolor

5.7

2.6

3.5

1.0

versicolor

5.5

2.4

3.8

1.1

versicolor

5.5

2.4

3.7

1.0

versicolor

5.8

2.7

3.9

1.2

versicolor

6.0

2.7

5.1

1.6

versicolor

5.4

3.0

4.5

1.5

versicolor

6.0

3.4

4.5

1.6

versicolor

6.7

3.1

4.7

1.5

versicolor

6.3

2.3

4.4

1.3

versicolor

5.6

3.0

4.1

1.3

versicolor

5.5

2.5

4.0

1.3

versicolor

5.5

2.6

4.4

1.2

versicolor

6.1

3.0

4.6

1.4

versicolor

5.8

2.6

4.0

1.2

versicolor

5.0

2.3

3.3

1.0

versicolor

5.6

2.7

4.2

1.3

versicolor

5.7

3.0

4.2

1.2

versicolor

5.7

2.9

4.2

1.3

versicolor

6.2

2.9

4.3

1.3

versicolor

5.1

2.5

3.0

1.1

versicolor

5.7

2.8

4.1

1.3

versicolor

6.3

3.3

6.0

2.5

virginica

5.8

2.7

5.1

1.9

virginica

7.1

3.0

5.9

2.1

virginica

6.3

2.9

5.6

1.8

virginica

6.5

3.0

5.8

2.2

virginica

7.6

3.0

6.6

2.1

virginica

4.9

2.5

4.5

1.7

virginica

7.3

2.9

6.3

1.8

virginica

6.7

2.5

5.8

1.8

virginica

7.2

3.6

6.1

2.5

virginica

6.5

3.2

5.1

2.0

virginica

6.4

2.7

5.3

1.9

virginica

6.8

3.0

5.5

2.1

virginica

5.7

2.5

5.0

2.0

virginica

5.8

2.8

5.1

2.4

virginica

6.4

3.2

5.3

2.3

virginica

6.5

3.0

5.5

1.8

virginica

7.7

3.8

6.7

2.2

virginica

7.7

2.6

6.9

2.3

virginica

6.0

2.2

5.0

1.5

virginica

6.9

3.2

5.7

2.3

virginica

5.6

2.8

4.9

2.0

virginica

7.7

2.8

6.7

2.0

virginica

6.3

2.7

4.9

1.8

virginica

6.7

3.3

5.7

2.1

virginica

7.2

3.2

6.0

1.8

virginica

6.2

2.8

4.8

1.8

virginica

6.1

3.0

4.9

1.8

virginica

6.4

2.8

5.6

2.1

virginica

7.2

3.0

5.8

1.6

virginica

7.4

2.8

6.1

1.9

virginica

7.9

3.8

6.4

2.0

virginica

6.4

2.8

5.6

2.2

virginica

6.3

2.8

5.1

1.5

virginica

6.1

2.6

5.6

1.4

virginica

7.7

3.0

6.1

2.3

virginica

6.3

3.4

5.6

2.4

virginica

6.4

3.1

5.5

1.8

virginica

6.0

3.0

4.8

1.8

virginica

6.9

3.1

5.4

2.1

virginica

6.7

3.1

5.6

2.4

virginica

6.9

3.1

5.1

2.3

virginica

5.8

2.7

5.1

1.9

virginica

6.8

3.2

5.9

2.3

virginica

6.7

3.3

5.7

2.5

virginica

6.7

3.0

5.2

2.3

virginica

6.3

2.5

5.0

1.9

virginica

6.5

3.0

5.2

2.0

virginica

6.2

3.4

5.4

2.3

virginica

5.9

3.0

5.1

1.8

virginica

@@ -86,7 +86,7 @@

Examples

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 -

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

4.7

3.2

1.3

0.2

setosa

4.6

3.1

1.5

0.2

setosa

5.0

3.6

1.4

0.2

setosa

5.4

3.9

1.7

0.4

setosa

4.6

3.4

1.4

0.3

setosa

5.0

3.4

1.5

0.2

setosa

4.4

2.9

1.4

0.2

setosa

4.9

3.1

1.5

0.1

setosa

5.4

3.7

1.5

0.2

setosa

4.8

3.4

1.6

0.2

setosa

4.8

3.0

1.4

0.1

setosa

4.3

3.0

1.1

0.1

setosa

5.8

4.0

1.2

0.2

setosa

5.7

4.4

1.5

0.4

setosa

5.4

3.9

1.3

0.4

setosa

5.1

3.5

1.4

0.3

setosa

5.7

3.8

1.7

0.3

setosa

5.1

3.8

1.5

0.3

setosa

5.4

3.4

1.7

0.2

setosa

5.1

3.7

1.5

0.4

setosa

4.6

3.6

1.0

0.2

setosa

5.1

3.3

1.7

0.5

setosa

4.8

3.4

1.9

0.2

setosa

5.0

3.0

1.6

0.2

setosa

5.0

3.4

1.6

0.4

setosa

5.2

3.5

1.5

0.2

setosa

5.2

3.4

1.4

0.2

setosa

4.7

3.2

1.6

0.2

setosa

4.8

3.1

1.6

0.2

setosa

5.4

3.4

1.5

0.4

setosa

5.2

4.1

1.5

0.1

setosa

5.5

4.2

1.4

0.2

setosa

4.9

3.1

1.5

0.2

setosa

5.0

3.2

1.2

0.2

setosa

5.5

3.5

1.3

0.2

setosa

4.9

3.6

1.4

0.1

setosa

4.4

3.0

1.3

0.2

setosa

5.1

3.4

1.5

0.2

setosa

5.0

3.5

1.3

0.3

setosa

4.5

2.3

1.3

0.3

setosa

4.4

3.2

1.3

0.2

setosa

5.0

3.5

1.6

0.6

setosa

5.1

3.8

1.9

0.4

setosa

4.8

3.0

1.4

0.3

setosa

5.1

3.8

1.6

0.2

setosa

4.6

3.2

1.4

0.2

setosa

5.3

3.7

1.5

0.2

setosa

5.0

3.3

1.4

0.2

setosa

7.0

3.2

4.7

1.4

versicolor

6.4

3.2

4.5

1.5

versicolor

6.9

3.1

4.9

1.5

versicolor

5.5

2.3

4.0

1.3

versicolor

6.5

2.8

4.6

1.5

versicolor

5.7

2.8

4.5

1.3

versicolor

6.3

3.3

4.7

1.6

versicolor

4.9

2.4

3.3

1.0

versicolor

6.6

2.9

4.6

1.3

versicolor

5.2

2.7

3.9

1.4

versicolor

5.0

2.0

3.5

1.0

versicolor

5.9

3.0

4.2

1.5

versicolor

6.0

2.2

4.0

1.0

versicolor

6.1

2.9

4.7

1.4

versicolor

5.6

2.9

3.6

1.3

versicolor

6.7

3.1

4.4

1.4

versicolor

5.6

3.0

4.5

1.5

versicolor

5.8

2.7

4.1

1.0

versicolor

6.2

2.2

4.5

1.5

versicolor

5.6

2.5

3.9

1.1

versicolor

5.9

3.2

4.8

1.8

versicolor

6.1

2.8

4.0

1.3

versicolor

6.3

2.5

4.9

1.5

versicolor

6.1

2.8

4.7

1.2

versicolor

6.4

2.9

4.3

1.3

versicolor

6.6

3.0

4.4

1.4

versicolor

6.8

2.8

4.8

1.4

versicolor

6.7

3.0

5.0

1.7

versicolor

6.0

2.9

4.5

1.5

versicolor

5.7

2.6

3.5

1.0

versicolor

5.5

2.4

3.8

1.1

versicolor

5.5

2.4

3.7

1.0

versicolor

5.8

2.7

3.9

1.2

versicolor

6.0

2.7

5.1

1.6

versicolor

5.4

3.0

4.5

1.5

versicolor

6.0

3.4

4.5

1.6

versicolor

6.7

3.1

4.7

1.5

versicolor

6.3

2.3

4.4

1.3

versicolor

5.6

3.0

4.1

1.3

versicolor

5.5

2.5

4.0

1.3

versicolor

5.5

2.6

4.4

1.2

versicolor

6.1

3.0

4.6

1.4

versicolor

5.8

2.6

4.0

1.2

versicolor

5.0

2.3

3.3

1.0

versicolor

5.6

2.7

4.2

1.3

versicolor

5.7

3.0

4.2

1.2

versicolor

5.7

2.9

4.2

1.3

versicolor

6.2

2.9

4.3

1.3

versicolor

5.1

2.5

3.0

1.1

versicolor

5.7

2.8

4.1

1.3

versicolor

6.3

3.3

6.0

2.5

virginica

5.8

2.7

5.1

1.9

virginica

7.1

3.0

5.9

2.1

virginica

6.3

2.9

5.6

1.8

virginica

6.5

3.0

5.8

2.2

virginica

7.6

3.0

6.6

2.1

virginica

4.9

2.5

4.5

1.7

virginica

7.3

2.9

6.3

1.8

virginica

6.7

2.5

5.8

1.8

virginica

7.2

3.6

6.1

2.5

virginica

6.5

3.2

5.1

2.0

virginica

6.4

2.7

5.3

1.9

virginica

6.8

3.0

5.5

2.1

virginica

5.7

2.5

5.0

2.0

virginica

5.8

2.8

5.1

2.4

virginica

6.4

3.2

5.3

2.3

virginica

6.5

3.0

5.5

1.8

virginica

7.7

3.8

6.7

2.2

virginica

7.7

2.6

6.9

2.3

virginica

6.0

2.2

5.0

1.5

virginica

6.9

3.2

5.7

2.3

virginica

5.6

2.8

4.9

2.0

virginica

7.7

2.8

6.7

2.0

virginica

6.3

2.7

4.9

1.8

virginica

6.7

3.3

5.7

2.1

virginica

7.2

3.2

6.0

1.8

virginica

6.2

2.8

4.8

1.8

virginica

6.1

3.0

4.9

1.8

virginica

6.4

2.8

5.6

2.1

virginica

7.2

3.0

5.8

1.6

virginica

7.4

2.8

6.1

1.9

virginica

7.9

3.8

6.4

2.0

virginica

6.4

2.8

5.6

2.2

virginica

6.3

2.8

5.1

1.5

virginica

6.1

2.6

5.6

1.4

virginica

7.7

3.0

6.1

2.3

virginica

6.3

3.4

5.6

2.4

virginica

6.4

3.1

5.5

1.8

virginica

6.0

3.0

4.8

1.8

virginica

6.9

3.1

5.4

2.1

virginica

6.7

3.1

5.6

2.4

virginica

6.9

3.1

5.1

2.3

virginica

5.8

2.7

5.1

1.9

virginica

6.8

3.2

5.9

2.3

virginica

6.7

3.3

5.7

2.5

virginica

6.7

3.0

5.2

2.3

virginica

6.3

2.5

5.0

1.9

virginica

6.5

3.0

5.2

2.0

virginica

6.2

3.4

5.4

2.3

virginica

5.9

3.0

5.1

1.8

virginica

+

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

4.7

3.2

1.3

0.2

setosa

4.6

3.1

1.5

0.2

setosa

5.0

3.6

1.4

0.2

setosa

5.4

3.9

1.7

0.4

setosa

4.6

3.4

1.4

0.3

setosa

5.0

3.4

1.5

0.2

setosa

4.4

2.9

1.4

0.2

setosa

4.9

3.1

1.5

0.1

setosa

5.4

3.7

1.5

0.2

setosa

4.8

3.4

1.6

0.2

setosa

4.8

3.0

1.4

0.1

setosa

4.3

3.0

1.1

0.1

setosa

5.8

4.0

1.2

0.2

setosa

5.7

4.4

1.5

0.4

setosa

5.4

3.9

1.3

0.4

setosa

5.1

3.5

1.4

0.3

setosa

5.7

3.8

1.7

0.3

setosa

5.1

3.8

1.5

0.3

setosa

5.4

3.4

1.7

0.2

setosa

5.1

3.7

1.5

0.4

setosa

4.6

3.6

1.0

0.2

setosa

5.1

3.3

1.7

0.5

setosa

4.8

3.4

1.9

0.2

setosa

5.0

3.0

1.6

0.2

setosa

5.0

3.4

1.6

0.4

setosa

5.2

3.5

1.5

0.2

setosa

5.2

3.4

1.4

0.2

setosa

4.7

3.2

1.6

0.2

setosa

4.8

3.1

1.6

0.2

setosa

5.4

3.4

1.5

0.4

setosa

5.2

4.1

1.5

0.1

setosa

5.5

4.2

1.4

0.2

setosa

4.9

3.1

1.5

0.2

setosa

5.0

3.2

1.2

0.2

setosa

5.5

3.5

1.3

0.2

setosa

4.9

3.6

1.4

0.1

setosa

4.4

3.0

1.3

0.2

setosa

5.1

3.4

1.5

0.2

setosa

5.0

3.5

1.3

0.3

setosa

4.5

2.3

1.3

0.3

setosa

4.4

3.2

1.3

0.2

setosa

5.0

3.5

1.6

0.6

setosa

5.1

3.8

1.9

0.4

setosa

4.8

3.0

1.4

0.3

setosa

5.1

3.8

1.6

0.2

setosa

4.6

3.2

1.4

0.2

setosa

5.3

3.7

1.5

0.2

setosa

5.0

3.3

1.4

0.2

setosa

7.0

3.2

4.7

1.4

versicolor

6.4

3.2

4.5

1.5

versicolor

6.9

3.1

4.9

1.5

versicolor

5.5

2.3

4.0

1.3

versicolor

6.5

2.8

4.6

1.5

versicolor

5.7

2.8

4.5

1.3

versicolor

6.3

3.3

4.7

1.6

versicolor

4.9

2.4

3.3

1.0

versicolor

6.6

2.9

4.6

1.3

versicolor

5.2

2.7

3.9

1.4

versicolor

5.0

2.0

3.5

1.0

versicolor

5.9

3.0

4.2

1.5

versicolor

6.0

2.2

4.0

1.0

versicolor

6.1

2.9

4.7

1.4

versicolor

5.6

2.9

3.6

1.3

versicolor

6.7

3.1

4.4

1.4

versicolor

5.6

3.0

4.5

1.5

versicolor

5.8

2.7

4.1

1.0

versicolor

6.2

2.2

4.5

1.5

versicolor

5.6

2.5

3.9

1.1

versicolor

5.9

3.2

4.8

1.8

versicolor

6.1

2.8

4.0

1.3

versicolor

6.3

2.5

4.9

1.5

versicolor

6.1

2.8

4.7

1.2

versicolor

6.4

2.9

4.3

1.3

versicolor

6.6

3.0

4.4

1.4

versicolor

6.8

2.8

4.8

1.4

versicolor

6.7

3.0

5.0

1.7

versicolor

6.0

2.9

4.5

1.5

versicolor

5.7

2.6

3.5

1.0

versicolor

5.5

2.4

3.8

1.1

versicolor

5.5

2.4

3.7

1.0

versicolor

5.8

2.7

3.9

1.2

versicolor

6.0

2.7

5.1

1.6

versicolor

5.4

3.0

4.5

1.5

versicolor

6.0

3.4

4.5

1.6

versicolor

6.7

3.1

4.7

1.5

versicolor

6.3

2.3

4.4

1.3

versicolor

5.6

3.0

4.1

1.3

versicolor

5.5

2.5

4.0

1.3

versicolor

5.5

2.6

4.4

1.2

versicolor

6.1

3.0

4.6

1.4

versicolor

5.8

2.6

4.0

1.2

versicolor

5.0

2.3

3.3

1.0

versicolor

5.6

2.7

4.2

1.3

versicolor

5.7

3.0

4.2

1.2

versicolor

5.7

2.9

4.2

1.3

versicolor

6.2

2.9

4.3

1.3

versicolor

5.1

2.5

3.0

1.1

versicolor

5.7

2.8

4.1

1.3

versicolor

6.3

3.3

6.0

2.5

virginica

5.8

2.7

5.1

1.9

virginica

7.1

3.0

5.9

2.1

virginica

6.3

2.9

5.6

1.8

virginica

6.5

3.0

5.8

2.2

virginica

7.6

3.0

6.6

2.1

virginica

4.9

2.5

4.5

1.7

virginica

7.3

2.9

6.3

1.8

virginica

6.7

2.5

5.8

1.8

virginica

7.2

3.6

6.1

2.5

virginica

6.5

3.2

5.1

2.0

virginica

6.4

2.7

5.3

1.9

virginica

6.8

3.0

5.5

2.1

virginica

5.7

2.5

5.0

2.0

virginica

5.8

2.8

5.1

2.4

virginica

6.4

3.2

5.3

2.3

virginica

6.5

3.0

5.5

1.8

virginica

7.7

3.8

6.7

2.2

virginica

7.7

2.6

6.9

2.3

virginica

6.0

2.2

5.0

1.5

virginica

6.9

3.2

5.7

2.3

virginica

5.6

2.8

4.9

2.0

virginica

7.7

2.8

6.7

2.0

virginica

6.3

2.7

4.9

1.8

virginica

6.7

3.3

5.7

2.1

virginica

7.2

3.2

6.0

1.8

virginica

6.2

2.8

4.8

1.8

virginica

6.1

3.0

4.9

1.8

virginica

6.4

2.8

5.6

2.1

virginica

7.2

3.0

5.8

1.6

virginica

7.4

2.8

6.1

1.9

virginica

7.9

3.8

6.4

2.0

virginica

6.4

2.8

5.6

2.2

virginica

6.3

2.8

5.1

1.5

virginica

6.1

2.6

5.6

1.4

virginica

7.7

3.0

6.1

2.3

virginica

6.3

3.4

5.6

2.4

virginica

6.4

3.1

5.5

1.8

virginica

6.0

3.0

4.8

1.8

virginica

6.9

3.1

5.4

2.1

virginica

6.7

3.1

5.6

2.4

virginica

6.9

3.1

5.1

2.3

virginica

5.8

2.7

5.1

1.9

virginica

6.8

3.2

5.9

2.3

virginica

6.7

3.3

5.7

2.5

virginica

6.7

3.0

5.2

2.3

virginica

6.3

2.5

5.0

1.9

virginica

6.5

3.0

5.2

2.0

virginica

6.2

3.4

5.4

2.3

virginica

5.9

3.0

5.1

1.8

virginica