These are group generic methods for the class "imlist"
  of lists of images. These methods 
  allows the usual mathematical functions and operators to be applied
  directly to lists of images. See Details for a list of implemented functions.
## S3 methods for group generics have prototypes:
Math(x, \dots)
Ops(e1, e2)
Complex(z)
Summary(\dots, na.rm = TRUE)
objects of class "imlist".
further arguments passed to methods.
logical: should missing values be removed?
The result of "Math", "Ops" and "Complex" group
  operations is another list of images.
  The result of "Summary" group operations is a numeric vector of
  length 1 or 2.
Below is a list of mathematical functions and operators which are
  defined for lists of images. Not all functions will make sense for all
  types of images. For example, none of the functions in the "Math" group
  make sense for character-valued images. Note that the "Ops"
  group methods are implemented using eval.im, which tries
  to harmonise images via harmonise.im if they aren't
  compatible to begin with.
Group "Math":
abs, sign, sqrt,
      floor, ceiling, trunc,
      round, signif
exp, log,  expm1, log1p,
      cos, sin, tan,
      cospi, sinpi, tanpi,
      acos, asin, atan
cosh, sinh, tanh,
      acosh, asinh, atanh
lgamma, gamma, digamma, trigamma
cumsum, cumprod, cummax, cummin
Group "Ops":
"+", "-", "*", "/",
      "^", "%%", "%/%"
"&", "|", "!"
"==", "!=",
      "<", "<=", ">=", ">"
Group "Summary":
all, any
sum, prod
min, max
range
Group "Complex":
Arg, Conj, Im, Mod, Re
Math.im or eval.im
  for evaluating expressions involving images.
# NOT RUN {
  a <- Smooth(finpines, 2)
  log(a)/2 - sqrt(a)
  range(a)
# }
Run the code above in your browser using DataLab