count_: Count levels of a variable

View source: R/utils.R

count_R Documentation

Count levels of a variable

Description

Count factor variables or returns the number of complete cases for numeric features.

Usage

count_(data, variable)

Arguments

data

a data frame.

variable

name of the variable of interest.

Value

a data frame with the counts.


PiotrTymoszuk/coxExtensions documentation built on Feb. 6, 2024, 10:58 p.m.