Title: | Describe Data in R Using Common Descriptive Statistics |
Version: | 0.2.0 |
Description: | Allows users to quickly and easily describe data using common descriptive statistics. |
URL: | https://github.com/paulhendricks/describer |
BugReports: | https://github.com/paulhendricks/describer/issues |
Depends: | R (≥ 3.1.2) |
License: | MIT + file LICENSE |
LazyData: | true |
Suggests: | dplyr, testthat, lintr |
NeedsCompilation: | no |
Packaged: | 2015-09-17 16:01:27 UTC; phendricks |
Author: | Paul Hendricks [aut, cre] |
Maintainer: | Paul Hendricks <paul.hendricks.2013@owu.edu> |
Repository: | CRAN |
Date/Publication: | 2015-09-17 22:50:04 |
describer: Describe Data in R Using Common Descriptive Statistics
Description
describer: Describe Data in R Using Common Descriptive Statistics
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)