Merge branch 'master' of github.com:hadley/r4ds

This commit is contained in:
hadley 2016-02-29 09:42:07 -06:00
commit baa9b529d3
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ I've narrowed the data down to 10 variables:
* `id` - A number ot identify each subject
* `income` - The self-reported income of each subject
* `height` - The height of each subject in inches
* `weight` - The weight of each subject in inches
* `weight` - The weight of each subject in pounds
* `sex` - The sex of each subject
* `race` - The race of each subject
* `education` - The number of years of education completed by each subject

View File

@ -42,7 +42,7 @@ You might notice that these issues revolve around data frames. That's unfortunat
```{r}
df <- data.frame(xy = c("x", "y"))
# Character vectors work hard to work with for a long time, so R
# Character vectors were hard to work with for a long time, so R
# helpfully converts to a factor for you:
class(df$xy)