combineLayer: Combine different layers of an entity, and similar entities

combineLayersR Documentation

Combine different layers of an entity, and similar entities

Description

Combine different layers of an entity, and similar entities

Usage

combineLayers(rezrObj, entity, type = "intersect")

combineChunks(rezrObj, ...)

combineTokenChunk(rezrObj, type = "intersect")

Arguments

rezrObj

A rezrObj object

entity

The Rezonator entity with multiple layers (e.g. track, rez, chunk) that you want to combine

type

The type of combination. If 'intersect', I will take the intersection of the columns in the rezrDFs. If 'union', I will take the union of the columns, populating missing fields with NAs.

...

The rezrDF objects to be combined

Value

A rezrDF containing the required material.

Note

This is mainly used when you need to draw information from more than one rezrDF for the purpose of functions like addFieldForeign or rez_left_join.

Examples

combineLayers(sbc007, "chunk", type = "intersect")

johnwdubois/rezonateR documentation built on Nov. 19, 2024, 11:17 p.m.