找回密码
 注册
查看: 319|回复: 0

R语言 SoilR包 OnepModel()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 11:35:09 | 显示全部楼层 |阅读模式
OnepModel(SoilR)
OnepModel()所属R语言包:SoilR

                                        Implementation of a one pool model
                                         实施一池模型

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function creates a model for one pool. It is a wrapper for the more general function GeneralModel.
这个函数创建一个模型,其中一组。这是一个更普遍的功能GeneralModel的包装。


用法----------Usage----------


OnepModel(t, k, C0, In, xi = 1, solver = deSolve.lsoda.wrapper)



参数----------Arguments----------

参数:t
A vector containing the points in time where the solution is sought.
一种向量,包含的点的时间寻求溶液。


参数:k
A scalar with the decomposition rate of the pool.
标量的分解速率池。


参数:C0
A scalar containing the initial amount of carbon in the pool.
标量在池中包含初始的碳量。


参数:In
A scalar or a data.frame object specifying the amount of litter inputs by time.
一个标量或数据框对象指定的凋落物输入量。


参数:xi
A scalar or a data.frame specifying the external (environmental and/or edaphic) effects on decomposition rates.
一个标量或数据框指定的外部(环境和/或土壤)的分解率的影响。


参数:solver
A function that solves the system of ODEs. This can be euler or ode or any other user provided function with the same interface.
的功能,解决了系统的微分方程。这可能是euler或ode或任何其他用户提供的函数具有相同的接口。


值----------Value----------

A Model Object that can be further queried
一个模型对象,可以进一步查询


(作者)----------Author(s)----------


Carlos A. Sierra <csierra@bgc-jena.mpg.de>, Markus Mueller <mamueller@bgc-jena.mpg.de>



参见----------See Also----------

TwopParallelModel,TwopFeedbackModel
TwopParallelModel,TwopFeedbackModel


实例----------Examples----------


t_start=0
t_end=10
tn=50
timestep=(t_end-t_start)/tn
t=seq(t_start,t_end,timestep)
k=0.8
C0=100
In = 30

   
Ex=OnepModel(t,k,C0,In)
Ct=getC(Ex)
Rt=getReleaseFlux(Ex)
Rc=getAccumulatedRelease(Ex)

plot(t,Ct,type="l",ylab="Carbon stocks (arbitrary units)",xlab="Time (arbitrary units)",lwd=2)

plot(t,Rt,type="l",ylab="Carbon released (arbitrary units)",xlab="Time (arbitrary units)",lwd=2)

plot(t,Rc,type="l",ylab="Cummulative carbon released (arbitrary units)",xlab="Time (arbitrary units)",lwd=2)


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-8 15:10 , Processed in 0.031191 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表