Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrocava committed Jan 13, 2019
1 parent 0810526 commit aa17be0
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
^Meta$
^doc$
^.*\.Rproj$
^\.Rproj\.user$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Meta
doc
.Rproj.user
.Rhistory
.RData
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ LazyData: true
RoxygenNote: 6.1.1
Imports: rootSolve,
stats
Suggests: knitr, rmarkdown, plot3D, dplyr
VignetteBuilder: knitr
2 changes: 1 addition & 1 deletion R/grid_2.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' @param c is the "by" parameter, the grid's density. Defaults to .5.
#' @export

grid.2 <- function(a = 0,
grid2 <- function(a = 0,
b = 100,
c = .5) {

Expand Down
20 changes: 20 additions & 0 deletions vignettes/vignette.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "Recon: Canonical Economic Models in R"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Recon: Canonical Economic Models in R}
%\VignetteEngine{knitr::rmarkdown}
\usepackage[utf8]{inputenc}
---

``Recon`` is all about making computing and exploring economic models easier. It is meant as a teaching tool for professors and as a way to deeper the understanding of undergrads.

Here, as an example, we'll use functions ``grid2()`` and ``cobb_douglas_2()`` in combination with ploting tools from the package ``plot3D`` to visualize utility levels and indiference curves.

```{R}
library(Recon)
library(plot3D)
consumption_set = grid2()
```

0 comments on commit aa17be0

Please sign in to comment.