Package: medfate 4.8.0

Miquel De Cáceres

medfate: Mediterranean Forest Simulation

Simulate Mediterranean forest functioning and dynamics using cohort-based description of vegetation [De Caceres et al. (2015) <doi:10.1016/j.agrformet.2015.06.012>; De Caceres et al. (2021) <doi:10.1016/j.agrformet.2020.108233>].

Authors:Miquel De Cáceres [aut, cre, cph], Nicolas Martin-StPaul [aut], Víctor Granda [aut], Antoine Cabon [aut], Jordi Martínez-Vilalta [ctb], Maurizio Mencuccini [ctb], Julien Ruffault [ctb], François Pimont [ctb], Hervé Cochard [ctb], Aitor Améztegui [ctb], Shengli Huang [ctb], Léa Veuillen [ctb], John Burkardt [cph]

medfate_4.8.0.tar.gz
medfate_4.8.0.zip(r-4.5)medfate_4.8.0.zip(r-4.4)medfate_4.8.0.zip(r-4.3)
medfate_4.8.0.tgz(r-4.4-x86_64)medfate_4.8.0.tgz(r-4.4-arm64)medfate_4.8.0.tgz(r-4.3-x86_64)medfate_4.8.0.tgz(r-4.3-arm64)
medfate_4.8.0.tar.gz(r-4.5-noble)medfate_4.8.0.tar.gz(r-4.4-noble)
medfate_4.8.0.tgz(r-4.4-emscripten)medfate_4.8.0.tgz(r-4.3-emscripten)
medfate.pdf |medfate.html
medfate/json (API)

