Learn R Programming

hierarchicalSets (version 1.0.4)

outlier_hierarchy: Create a new hierarchy based on the outlying elements

Description

This function detects the outlying elements of a HierarchicalSet object and creates a new clustering of the sets only based on these elements. The returned HierarchicalSet object will only contain the outlying elements, thus reducing the universe size. This operation is somewhat similar to principal component analysis, in that the derived clustering is based on the structure not captured by the first clustering, thus modeling the second most dominant feature of the data.

Usage

outlier_hierarchy(set, intersectLimit = 1)

Value

An object of class HierarchicalSet, based on the outliying elements of set

Arguments

set

A HierarchicalSet object

intersectLimit

The proportion of sets an element must be present in to be considered part of the intersect. Standard intersects require it to be present in all sets (intersectLimit = 1), which is also the default

See Also

outlying_elements() for extracting outlying element information from a HierarchicalSet object

Examples

Run this code
data('twitter')

twitSet <- create_hierarchy(twitter)
twitSetOut <- outlier_hierarchy(twitSet)
twitSetOut

Run the code above in your browser using DataLab