Miscellaneous Utility Functions
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
man
tests
.Rbuildignore
.gitignore
Amisc.Rproj
DESCRIPTION
NAMESPACE
README.Rmd
README.md

README.md

Amisc

The goal of Amisc is to obtain a descriptives statistics for various columns in a data.frame(df) according to a particular factor column(by1) in df.

We can select columns of our interests, wheter they are factor or numerical. If input columns are solely in numerical type, Amisc will return a summary of Mean, Median, Total(optional) and Missing(if there is one) based on by1. On the other hand, if all input columns are factor, Amisc will count all marginal totals and Missing(if there is one) for each level in all factors. If we have a mix of numerical and factor inputs, Amisc will output two separated tables. One for factor, and one for numerical.

Installation

You can install Amisc from GitHub with:

# install.packages("devtools")
devtools::install_github("AlineTalhouk/Amisc")

Example

This is a basic example which shows you how to solve a common problem:

## basic example code