subtypeInsertion {crunch}R 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


[Package crunch version 1.31.0 Index]