blank.factors {heR.Misc}R Documentation

Blank Nested Factors Under Top Levels

Description

Sets factors to blank values under the top levels in a nested pattern

Usage

blank.factors(x)

Arguments

x a dataframe containing factors

Details

Function to create an easy-to-read version of factor labels, by blanking labels in each group of nested labels except the leading one, where x is a dataframe of factor labels. We assume that the factors have already been sorted into the desired nested arrangement.

Value

a dataframe of factors with all but the top nested level assigned blank values

Author(s)

Neil Klepeis


[Package heR.Misc version 0.0.4 Index]