diff --git a/docs/index.Rmd b/docs/index.Rmd
index 5fe8932f..e1c632d1 100644
--- a/docs/index.Rmd
+++ b/docs/index.Rmd
@@ -445,18 +445,25 @@ Count values less than or equal to 1 in column A of the dataset.
count_col_if(le(1), w$a)
```
-**Table of criteria:**
-
-| Excel | R |
-|---------|----------|
-| "<1" | lt(1) |
-| "<=1" | le(1) |
-| "<>1" | ne(1) |
-| "=1" | eq(1) |
-| ">=1" | ge(1) |
-| ">1" | gt(1) |
-
+Table of criteria:
+```{r echo=FALSE, message=FALSE, warning=FALSE}
+library(expss)
+tbl_crit = from_text("
+ Excel R
+ <1 lt(1)
+ <=1 le(1)
+ <>1 ne(1)
+ =1 eq(1)
+ >=1 ge(1)
+ >1 gt(1)
+")
+knitr::kable(tbl_crit, row.names = FALSE,
+ format = "html",
+ table.attr = "style='width:30%;'",
+ align = "r")
+knitr::asis_output("
")
+```
##### SUM/AVERAGE
Sum all values in the dataset.
diff --git a/inst/doc/tables-with-labels.R b/inst/doc/tables-with-labels.R
index a84ad436..60ad7259 100644
--- a/inst/doc/tables-with-labels.R
+++ b/inst/doc/tables-with-labels.R
@@ -357,7 +357,7 @@ knitr::asis_output("
")
## ----echo=FALSE, message=FALSE, warning=FALSE----------------------------
dict = from_text("
- x y
+ X Y
1 apples
2 oranges
3 peaches
@@ -368,7 +368,7 @@ knitr::asis_output("
")
## ---- eval=FALSE---------------------------------------------------------
# dict = from_text("
-# X Y
+# x y
# 1 apples
# 2 oranges
# 3 peaches
diff --git a/inst/doc/tables-with-labels.Rmd b/inst/doc/tables-with-labels.Rmd
index 3dba8953..faf2ab6d 100644
--- a/inst/doc/tables-with-labels.Rmd
+++ b/inst/doc/tables-with-labels.Rmd
@@ -515,7 +515,7 @@ calculate(w, mean_col_if(lt(3), a, data = sheet(b, c)))
Our dictionary for lookup:
```{r echo=FALSE, message=FALSE, warning=FALSE}
dict = from_text("
- x y
+ X Y
1 apples
2 oranges
3 peaches
@@ -530,7 +530,7 @@ Code for creating the same dictionary in R:
```{r, eval=FALSE}
dict = from_text("
- X Y
+ x y
1 apples
2 oranges
3 peaches
diff --git a/inst/doc/tables-with-labels.html b/inst/doc/tables-with-labels.html
index 556f5aa5..996aaf29 100644
--- a/inst/doc/tables-with-labels.html
+++ b/inst/doc/tables-with-labels.html
@@ -5348,10 +5348,10 @@
Code for creating the same dictionary in R:
dict = from_text("
- X Y
+ x y
1 apples
2 oranges
3 peaches
diff --git a/vignettes/tables-with-labels.Rmd b/vignettes/tables-with-labels.Rmd
index 3dba8953..faf2ab6d 100644
--- a/vignettes/tables-with-labels.Rmd
+++ b/vignettes/tables-with-labels.Rmd
@@ -515,7 +515,7 @@ calculate(w, mean_col_if(lt(3), a, data = sheet(b, c)))
Our dictionary for lookup:
```{r echo=FALSE, message=FALSE, warning=FALSE}
dict = from_text("
- x y
+ X Y
1 apples
2 oranges
3 peaches
@@ -530,7 +530,7 @@ Code for creating the same dictionary in R:
```{r, eval=FALSE}
dict = from_text("
- X Y
+ x y
1 apples
2 oranges
3 peaches