View source: R/runToEquilibrium.R
| runToEquilibrium | R Documentation | 
Repeatedly add new cohorts to a soil profile until the oldest layers are not significantly different AND the oldest layer are above some minimum age, within some upper bound of soil age.
runToEquilibrium(
  minAge = 50,
  maxAge = 12000,
  minDepth,
  recordEvolution = FALSE,
  relTol = 1e-06,
  absTol = 1e-08,
  ...
)
| minAge | run the model for at least these many years | 
| maxAge | do not run the model for longer then these many years | 
| minDepth | run the model to create a profile at least this deep | 
| recordEvolution | a boolean flag to record how the equilibrium profile evolves | 
| relTol | stop the evolution if the relative difference between the two oldest cohorts is less then this | 
| absTol | stop the evolution if the absolute difference between the two oldest cohorts is less then this | 
| ... | arguments to be passed to  | 
a data frame by age cohort with the layer top and bottom depths, age, and mass of the fast organic, slow organic, mineral, and root biomass pools OR a list that is a record of age cohorts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.