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

View source: R/exploratory_data_analysis.R

df_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. This function print and return the results.

Usage

df_status(data, print_results)

Arguments

data

data frame or a single vector

print_results

if FALSE then there is not a print in the console, TRUE by default.

Value

Metrics data frame

Examples

df_status(heart_disease)

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