suggest_rounding_degrees: suggesting rounding degrees

Description Usage Arguments

View source: R/hmi_smallfunctions.R

Description

A function that suggests some rounding degrees of a continuous variable (classically formatted or as interval object). The basic idea is 1. to count which factor is observed in the data more often than expected. 2. to check whether a factor can explain at least three observed piles of observations in the data 3. to check whether a factor explains at least 20 % of observations (additional to previous factors). Factors fulfilling this premises are returned as suggested rounding degrees.

Usage

1

Arguments

x

A vector or interval object.


hmi documentation built on Oct. 23, 2020, 7:31 p.m.