PolynCoefficients: Polyn Coefficients

Description Usage Arguments Value Examples

Description

Returns a Polyn coefficient

Usage

1
2
## S3 method for class 'Polyn'
p[index, ..., degree]

Arguments

p

a Polyn objecy

index

index of the element

degree

degree of an element of the Polyn

...

unused arguments

Value

Returns the coefficient of the selected index or degree.

Examples

1
2
3
p <- (1+B)^2
p[1]
p[degree=2]

Example output

Loading required package: lubridate

Attaching package: 'lubridate'

The following object is masked from 'package:base':

    date

[1] 1
[1] 1

tolBasis documentation built on May 2, 2019, 3:44 a.m.