Skip to content

A GitHub repository for the process rate estimator developed for the Sustainable Agroecosystems Group at ETH.

Notifications You must be signed in to change notification settings

Damian-Oswald/process-rate-estimator

Repository files navigation

Note

This repo is still very much work in progress.

Process Rate Estimator

Damian Oswald September 23, 2023

How can I run the Process Rate Estimator?

To run the process rate estimator, first install the R package PRE.1

remotes::install_github("https://github.com/Damian-Oswald/PRE")

After successful installation, you can clone this GitHub repository.

git clone https://github.com/Damian-Oswald/process-rate-estimator
cd process-rate-estimator

With this, you are ready to run the main script, which will reproduce the results for the process rate estimations.

Rscript scripts/run-process-rate-estimator/run-PRE.R

How to reproduce the rest of the study?

The scripts to reproduce the study results are divided by topic.

Sensitivity Analysis

To reproduce the sensitivity analysis, enter the following command:

Rscript scripts/sensitivity-analysis/01-sensitivitiy-analysis.R

Note that you can open the corresponding file to change parameters such as SAMPLESIZE and SAMPLEREPEAT; however, doing this will change the exact numerical results.2

Footnotes

  1. This R package contains all functions that are repeatedly used throughout the workflow of this project. It's stored on its own GitHub repository.

  2. Although the expected results will not change.

About

A GitHub repository for the process rate estimator developed for the Sustainable Agroecosystems Group at ETH.

Topics

Resources

Stars

Watchers

Forks