print.tree.applyChanges: Pretty printing for part of the result of 'applyChanges'.

Description Usage Arguments Details Value See Also Examples

Description

Pretty printing for part of the result of applyChanges.

Usage

1
2
## S3 method for class 'tree.applyChanges'
print(x, ...)

Arguments

x

[tree.applyChanges] The tree element in the output of applyChanges.

...

Unused; only for consistency with print.

Details

One of the elements in the output of applyChanges is a tree. It is represented as a nested list, potentially a very deeply nested and a very long list which would have been all but impossible to digest for a human. This function prints it as a structure that more resembles a tree, very similar to the output of str.

Value

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

See Also

applyChanges, print.list.applyChanges

Examples

1
2
3
4
5
# prepare sample data
dataset <- loadSampleDataset ("data-capitals")
changes <- list (loadSampleDataset("change-dl2l"), loadSampleDataset("change-rhotacism"))
# apply the changes
applyChanges (dataset, changes, "ORTHOGRAPHY.German")$tree

soundcorrs documentation built on Nov. 16, 2020, 5:09 p.m.