Package 'describer'

Title: Describe Data in R Using Common Descriptive Statistics
Description: Allows users to quickly and easily describe data using common descriptive statistics.
Authors: Paul Hendricks [aut, cre]
Maintainer: Paul Hendricks <[email protected]>
License: MIT + file LICENSE
Version: 0.2.0.9000
Built: 2024-11-03 05:57:45 UTC
Source: https://github.com/paulhendricks/describer

Help Index


Describe atomic vectors or data.frames.

Description

describe takes vectors and data.frames and returns a data.frame containing important descriptive statistics.

Usage

describe(.x)

## S3 method for class 'numeric'
describe(.x)

## S3 method for class 'character'
describe(.x)

## S3 method for class 'data.frame'
describe(.x)

## Default S3 method:
describe(.x)

Arguments

.x

a vector or data.frame to be described.

Value

a data.frame containing important descriptive statistics.

Methods (by class)

  • numeric: Method for numeric.

  • character: Method for character.

  • data.frame: Method for data.frames.

  • default: Method for default.

Examples

# Example
describe(mtcars)
describe(iris)
describe(state.name)

Describe non-numeric atomic vectors.

Description

describe_nonnumeric takes non-numeric atomic vectors and returns a data.frame containing important descriptive statistics.

Usage

describe_nonnumeric(.x)

Arguments

.x

a non-numeric atomic vector to be described.

Value

a data.frame containing important descriptive statistics.

Examples

# Example
describe_nonnumeric(letters)

Describe numeric atomic vectors.

Description

describe_numeric takes numeric vectors and returns a data.frame containing important descriptive statistics.

Usage

describe_numeric(.x)

Arguments

.x

a numeric atomic vector or data.frame to be described.

Value

a data.frame containing important descriptive statistics.

Examples

# Example
describe_numeric(1:100)

describer: Describe Data in R Using Common Descriptive Statistics

Description

describer: Describe Data in R Using Common Descriptive Statistics


Describe data.frames with pandas results.

Description

pd_describe takes vectors and data.frames and returns a data.frame containing important descriptive statistics.

Usage

pd_describe(.x)

Arguments

.x

a vector or data.frame to be described.

Value

a data.frame containing important descriptive statistics.

Examples

# Example
pd_describe(mtcars)
pd_describe(iris)