An open API service indexing awesome lists of open source software.

https://github.com/certara/rsnlme-rmd-report-example

An example of how to use RsNLME with R Markdown to efficiently prepare a report.
https://github.com/certara/rsnlme-rmd-report-example

Last synced: 5 months ago
JSON representation

An example of how to use RsNLME with R Markdown to efficiently prepare a report.

Awesome Lists containing this project

README

          

# RsNLME-Rmd-Report-Example

----

An example of how to use RsNLME with R Markdown to efficiently prepare a report.

View Example Report

![](img/overview_screenshot.png)

## Requirements

In order to execute the following example you must have installed:

* Certara.RsNLME v1.1.0
* NLME Engine v21.11.1

Click [here](https://certara.github.io/R-RsNLME/articles/installation.html) for installation details. Visit the [`Certara.R` website](https://certara.github.io/R-Certara/) for more information about R packages developed by Certara.

## Usage

After cloning the repository, open `RsNLME-Rmd-Report-Example.Rproj` in RStudio.

The following R Script will create and execute the RsNLME model. Model diagnostic plots and tables will be saved as `.RDS` file in your working directory.

``` r
source("RsNLME-Rmd-Report-Example.R")
```

Render the output from Rmarkdown to an HTML report.

``` r
library(rmarkdown)

html_output_file <- render("BaseModelSummary.Rmd")

browseURL(html_output_file)
```

*Note: You may receive a notification in RStudio about missing packages required to execute the R Markdown file. Click the* **install** *button in RStudio to install any missing dependencies.*