Skip to content

Commit

Permalink
added readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Karch committed Nov 18, 2016
1 parent 03cea44 commit 57eabea
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.Rhistory
.RData
.Ruserdata
inst/doc
5 changes: 4 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ LazyData: true
URL: https://github.com/karchjd/gppmr
BugReports: https://github.com/karchjd/gppmr/issues
RoxygenNote: 5.0.1
Suggests: testthat (>= 1.0.2)
Suggests: testthat (>= 1.0.2),
knitr,
rmarkdown
VignetteBuilder: knitr
35 changes: 35 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: "Readme for gppmr"
author: "Julian Karch"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Readme for gppmr}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
## Install

To install the gppmr package. Copy the following line into R:
```{r, eval=FALSE}
source('https://raw.githubusercontent.com/karchjd/gppmr/master/tools/gppmrInstall.R')
```


## Examples
The examples for the paper are included as R demos. To see a list of all examples do the following:
```{r}
demo(package='gppmr')
```

To run a particular example. You can do the following. Here exemplified for 'example1linearModel'.
```{r, eval=FALSE}
demo('example1linearModel',package='gppmr')
```

However, the recommended approach is to look at the source directly. To locate the demo folder in which all examples resides on your computer do the following:
```{r}
system.file("demo", package ="gppmr")
```


0 comments on commit 57eabea

Please sign in to comment.