status: Get a summary for the given data frame (o vector).

statusR Documentation

Get a summary for the given data frame (o vector).

Description

For each variable it returns: Quantity and percentage of zeros (q_zeros and p_zeros respectevly). Same metrics for NA values (q_NA/p_na), and infinite values (q_inf/p_inf). Last two columns indicates data type and quantity of unique values. 'status' function is the evolution of 'df_status'. Main change is to have the decimal points as it is, except in percentage. For example now p_na=0.04 means 4 This time it's easier to embbed in a data process flow and to take actions based on this number.

Usage

status(data)

Arguments

data

data frame, tibble or a single vector

Value

Tibble with metrics

Examples

status(heart_disease)

pablo14/funModeling documentation built on July 30, 2023, 10:59 a.m.