extract_num_vars: Extract numerical variables

View source: R/subsetting.R

extract_num_varsR Documentation

Extract numerical variables

Description

Extract the numerical variables from a data.frame or matrix.

Usage

extract_num_vars(data)

Arguments

data

(data.frame or matrix) The data.

Value

Returns the subset of the data while keeping the type (using drop = FALSE).

Examples

extract_num_vars(iris)

Deleetdk/kirkegaard documentation built on Feb. 28, 2025, 5:04 p.m.