Skip to content

Commit ed54148

Browse files
committed
minor tweaks to catalog vignette and readme
1 parent 49038f5 commit ed54148

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ options(width = 110)
3737
The main janitor functions:
3838

3939
* perfectly format data.frame column names;
40-
* isolate partially-duplicate records; and
41-
* provide quick one- and two-variable tabulations (i.e., frequency tables and crosstabs).
40+
* provide quick one- and two-variable tabulations (i.e., frequency tables and crosstabs); and
41+
* isolate partially-duplicate records.
4242

4343
Other janitor functions nicely format the results of these tabulations. Together, these tabulate-and-report functions approximate popular features of SPSS and Microsoft Excel.
4444

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ janitor <img src="tools/readme/logo_small.png" align="right" />
1515
The main janitor functions:
1616

1717
- perfectly format data.frame column names;
18-
- isolate partially-duplicate records; and
19-
- provide quick one- and two-variable tabulations (i.e., frequency tables and crosstabs).
18+
- provide quick one- and two-variable tabulations (i.e., frequency tables and crosstabs); and
19+
- isolate partially-duplicate records.
2020

2121
Other janitor functions nicely format the results of these tabulations. Together, these tabulate-and-report functions approximate popular features of SPSS and Microsoft Excel.
2222

vignettes/introduction.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ mtcars %>%
188188
```
189189

190190
### Convert a data.frame of numbers to percentages with `ns_to_percents()`
191-
A helper function for `adorn_crosstab`, but can be called directly. Takes a data.frame of numerics and returns corresponding percentages of rows, columns, or the total sum of the data.frame. Like `prop.table`, except for data.frames, and skips the first column (which is assumed to contain a non-numeric descriptive variable).
191+
A helper function for `adorn_crosstab`, but can be called directly. Takes a data.frame with at least one numeric column and returns corresponding percentages of rows, columns, or the total sum of the data.frame. Similar to `prop.table`, but for data.frames, and skips the first column (which is assumed to contain a non-numeric descriptive variable).
192192

193193
```{r}
194194
mtcars %>%

vignettes/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Catalog of janitor functions
22
================
3-
2017-04-06
3+
2017-05-06
44

55
- [Major functions](#major-functions)
66
- [Cleaning](#cleaning)
@@ -271,7 +271,7 @@ mtcars %>%
271271

272272
### Convert a data.frame of numbers to percentages with `ns_to_percents()`
273273

274-
A helper function for `adorn_crosstab`, but can be called directly. Takes a data.frame of numerics and returns corresponding percentages of rows, columns, or the total sum of the data.frame. Like `prop.table`, except for data.frames, and skips the first column (which is assumed to contain a non-numeric descriptive variable).
274+
A helper function for `adorn_crosstab`, but can be called directly. Takes a data.frame with at least one numeric column and returns corresponding percentages of rows, columns, or the total sum of the data.frame. Similar to `prop.table`, but for data.frames, and skips the first column (which is assumed to contain a non-numeric descriptive variable).
275275

276276
``` r
277277
mtcars %>%

0 commit comments

Comments
 (0)