Learn R Programming

fmesher (version 0.3.0)

fm_segm_list: Methods for fm_segm lists

Description

fm_segm lists can be combined into fm_segm_list list objects.

Usage

# S3 method for fm_segm
c(...)

# S3 method for fm_segm_list c(...)

# S3 method for fm_segm_list [(x, i)

Value

A fm_segm_list object

Arguments

...

Objects to be combined.

x

fm_segm_list object from which to extract element(s)

i

indices specifying elements to extract

Methods (by generic)

  • c(fm_segm_list): The ... arguments should be coercible to fm_segm_list objects.

  • [: Extract sub-list

Functions

  • c(fm_segm): The ... arguments should be fm_segm objects, or coercible with fm_as_segm_list(list(...)).

See Also

fm_as_segm_list()

Examples

Run this code
m <- c(A = fm_segm(1:2), B = fm_segm(3:4))
str(m)
str(m[2])

Run the code above in your browser using DataLab