The metrica package was developed to assess the
prediction performance of, among other, crop simulation models such as
APSIM.
This vignette introduces the functionality of the
metrica package applied to facilitate opening
APSIM output files in R.
# Obtaining path from package folder
apsim_db_folderpath <- system.file("extdata", package = "metrica")
# Use import_apsim_db for APSIM NextGeneration output
soybean.db <- metrica::import_apsim_db(filename = "soybean.example.db", folder = apsim_db_folderpath)
head(soybean.db)
# If observed.data is already as a dataframe, the user may do the match using a simple code like this:
# PO.dataframe <- simulated.data %>% left_join(., observed.data) *by = "col" arg. could be required*
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.