psyteachr_dsrr Ch. 01

rnorm()

{stats}

generate random sample from normal distribution

Sys.Date()

{base}

return system date

paste()

{base}

concatenate character vectors with space between elements

as.Date()

{base}

convert to date

library()

{base}

load R packages

today()

{lubridate}

return the current date

sample()

{base}

randomly sample from vector

The end!