Learn R Programming

neuropsychology (version 0.3.0)

get_factors: Select numeric variables

Description

Subset a dataframe by keeping the factors.

Usage

get_factors(df)

Arguments

df
A Data frame.

Examples

Run this code
require(neuropsychology)

df <- personality

df_only_factors <- get_factors(df)

Run the code above in your browser using DataLab