ThePiratesGuideToR
ThePiratesGuideToR copied to clipboard
Error in `aggregate.formula()`
Quitting from lines 631-635 [unnamed-chunk-37] (YaRrr.Rmd) Error in
aggregate.formula()`:
! argument 'x' is missing -- it has been renamed from 'formula'
Backtrace:
- stats::aggregate(formula = age ~ sex, data = pirates, FUN = mean)
- stats:::aggregate.formula(...)`
I'm running the line:
Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::gitbook')"
Trying to get the book to compile.
Thanks,