Learn R Programming

qPRAentry

qPRAentry is an R package encompassing functions for calculating and redistributing the potentially infected/infested quantity of commodities imported from countries where a pest of interest is present and estimating the amount of a pest entering a risk assessment area (in terms of potential founder populations landing in each region, e.g., European NUTS2).

The package comprises two Shiny apps: one for computing $N_{trade}$ and redistributing, and the other for executing the pathway model.

Installation

The latest version of qPRAentry can be installed and loaded as follows:

install.packages("qPRAentry")

Upload then the qPRAentry library and check the help function for the documentation:

library(qPRAentry)

?qPRAentry

Copy Link

Version

Install

install.packages('qPRAentry')

Monthly Downloads

490

Version

0.1.0

License

GPL (>= 3)

Maintainer

Martina Cendoya

Last Published

December 17th, 2024

Functions in qPRAentry (0.1.0)

trade_data

Prepare Trade Data
redist_iso

Data redistribution to country subdivisions
redist_nuts

Data redistribution to NUTS subdivisions
load_csv

Load a CSV file with automatic separator detection
plot_countries

Plot values on a map at country level
pathway_model

Pathway model
plot_nuts

Plot NUTS region values on a map
datatrade_NorthAm

Example Trade Data for Northern America
ntrade_app

Shiny app for Ntrade
pathway_app

Shiny app for pathway model
ntrade

Ntrade calculation
datatrade_EU

Example Trade Data for the European Union
qPRAentry-package

qPRAentry: Quantitative Pest Risk Assessment at the Entry Step