There will also be verbs for graphics, loading data, etc., but for wrangling we’ll need mainly these three types. Examples:
library()
– attaches the software distributed in a package to your session of Rread.csv()
and other file-reading functions. Creates a data table given the location of a file containing those data.scatterGraphHelper()
– takes a data table as input, but produces graphics as output.data()
– accesses data from a package. data()
is not a data verb!What distinquishes a data verb from a reduction or transformation verb?
summarise()
group_by()
filter()
mutate()
select()
arrange()
Characteristics?
Variable in, a single number out.
Examples?
Variable in, variable out.
Examples?