subtypeInsertion: Convert from Insertion to Insertion subtypes

View source: R/subtotals-and-headings.R View source: R/subtotals-and-headings.R

subtypeInsertionR Documentation

Convert from Insertion to Insertion subtypes

Description

Convert from Insertions with only Insertion objects (the only kind that are available from the Crunch API) to the more user-friendly and user-facing Subtotal and Heading object classes.

Convert from Insertions with only Insertion objects (the only kind that are available from the Crunch API) to the more user-friendly and user-facing Subtotal and Heading object classes.

Usage

subtypeInsertions(inserts)

subtypeInsertion(insert)

subtypeInsertions(inserts)

subtypeInsertion(insert)

Arguments

inserts

an Insertions object for subtypeInsertions

insert

a single Insertion object for subtypeInsertion

Value

an Insertions object with members subtyped for subtypeInsertions or a Subtotal, Heading, or Insertion for subtypeInsertion

an Insertions object with members subtyped for subtypeInsertions or a Subtotal, Heading, or Insertion for subtypeInsertion


Crunch-io/rcrunch documentation built on April 1, 2024, 1:14 a.m.