C Packages and Functions Used
base
c(): combine values into a vector or listround(): rounding of numbersmean(): arithmetic meanlength(): length of an objectclass(): object classes[]: extract or replace parts of an objectdata.frame(): creates data framessummary(): object summariescolnames(): retrieve or set the row or column namesnrow(): return the number of rows present in xncol(): return the number of columns present in xhead() | tail(): return the first or last parts of an objectsum(): sum of vector elementstypeof(): returns the type of an objectsort(): sort (or order) a vector into ascending or descending ordertable(): cross tabulation and table creationfactor(): encode a vector as a factorstr(): compactly display the structure of an arbitrary R objectplot(): generic x-y plottingnames(): functions to get or set the names of an objecthist(): computes a histogram of the given data values
readr
read_csv(): import data from csv files
dplyr
glimpse(): look at list of columns in data frameselect(): picks variables (columns) based on their namesmutate(): create new variables (columns) based on existing variables (columns)count(): count unique values of one or more valuesfilter(): Subset rows using column valuesgroup_by(): group data by one or more variablessummarize()orsummarise(): summarize each group to fewer rows. Creates new data frame.
ggplot2
ggplot(): initializes a ggplot objectgeom_line(): connects variables in order of variable on x axis. Used to create a line graphgeom_point(): used to create scatterplot, or add points to data on graphscale_x_continous(): adjusts scale of continous variables on x axis.