powered by
fm_segm lists can be combined into fm_segm_list list objects.
fm_segm
fm_segm_list
# S3 method for fm_segm c(...)# S3 method for fm_segm_list c(...)# S3 method for fm_segm_list [(x, i)
# S3 method for fm_segm_list c(...)
# S3 method for fm_segm_list [(x, i)
A fm_segm_list object
Objects to be combined.
fm_segm_list object from which to extract element(s)
indices specifying elements to extract
c(fm_segm_list): The ... arguments should be coercible to fm_segm_list objects.
c(fm_segm_list)
...
[: Extract sub-list
[
c(fm_segm): The ... arguments should be fm_segm objects, or coercible with fm_as_segm_list(list(...)).
c(fm_segm)
fm_as_segm_list(list(...))
fm_as_segm_list()
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