*Contents are summerised by myself primarily from books, github projects, medium posts and RStudio materials
*some code are editted with runing results with R Studio, others are only the codes without the result return
This part is about how to apply basic math calculation with R functions
This part is about some special functions used in R
- create a sequence
- repeat data to enlarge the data size
- sort
- vector related: length, subset, extract, basic mathematical operations
- matrix related: create, combine data, subset, extract, extract diagonal, omit, overwrite, transpose
- linear Algebra in matrix: multiplication, inversion
- array related: subset
- relational operators
- logical operators: 'logical is number', 'use logical to subset'
- index position
- string related: create, concatenation, match, subset
- levels related: create, check, relabel, cut
- list related: create, rename, extract, check size, add data
- infinity(inf)
- NaN(not a number)
- NA(not existing)
- NULL(empty)
- attributes
- object class
- as-dot coercion
- filter
- select
- arrange
- mutate
- summarise
- group_by
- joins: inner, outer, left, right, semi, anti
- rank with window functions