[1] 1.732051
[1] 3
[1] 2.718282
[1] 1.386294
[1] 6
BDSI R Training I
Biological Data Science Institute
2nd November 2023
stats, graphics, grDevices, utils, datasets, methods, base), collectively referred to as the “base packages”, that are loaded automatically when you launch it.base.library(help = "base") for indexed help files.base or stats package.mean()median()fivenum()min()max()quantile()cor()NA in R denotes missing values – there are in fact different types of missing values (NA_character_, NA_integer_, NA_real_, NA_complex_).The density (d), distribution (p) or quantile (q) functions of a parametric distribution are generally in the stats package.
There are functions to generate random values from a particular parametric distribution (r).
Some examples are:
Normal distribution
dnorm()pnorm()qnorm()rnorm()t-distribution
dt()pt()qt()rt()Poisson distribution
dpois()ppois()qpois()rpois()F distribution
df()pf()qf()rf()anu-bdsi.github.io/training-R1/