rational-length | R Documentation |
length
Rational class length
## S4 method for signature 'rationalS4'
length(x)
## S3 method for class 'rationalS3'
length(x, ...)
## S3 method for class 'rationalR6'
length(x, ...)
## S3 method for class ''rational::rationalS7''
length(x, ...)
x |
An object of class |
... |
Other arguments passed to |
a <- rational(c(3L, 5L, 6L), c(4L, 5L, 7L), "S4")
stopifnot(length(a) == 3)
a <- rational(c(3L, 5L, 6L), c(4L, 5L, 7L), "S3")
stopifnot(length(a) == 3)
a <- rational(c(3L, 5L, 6L), c(4L, 5L, 7L), "R6")
stopifnot(length(a) == 3)
a <- rational(c(3L, 5L, 6L), c(4L, 5L, 7L), "S7")
stopifnot(length(a) == 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.