R/example.2DBoundInFluxesFromFunction.R

#' example.2DBoundInFluxesFromFunction
#' 
#' Create a 2-dimensional example of a BoundInFluxes object
#' 
#' 
#' @return The returned object represents a time dependent Influx into a two
#' pool model.
example.2DBoundInFluxesFromFunction <- function
(){
	BoundInFluxes(
		function(t){
			c(
				1+sin(t),
				2+sin(2*t)
			)
		},
		0,
		10
	)
}

Try the SoilR package in your browser

Any scripts or data that you put into this service are public.

SoilR documentation built on Oct. 13, 2023, 5:06 p.m.