franknarf1 / r-tutorial

This book covers the essentials of using R
Creative Commons Zero v1.0 Universal
12 stars 4 forks source link

add examples/exercises #12

Open franknarf1 opened 7 years ago

franknarf1 commented 7 years ago

(looking at those i contributed to Docs.SO...)

Cleaning data

... going beyond Docs.SO:


Creating a data.table

A data.table is an enhanced version of the data.frame class from base R. As such, its class() attribute is the vector "data.table" "data.frame" and functions that work on a data.frame will also work with a data.table. There are many ways to create, load or coerce to a data.table, as seen here.


Adding and modifying columns

... hm, this is getting somewhat tedious. i will dump the contents into a new file, exercises.something

Another: https://stackoverflow.com/q/49282735/

franknarf1 commented 6 years ago

Possible typos in existing examples:

Misc additions