Learn R Programming

diyar (version 0.2.0)

number_line-class: number_line object

Description

S4 objects representing a series of finite numbers on a number line Used for range matching in record_group and interval grouping in fixed_episodes, rolling_episodes and episode_group

Usage

# S4 method for number_line
show(object)

# S4 method for number_line rep(x, ...)

# S4 method for number_line [(x, i, j, ..., drop = TRUE)

# S4 method for number_line [[(x, i, j, ..., exact = TRUE)

# S4 method for number_line [(x, i, j, ...) <- value

# S4 method for number_line [[(x, i, j, ...) <- value

# S4 method for number_line $(x, name)

# S4 method for number_line $(x, name) <- value

# S4 method for number_line c(x, ...)

# S3 method for number_line unique(x, ...)

# S3 method for number_line sort(x, decreasing = FALSE, ...)

# S3 method for number_line format(x, ...)

Arguments

object

object

x

x

...

...

i

i

j

j

drop

drop

exact

exact

value

value

name

slot name

decreasing

logical. Should the sort be increasing or decreasing

Slots

start

Start of the number line

id

Unique numeric ID. Providing this is optional.

gid

Unique numeric Group ID. Providing this is optional.

.Data

Length/with and direction of the number_line object.