operator {gamma}R Documentation

Common Operations on GammaSpectrum Objects

Description

Performs common operations on GammaSpectrum objects.

Usage

## S4 method for signature 'GammaSpectrum,GammaSpectrum'
Arith(e1, e2)

## S4 method for signature 'GammaSpectrum,numeric'
Arith(e1, e2)

## S4 method for signature 'GammaSpectrum,GammaSpectrum'
Compare(e1, e2)

## S4 method for signature 'GammaSpectrum,numeric'
Compare(e1, e2)

## S4 method for signature 'GammaSpectrum,GammaSpectrum'
Logic(e1, e2)

## S4 method for signature 'GammaSpectrum,numeric'
Logic(e1, e2)

## S4 method for signature 'GammaSpectrum,logical'
Logic(e1, e2)

## S4 method for signature 'GammaSpectrum'
Math(x)

## S4 method for signature 'GammaSpectrum'
Math2(x, digits)

## S4 method for signature 'GammaSpectrum'
Summary(x, ..., na.rm = FALSE)

Arguments

x, e1, e2

An object (typically a GammaSpectrum object).

digits

A length-one numeric vector giving the number of digits to be used in round() or signif().

...

Further arguments passed to or from methods.

na.rm

A logical scalar: should missing values (including NaN) be omitted from the calculations?

Group Generics

GammaSpectrum objects have support for S4 group generic functionality to operate within elements across objects:

Arith

"+", "-", "*", "^", "⁠\%\%⁠", "⁠\%/\%⁠", "/"

Compare

"==", ">", "<", "!=", "<=", ">="

Logic

"&", "|"

Math

"abs", "sign", "sqrt", "ceiling", "floor", "trunc", "cummax", "cummin", "cumprod", "cumsum", "log", "log10", "log2", "log1p", "acos", "acosh", "asin", "asinh", "atan", "atanh", "exp", "expm1", "cos", "cosh", "cospi", "sin", "sinh", "sinpi", "tan", "tanh", "tanpi", "gamma", "lgamma", "digamma", "trigamma"

Math2

"round", "signif"

Ops

"Arith", "Compare", "Logic"

Summary

"min", "max", "range", "prod", "sum", "any", "all"

Author(s)

N. Frerebeau

Examples

## No examples

[Package gamma version 1.0.5 Index]