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.
- Host: GitHub
- URL: https://github.com/certara/rsnlme-rmd-report-example
- Owner: certara
- Created: 2022-02-16T16:25:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-02T17:21:25.000Z (over 4 years ago)
- Last Synced: 2025-09-10T00:12:42.480Z (11 months ago)
- Language: HTML
- Size: 18.5 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

## 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.*