-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
56 lines (45 loc) · 1.79 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
## Momfarm <img src="https://noto-website-2.storage.googleapis.com/emoji/emoji_u1f407.png" width="30px">
_Part of [MomX](https://momx.github.io/MomX/)_
<!-- Badges -->
[](https://www.tidyverse.org/lifecycle/#experimental)
[](https://travis-ci.org/MomX/Momfarm)
[](http://cran.r-project.org/package=Momfarm)
[](https://codecov.io/github/MomX/Momfarm?branch=master)
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
Breed shapes on top of Momocs.
Momfarm is, mostly and so far, a place to prototype on shapes visualization.
## Installation
You can install the current CRAN version with:
```{r, eval=FALSE}
install.packages("Momfarm")
```
But I recommend using - and typically only support - the development version that lives on [GitHub](https://github.com/MomX/Momfarm):
```{r, eval=FALSE}
# if you do not have devtools yet:
install.packages("devtools")
# then:
devtools::install_github("MomX/Momfarm")
```
## Example
```{r example, message=FALSE}
library(Momfarm)
s <- shapes %>% pick(1:2)
s
s %>% homogeneize() %>%
cross(steps=20) %>%
paper_white %>% draw_outlines()
```
Try the example in `cross_g` as well, to interactively cross shapes.
----
Please note that this project is released with a [Contributor Code of Conduct](CONDUCT.md). By participating in this project you agree to abide by its terms.