print.list.applyChangesR Documentation

Pretty printing for the result of applyChanges.

Description

Pretty printing for the result of applyChanges.

Usage

## S3 method for class 'list.applyChanges'
print(x, ...)

Arguments

x

[list.applyChanges] The output of applyChanges.

...

Unused; only for consistency with print.

Details

The output of applyChanges is a list, potentially a very long one, and difficult to read. To make it easier to digest, this function only prints the $end element, i.e. the final shapes produced by the application of all of the sound changes.

Value

[list.applyChanges] The same object that was given as x.

See Also

applyChanges, print.tree.applyChanges

Examples

# prepare sample data
dataset <- loadSampleDataset ("data-capitals")
changes <- list (loadSampleDataset("change-dl2l"), loadSampleDataset("change-rhotacism"))
# apply the changes
applyChanges (dataset, changes, "ORTHOGRAPHY.German")
applyChanges (dataset, changes, "ORTHOGRAPHY.German", "ORTHOGRAPHY.Polish", highlight="console")