Learn R Programming

neuropsychology (version 0.3.0)

get_numeric: Select numeric variables

Description

Subset a dataframe by keeping the numeric variables.

Usage

get_numeric(df)

Arguments

df
A Data frame.

Examples

Run this code
require(neuropsychology)

df <- personality

df_only_numeric <- get_numeric(df)

Run the code above in your browser using DataLab