An open API service indexing awesome lists of open source software.

https://github.com/uscbiostats/partition.archive


https://github.com/uscbiostats/partition.archive

data-reduction r-package rstats

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

---
output: github_document
---

[![Travis build status](https://travis-ci.org/USCbiostats/partition.svg?branch=master)](https://travis-ci.org/USCbiostats/partition)
[![Build status](https://ci.appveyor.com/api/projects/status/9rnot7opu66xpyns/branch/master?svg=true)](https://ci.appveyor.com/project/gvegayon/partition-nqr95/branch/master)
[![Coverage status](https://codecov.io/gh/USCbiostats/partition/branch/master/graph/badge.svg)](https://codecov.io/github/USCbiostats/partition?branch=master)

```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# partition

The goal of partition is to ...

## Installation

You can install partition from GitHub with:

```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("USCbiostats/partition")
```

## Example

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

```{r example, cache=TRUE}
library(partition)

blk.vec = 2:20
c.lb = .2
c.ub = .4
n = 200

dat = sim_blk_diag_mvn( blk.vec, c.lb, c.ub, n )

rslts = plot_dr( dat, method="PC1")
```