From 304830facb3dd0500ef03318fdce5f68da6d6ecc Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Thu, 11 Apr 2024 09:40:27 +0900 Subject: [PATCH 1/3] fix(as_paragraph_md): flextable's seq_index is renamed to .chunk_index (fixes #103) --- R/as-paragraph-md.R | 2 +- R/footnote.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/as-paragraph-md.R b/R/as-paragraph-md.R index 951d848..f39e144 100644 --- a/R/as-paragraph-md.R +++ b/R/as-paragraph-md.R @@ -61,7 +61,7 @@ construct_chunk <- function(x, auto_color_link = "blue") { .data$color ), img_data = x$Image %||% list(NULL), - seq_index = dplyr::row_number() + .chunk_index = dplyr::row_number() ) } diff --git a/R/footnote.R b/R/footnote.R index 5ad3169..ff59509 100644 --- a/R/footnote.R +++ b/R/footnote.R @@ -133,7 +133,7 @@ collapse_footnotes <- function(value, sep) { value %>% lapply(dplyr::add_row, data.frame(txt = sep %||% "")) %>% dplyr::bind_rows() %>% - dplyr::mutate(seq_index = dplyr::row_number()) %>% + dplyr::mutate(.chunk_index = dplyr::row_number()) %>% list() } From 79efbe76674c9280de14b9e9d73bee67a789b47e Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Thu, 11 Apr 2024 09:43:18 +0900 Subject: [PATCH 2/3] docs(NEWS): flextable's seq_index is renamed to .chunk_index (fixes #103) --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.md b/NEWS.md index 6d0c43a..2f8e5f9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# ftExtra 0.6.4 + +* Fix broken markdown rendering from a change in **flextable** 0.9.5 (#103) + # ftExtra 0.6.3 * Require **flextable**>=0.9.5 to fix broken `colformat_md` (#101) From 0eb23c1b128b049210b4535643a378410170fbfe Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Fri, 12 Apr 2024 11:47:20 +0900 Subject: [PATCH 3/3] chore(pkgdown): build_site() --- docs/articles/format_columns.html | 204 +++++----- docs/articles/group-rows.html | 456 +++++++++++------------ docs/articles/transform-headers.html | 170 ++++----- docs/news/index.html | 6 +- docs/pkgdown.yml | 2 +- docs/reference/as_flextable_methods.html | 10 +- docs/reference/as_paragraph_md.html | 2 +- docs/reference/colformat_md.html | 2 +- docs/reference/footnote_options.html | 2 +- docs/reference/span_header.html | 2 +- docs/reference/split_header.html | 2 +- docs/reference/with_blanks.html | 2 +- 12 files changed, 432 insertions(+), 428 deletions(-) diff --git a/docs/articles/format_columns.html b/docs/articles/format_columns.html index 207c187..202405d 100644 --- a/docs/articles/format_columns.html +++ b/docs/articles/format_columns.html @@ -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

@@ -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 244b6b5..f79ee55 100644 --- a/docs/articles/group-rows.html +++ b/docs/articles/group-rows.html @@ -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/transform-headers.html b/docs/articles/transform-headers.html index cfcdc49..65d55d4 100644 --- a/docs/articles/transform-headers.html +++ b/docs/articles/transform-headers.html @@ -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/news/index.html b/docs/news/index.html index dc3fc54..b3979f1 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -64,7 +64,11 @@

Changelog

- + +
  • Fix broken markdown rendering from a change in flextable 0.9.5 (#103)
  • +
+
+
  • Require flextable>=0.9.5 to fix broken colformat_md (#101)
diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index d0cc08b..9c6ce1e 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-03-31T14:41Z +last_built: 2024-04-11T00:43Z diff --git a/docs/reference/as_flextable_methods.html b/docs/reference/as_flextable_methods.html index fbab8ce..f594a18 100644 --- a/docs/reference/as_flextable_methods.html +++ b/docs/reference/as_flextable_methods.html @@ -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

+

x

foo bar

baz

*qux*

+

x

y

z

bold

superscript

ftExtra is

italic

subscript

Cool

+

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