BioCro is a model that estimates photosynthesis at the leaf, canopy, and ecosystem levels and determines plant biomass allocation and crop yields, using underlying physiological and ecological processes to do so.
You can install the development version of PEcAn.BIOCRO
from r-universe like so:
# Enable repository from pecanproject
options(repos = c(
pecanproject = 'https://pecanproject.r-universe.dev',
CRAN = 'https://cloud.r-project.org'))
# Download and install PEcAn.BIOCRO in R
install.packages('PEcAn.BIOCRO')
Or you can install directly from GitHub with the remotes
package like so:
library(remotes)
install_github('pecanproject/pecan', subdir = "models/biocro")
This is a basic example which shows you how to solve a common problem:
library(PEcAn.BIOCRO)
## basic example code