Skip to content

Packaged dashboard to facilitate fitting a dynamic population model (DPM) using accountTMB. Allows for running single runs or for running comparisons between data model selections.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

ONSBigData/dpm.dash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dpm_dash

Overview

This interactive dashboard empowers you to explore and model your data using the dynamic population model (DPM).

Contributor guidance

In brief: All modifications to this package must be made through Pull requests, ideally linked to a specific GitHub Issue.

Pull requests should have a suitable pull request review form attached, with key notes/descriptions of changes made added by the requester and if applicable additional notes on particular areas to focus the review (syntax changes, key functional changes, documentational changes etc.)

Getting started

Installation

Install directly from GitHub

If you have linked your RStudio installation to GitHub you should be able to install the package directly from GitHub using the install_github method from the devtools package

# install.packages("devtools")
library(devtools)

devtools::install_github("ONSBigData/dpm_dash", build_vignettes = TRUE, INSTALL_opts = "--no-multiarch")

If you have not/are unable to link your RStudio installation to GitHub (you may encounter a 404 error when attempting the previous approach) you can also install the package in two alternative ways

Install locally from .zip

Download a copy of the package repository as a .zip file (option in ‘Code’, below Open with GitHub Desktop) and install using the install_local method from the devtools package (replace the path with the path to the .zip file download location)

# install.packages("devtools")
library(devtools)

devtools::install_local("C:/.../Downloads/dpm_dash-main.zip", build_vignettes = TRUE, INSTALL_opts = "--no-multiarch")

Install locally from cloned repository

Clone the repository (options in ‘Code’ to HTTPS/SSH paths) and build the package using the build() method from the devtools package

# install.packages("devtools")
library(devtools)

dpm_dash_build <- devtools::build("~/put/the/package/path/here")

devtools::install_local(dpm_dash_build, build_vignettes = TRUE, INSTALL_opts = "--no-multiarch")

Usage (example)

Once you have installed the dpm.dashboard package all you need to do to run the dashboard is using the run_dpm_dashboard() function

dpm_dash::run_dev_dash()

or

library(dpm_dash)
run_dev_dash()

This will launch the dashboard, allowing us to get started with using the DPM.

FAQs/Help

License

By contributing, you agree that your contributions will be licensed under its MIT License. For additional information regarding the licensing, and related copyright, of this code please refer to the LICENSE

About

Packaged dashboard to facilitate fitting a dynamic population model (DPM) using accountTMB. Allows for running single runs or for running comparisons between data model selections.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages