4. Basic math, comparisons, NAs...

Contents

Basic Math

*, +, -, /, ^, %%, %/%

abs, sign

Trig

acos, acosh, asin, asinh, atan, atan2, atanh
sin, sinh, cos, cosh, tan, tanh

Rounding

ceiling, floor, round, trunc, signif, log, log10, log1p, log2, logb, sqrt

Cumulative sums

cummax, cummin, cumprod, cumsum, diff

Max, Min and other properties

max, min, prod, sum
range
mean, median, cor, cov, sd, var
pmax, pmin
rle

Comparison

all.equal, identical
!=, ==, >, >=, <, <=

Dealing with NAs

is.na, is.nan, is.finite
complete.cases