-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.Rmd
49 lines (33 loc) · 852 Bytes
/
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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please DO NOT edit README.md directly -->
```{r, echo = FALSE}
knitr::opts_chunk$set(collapse = TRUE, comment = "#>", fig.path = "figures/README-")
```
# regsim
[![Travis-CI Build Status](https://travis-ci.org/altaf-ali/regsim.svg?branch=master)](https://travis-ci.org/altaf-ali/regsim)
An R Package for dealing with statistical uncertainty in regression models.
## Installation
You can install regsim from github with:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("altaf-ali/regsim")
```
## Example
```{r}
library(regsim)
```
```{r}
model <- lm(mpg ~ wt + cyl, data = mtcars)
```
```{r echo = FALSE}
set.seed(666)
```
```{r}
x <- list(wt = seq(1, 5, 0.1))
sim <- regsim(model, x)
```
```{r plot}
plot(sim)
```