Learn R Programming

photosynthesis

Model C3 Photosynthesis

Description

photosynthesis is an R package with modeling tools for C3 photosynthesis, as well as analytical tools for curve-fitting plant ecophysiology responses. It uses the R package units to ensure that parameters are properly specified and transformed before calculations.

Get photosynthesis

From CRAN

install.packages("photosynthesis")

or from GitHub

install.packages("remotes")
remotes::install_github("cdmuir/photosynthesis")

And load photosynthesis

library("photosynthesis")

Vignettes

See the following vignettes for examples of what photosynthesis can do:

Contributors

Comments and contributions

We welcome comments, criticisms, and especially contributions! GitHub issues are the preferred way to report bugs, ask questions, or request new features. You can submit issues here:

https://github.com/cdmuir/photosynthesis/issues

Meta

  • Please report any issues or bugs.
  • License: MIT
  • Get citation information for photosynthesis in R doing citation(package = 'photosynthesis')
  • Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Copy Link

Version

Install

install.packages('photosynthesis')

Monthly Downloads

336

Version

2.1.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Chris Muir

Last Published

November 24th, 2024

Functions in photosynthesis (2.1.5)

fit_g_mc_variableJ

Fitting mesophyll conductance with the variable J method
compute_sensitivity

Computing measures of sensitivity
fit_photosynthesis

Fit photosynthetic models with gas-exchange data
gs_mod_ballberry

Stomatal conductance models
fit_many

Fitting many functions across groups
fit_r_light_kok

Estimating light respiration
fit_t_response

Fitting temperature responses
leaf_par

S3 class leaf_par
fit_r_light2

Fit models to estimate light respiration (\(R_\mathrm{d}\))
fit_hydra_vuln_curve

Fitting hydraulic vulnerability curves
make_parameters

Make lists of parameters for photosynthesis
calculate_jmax

Inverse non-rectangular hyperbola for J_max calculation
ppm2pa

Convert pressure from PPM to Pascals
read_licor

Read a LI-COR file
photosynthesis-package

photosynthesis package
print_graphs

Printing graphs to system
read_li6800

Read a LI-COR file
get_default_model

Get default model
simulate_error

Simulate gas exchange data with measurement error
t_response_arrhenius

Temperature response functions
parameter_names

Get vector of parameter names
required_variables

Variables required for photosynthesis models
photosynthesis

Simulate C3 photosynthesis
photo_parameters

Input parameters to simulate C3 photosynthesis using photosynthesis()
baked-class

S3 class baked
bake_par

S3 class bake_par
bake

Leaf parameter temperature responses
J

J: Rate of electron transport (umol/m^2/s)
aq_response

Non-rectangular hyperbolic model of light responses
CO2_conductance

Conductance to CO2 (mol / m^2 / s)
calculated-parameters

Get default functions for calculated parameters in photosynthesis
A_supply

CO2 supply and demand function (mol / m^2 s)
FvCB

Farquhar-von Caemmerer-Berry (FvCB) C3 photosynthesis model
analyze_sensitivity

Running 2-parameter sensitivity analyses
constants

S3 class constants
fit_gs_model

Fitting stomatal conductance models
enviro_par

S3 class enviro_par
fit_aq_response2

Fit photosynthetic light-response curves
fit_PV_curve

Fitting pressure-volume curves
compile_data

Compiling outputs from lists
fit_aq_response

Fitting light responses of net CO2 assimilation
fit_aci_response

Fitting ACi curves