Skip to content

Commit

Permalink
Merge branch 'feature/readme'. Closes #52.
Browse files Browse the repository at this point in the history
- README corrections (@bhive01, #52).
  • Loading branch information
Kirill Müller committed Mar 19, 2016
2 parents 11444c5 + b4de15d commit 1dd8207
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ You can create a new tibble from vectors that represent the columns with `data_f
data_frame(x = 1:5, y = 1, z = x ^ 2 + y)
```

`data_frame()` is does much less than `data.frame()`: it never changes the type of the inputs (e.g. it never converts strings to factors!), it never changes the names of variabels, and it never creates `row.names()`. You can read more about these features in the vignette, `vignette("tibble")`.
`data_frame()` does much less than `data.frame()`: it never changes the type of the inputs (e.g. it never converts strings to factors!), it never changes the names of variables, and it never creates `row.names()`. You can read more about these features in the vignette, `vignette("tibble")`.

You can define a tibble row-by-row with `frame_data()`:

Expand All @@ -58,7 +58,7 @@ library(nycflights13)
flights
```

Tibles are strict about subsetting. If you try and access a variable that does not, you'll get an error:
Tibbles are strict about subsetting. If you try to access a variable that does not exist, you'll get an error:

```{r, error = TRUE}
flights$yea
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ data_frame(x = 1:5, y = 1, z = x ^ 2 + y)
#> 5 5 1 26
```

`data_frame()` is does much less than `data.frame()`: it never changes the type of the inputs (e.g. it never converts strings to factors!), it never changes the names of variabels, and it never creates `row.names()`. You can read more about these features in the vignette, `vignette("tibble")`.
`data_frame()` is does much less than `data.frame()`: it never changes the type of the inputs (e.g. it never converts strings to factors!), it never changes the names of variables, and it never creates `row.names()`. You can read more about these features in the vignette, `vignette("tibble")`.

You can define a tibble row-by-row with `frame_data()`:

Expand Down Expand Up @@ -94,7 +94,7 @@ flights
#> (dbl), distance (dbl), hour (dbl), minute (dbl).
```

Tibles are strict about subsetting. If you try and access a variable that does not, you'll get an error:
Tibbles are strict about subsetting. If you try to access a variable that does not exist, you'll get an error:

``` r
flights$yea
Expand Down

0 comments on commit 1dd8207

Please sign in to comment.