Skip to content

Commit af70ff0

Browse files
committed
Add more details about how simulations are run
1 parent 44e461a commit af70ff0

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,23 @@ In above figure $Q_p$ denotes the true $(1-p)$-quantile region, $\bar Q_p$
99
denotes estimate based on sample quantile and $\hat Q_p$ denotes estimate based
1010
on the extreme quantile region estimator proposed in the article.
1111

12-
## Prequisites
12+
## Running the simulation
13+
14+
1. Clone or unzip the repository, e.g,
1315

14-
R packages needed for running the simulations can be found on file `renv.lock`.
15-
Notice that the package *extreme* can be only installed from the corresponding
16-
Github repository with
1716
```
18-
devtools::install_github("perej1/extreme")
17+
git clone https://github.com/perej1/extreme.git
1918
```
2019

21-
## Running the simulation
20+
2. Install required packages by navigating to the project's root, and then, by
21+
running the following R command
22+
23+
```
24+
# install.packages("renv")
25+
renv::restore()
26+
```
27+
3. Lastly, run simulations with
2228

23-
Run the following on bash command line
2429
```
2530
bash plot-batch.sh
2631
```

0 commit comments

Comments
 (0)