profile: Profile variables

Description Usage Arguments Methods (by class) Examples

View source: R/peruse.R

Description

profile takes in a vector and, depending on the class of the vector, will return summary information on that vector returned as a data.frame.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
profile(element)

## S3 method for class 'numeric'
profile(element)

## S3 method for class 'character'
profile(element)

## S3 method for class 'factor'
profile(variable)

## S3 method for class 'logical'
profile(variable)

Arguments

element

a vector you wish to profile.

Methods (by class)

Examples

1
2
3
set.seed(123456)
sample_variable <- sample(letters, size = 100, replace = T)
profile(sample_variable)

mattmills49/modeler documentation built on May 21, 2019, 1:25 p.m.