# Install 'medfate' in R:
install.packages('medfate', repos = c('https://emf-creaf.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/emf-creaf/medfate/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

7.55 score 11 stars 1 packages 173 scripts 571 downloads 321 exports 81 dependencies

Last updated 10 days agofrom:b09a3859bf. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 13 2024
R-4.5-win-x86_64OKNov 13 2024
R-4.5-linux-x86_64OKNov 13 2024
R-4.4-win-x86_64OKNov 13 2024
R-4.4-mac-x86_64OKNov 13 2024
R-4.4-mac-aarch64OKNov 13 2024
R-4.3-win-x86_64OKNov 13 2024
R-4.3-mac-x86_64OKNov 13 2024
R-4.3-mac-aarch64OKNov 13 2024

Exports:aspwbaspwb_dayaspwb_day_inneraspwbInputbiophysics_irradianceToPhotonFluxbiophysics_leafTemperaturebiophysics_leafTemperature2biophysics_leafVapourPressurebiophysics_radiationDiurnalPatternbiophysics_temperatureDiurnalPatternbiophysics_waterDynamicViscositycarbon_carbonCompartmentscarbon_leafStarchCapacitycarbon_leafStructuralBiomasscarbon_osmoticWaterPotentialcarbon_relativeSapViscositycarbon_sapwoodStarchCapacitycarbon_sapwoodStructuralBiomasscarbon_sapwoodStructuralLivingBiomasscarbon_sugarConcentrationcarbon_sugarStarchDynamicsLeafcarbon_sugarStarchDynamicsStemcopy_model_outputdefaultControldefaultManagementArgumentsdefaultManagementFunctiondefaultSoilParamsdroughtStressemptyforestevaluation_metricevaluation_plotevaluation_statsevaluation_tableextractfire_barkThermalDiffusivityfire_FCCSfire_leafThermalFactorfire_necrosisCriticalTemperaturefire_necrosisHeightfire_plumeTemperaturefire_radialBoleNecrosisfire_RothermelfireHazardfordynforest_mapShrubTableforest_mapTreeTableforest_mapWoodyTablesforest_mergeShrubsforest_mergeTreesforest_reduceToDominantforest2abovegroundforest2belowgroundforest2growthInputforest2spwbInputfuel_FCCSfuel_stratificationfuel_windAdjustmentFactorgeneral_communication_structuresgrowthgrowth_daygrowth_day_innergrowthInputherb_foliarBiomassherb_fuelLoadingherb_LAIhydraulics_averagePsihydraulics_averageRhizosphereResistancePercenthydraulics_correctConductanceForViscosityhydraulics_E2psiAbovegroundhydraulics_E2psiBelowgroundhydraulics_E2psiNetworkhydraulics_E2psiTwoElementshydraulics_E2psiVanGenuchtenhydraulics_E2psiXylemhydraulics_E2psiXylemUphydraulics_ECrithydraulics_EVanGenuchtenhydraulics_EXylemhydraulics_findRhizosphereMaximumConductancehydraulics_initSperryNetworkshydraulics_K2Psihydraulics_maximumSoilPlantConductancehydraulics_maximumStemHydraulicConductancehydraulics_proportionDefoliationSigmoidhydraulics_proportionDefoliationWeibullhydraulics_psi2Khydraulics_psi2Weibullhydraulics_psiCrithydraulics_referenceConductivityHeightFactorhydraulics_regulatedPsiTwoElementshydraulics_regulatedPsiXylemhydraulics_rootxylemConductanceProportionshydraulics_soilPlantResistancesSigmoidhydraulics_soilPlantResistancesWeibullhydraulics_supplyFunctionAbovegroundhydraulics_supplyFunctionBelowgroundhydraulics_supplyFunctionNetworkhydraulics_supplyFunctionOneXylemhydraulics_supplyFunctionPlothydraulics_supplyFunctionThreeElementshydraulics_supplyFunctionTwoElementshydraulics_taperFactorSavagehydraulics_terminalConduitRadiushydraulics_vanGenuchtenConductancehydraulics_vulnerabilityCurvePlothydraulics_xylemConductancehydraulics_xylemConductanceSigmoidhydraulics_xylemPsihydrology_herbaceousTranspirationhydrology_infiltrationAmounthydrology_infiltrationBoughtonhydrology_infiltrationGreenAmpthydrology_infiltrationRepartitionhydrology_interceptionPlothydrology_rainfallIntensityhydrology_rainInterceptionhydrology_snowMelthydrology_soilEvaporationhydrology_soilEvaporationAmounthydrology_soilWaterBalancehydrology_waterInputsinitSureauNetworksinstance_communication_structureslight_cohortAbsorbedSWRFractionlight_cohortSunlitShadeAbsorbedRadiationlight_directionalExtinctionCoefficientlight_instantaneousLightExtinctionAbsortionlight_layerDiffuseIrradianceFractionlight_layerDirectIrradianceFractionlight_layerSunlitFractionlight_leafAngleBetaParameterslight_leafAngleCDFlight_longwaveRadiationSHAWlight_PARcohortlight_PARgroundlight_SWRgroundmodifyCohortParamsmodifyInputParamsmodifySpParamsmoisture_apoplasticPsimoisture_apoplasticRWCmoisture_leafWaterCapacitymoisture_pressureVolumeCurvePlotmoisture_sapwoodWaterCapacitymoisture_symplasticPsimoisture_symplasticRWCmoisture_tissueRWCmoisture_turgorLossPointmortality_dailyProbabilitymultiple_runsoptimization_evaluation_functionoptimization_evaluation_multicohort_functionoptimization_functionoptimization_multicohort_functionpheno_leafDevelopmentStatuspheno_leafSenescenceStatuspheno_updateLeavespheno_updatePhenologyphoto_electronLimitedPhotosynthesisphoto_GammaTempphoto_JmaxTempphoto_KmTempphoto_leafPhotosynthesisFunctionphoto_leafPhotosynthesisFunction2photo_multilayerPhotosynthesisFunctionphoto_photosynthesisphoto_photosynthesisBaldocchiphoto_rubiscoLimitedPhotosynthesisphoto_sunshadePhotosynthesisFunctionphoto_VmaxTempplant_basalAreaplant_characterParameterplant_coverplant_crownBaseHeightplant_crownLengthplant_crownRatioplant_densityplant_equilibriumLeafLitterplant_equilibriumSmallBranchLitterplant_foliarBiomassplant_fuelLoadingplant_heightplant_IDplant_individualAreaplant_LAIplant_largerTreeBasalAreaplant_parameterplant_phytovolumeplant_speciesplant_speciesNameplant_waterplot.fordynplot.forestplot.growthplot.growth_dayplot.pwbplot.pwb_dayplot.spwbplot.spwb_dayprint.summary.forestpwbregeneration_recruitmentregeneration_resproutingregeneration_seedmortalityregeneration_seedproductionregeneration_seedrefillresetInputsresistancesroot_coarseRootLengthsroot_coarseRootLengthsFromVolumeroot_coarseRootSoilVolumeroot_coarseRootSoilVolumeFromConductanceroot_conicDistributionroot_fineRootAreaIndexroot_fineRootBiomassroot_fineRootHalfDistanceroot_fineRootRadiusroot_fineRootSoilVolumeroot_horizontalProportionsroot_individualRootedGroundArearoot_ldrDistributionroot_rhizosphereMaximumConductanceroot_specificRootSurfaceAreasemi_implicit_integrationshinyplotshinyplot.fordynshinyplot.forestshinyplot.growthshinyplot.growth_dayshinyplot.pwbshinyplot.pwb_dayshinyplot.spwbshinyplot.spwb_dayshrub2forestsoilsoil_campbellParamsClappHornbergersoil_capacitancesoil_conductivitysoil_psisoil_psi2cVGsoil_psi2kVGsoil_psi2thetaSXsoil_psi2thetaVGsoil_redefineLayerssoil_retentionCurvePlotsoil_rockWeight2Volumesoil_saturatedConductivitySXsoil_saturatedWaterDepthsoil_temperatureChangesoil_temperatureGradientsoil_thermalCapacitysoil_thermalConductivitysoil_thetasoil_theta2psiSXsoil_theta2psiVGsoil_thetaFCsoil_thetaSATsoil_thetaSATSXsoil_thetaWPsoil_unsaturatedConductivitySXsoil_USDATypesoil_vanGenuchtenParamsCarselsoil_vanGenuchtenParamsTothsoil_watersoil_waterExtractablesoil_waterFCsoil_waterPsisoil_waterSATsoil_waterWPspecies_basalAreaspecies_characterParameterspecies_coverspecies_densityspecies_foliarBiomassspecies_fuelLoadingspecies_LAIspecies_parameterspwbspwb_dayspwb_day_innerspwbInputstand_basalAreastand_dominantTreeDiameterstand_dominantTreeHeightstand_dominantTreeSpeciesstand_foliarBiomassstand_fuelLoadingstand_hartBeckingIndexstand_LAIstand_meanTreeHeightstand_quadraticMeanTreeDiameterstand_shrubVolumestand_treeDensitysummary.fordynsummary.forestsummary.growthsummary.pwbsummary.soilsummary.spwbtrait_family_meanstransp_maximumTranspirationModeltransp_profitMaximizationtransp_stomatalRegulationPlottransp_transpirationGraniertransp_transpirationSperrytransp_transpirationSureautree2forestvprofile_fuelBulkDensityvprofile_leafAreaDensityvprofile_PARExtinctionvprofile_rootDistributionvprofile_SWRExtinctionvprofile_windExtinctionwaterUseEfficiencywind_canopyTurbulencewind_canopyTurbulenceModelwoodformation_growRingwoodformation_initRingwoodformation_relativeExpansionRatewoodformation_relativeGrowthRatewoodformation_temperatureEffect

Dependencies:abindarealassertthatbase64encbslibcachemCFtimeclassclassIntclicolorspacecommonmarkcpp11crayoncubelyrDBIdigestdplyre1071fansifarverfastmapfontawesomefsgenericsggplot2gluegtablehtmltoolshttpuvisobandjquerylibjsonliteKernSmoothlabelinglaterlatticelifecyclelubridatemagrittrMASSMatrixmemoisemeteolandmgcvmimemunsellncdfgeomncmetanlmepillarpkgconfigpromisesproxypurrrR6rappdirsRColorBrewerRcpprlangRNetCDFs2sassscalessfshinysourcetoolsstarsstringistringrtibbletidyrtidyselecttimechangeunitsutf8vctrsviridisLitewithrwkxtable

Readme and manuals

Help Manual

Help pageTopics
Control parameters for simulation modelsdefaultControl
Default forest management actionsdefaultManagementArguments defaultManagementFunction
Default soil parametersdefaultSoilParams
Drought stress indicatorsdroughtStress
Creation of an empty forestemptyforest
Evaluation of simulations resultsevaluation evaluation_metric evaluation_plot evaluation_stats evaluation_table
Example daily meteorology dataexamplemeteo
Example observed dataexampleobs
Extracts model outputsextract
Fire behaviour functionsfire_behaviour fire_FCCS fire_Rothermel
Fire hazardfireHazard
Forest dynamicsfordyn
Description of a forest stand.exampleforest exampleforest2 forest
Map forest plot dataforest_mapShrubTable forest_mapTreeTable forest_mapWoodyTables
Forest complexity reductionforest_mergeShrubs forest_mergeTrees forest_reduceToDominant forest_simplification
Fuel stratification and fuel characteristicsfuel_FCCS fuel_properties fuel_stratification
Forest growthgrowth
Single-day simulationgrowth_day spwb_day
Input for simulation modelsgrowthInput modelInput spwbInput
Modify parametersmodifyCohortParams modifyInputParams modifyParams modifySpParams
Multiple model runs and function factories for optimization routinesmultiple_runs optimization optimization_evaluation_function optimization_evaluation_multicohort_function optimization_function optimization_multicohort_function
Parameter average valuestrait_family_means
Plot forest attributesplot.forest shinyplot.forest
Plots simulation resultsplot.fordyn plot.growth plot.pwb plot.spwb
Plots simulation results for one dayplot.growth_day plot.pwb_day plot.spwb_day
Example forest inventory datapoblet_trees
Reset simulation inputsresetInputs
Soil-plant resistancesresistances
Standard fuel models (Albini 1976, Scott & Burgan 2005)SFM_metric
Shiny app with interactive plotsshinyplot shinyplot.fordyn shinyplot.growth shinyplot.growth_day shinyplot.pwb shinyplot.pwb_day shinyplot.spwb shinyplot.spwb_day
Soil initializationsoil summary.soil
Redefine soil layer widthssoil_redefineLayers
Data tables with species parameter definitions and valuesSpParams SpParamsDefinition SpParamsMED
Soil-plant water balancepwb spwb
Summary of forest structureprint.summary.forest summary.forest
Summarize simulation resultssummary.fordyn summary.growth summary.pwb summary.spwb
Single-cohort forestsshrub2forest tree2forest
Water use efficiencywaterUseEfficiency