Skip to content

Commit

Permalink
Correction of a small typo (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
jroberayalas authored and hadley committed Oct 19, 2016
1 parent 86a4d1d commit 4bb10b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vectors.Rmd
Expand Up @@ -567,7 +567,7 @@ The call to "UseMethod" means that this is a generic function, and it will call
methods("as.Date")
```

For example, if `x` is a character vector, `as.Date()` will call `as.Date.charcter()`; if it's a factor, it'll call `as.Date.factor()`.
For example, if `x` is a character vector, `as.Date()` will call `as.Date.character()`; if it's a factor, it'll call `as.Date.factor()`.

You can see the specific implementation of a method with `getS3method()`:

Expand Down

0 comments on commit 4bb10b9

Please sign in to comment.