R Vocabulary – Week 9


# L16 Math 2

exp()   
log()   
log10() 
sqrt()  
abs()   
sin()
min()
pmin()
pmax()
sum()
prod()
cumsum()
cumprod()
round()
factorial()

# optimization
nlm()
optim()

# symbolix math

D()

# expressions
expression()
quote()

# integration
integrate()

# distributions

# pdfs
dunif()  
dnorm()  
dchisq() 
dbinom() 
dpois()  
dt()     
df()     


# cdfs
punif() 
pnorm() 
pchisq()
pbinom()
ppois() 
pt()    
pf()

# quantiles

qunif() 
qnorm() 
qchisq()  
qbinom()
qpois() 
qt()    
qf()

# random variates

runif() 
rnorm() 
rchisq()
rbinom()
rpois() 
rt()    
rf()    

# L17 Strings

Sys.getlocale()
Sys.setlocale()
as.character()

printf()
sprintf()
substr()
substr<-() # left hand version for assignment to substring
sub

tolower
toupper

grep()
nchar()
paste()
strsplit()

grep()
grepl()


# stringr package
str_c()
str_length()
str_sub()
str_sort()
str_order()
str_detect()
str_which()
str_match()

Back to top | E-mail Schwilk