Population modelling including spatially explicit models.

D. Quicke, B. A. Butcher, R. K. Welton
{"title":"Population modelling including spatially explicit models.","authors":"D. Quicke, B. A. Butcher, R. K. Welton","doi":"10.1079/9781789245349.0303","DOIUrl":null,"url":null,"abstract":"Abstract\n R is an open-source statistical environment modelled after the previously widely used commercial programs S and S-Plus, but in addition to powerful statistical analysis tools, it also provides powerful graphics outputs. R can be used for some quite fast modelling jobs but its speed is nowhere near that of a compiled programming language such as C++. This chapter shows how user-defined functions can be used to perform highly repetitive jobs efficiently, and demonstrates various mathematical functions. The first example shows how a vector can be incremented and the calculated points plotted on a graph as the simulation proceeds. The second example runs a loop, and each time passes values to a user-defined function, and receives back multiple values from that function, which it then stores for plotting later. The third example is necessarily more complex and shows how R code can be used to carry out spatially explicit analyses. Finally, a simple example shows how R can be used to teach how evolution takes place, even in the absence of natural selection due to genetic drift and population bottle-necking.","PeriodicalId":167700,"journal":{"name":"Practical R for biologists: an introduction","volume":"49 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Practical R for biologists: an introduction","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1079/9781789245349.0303","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Abstract R is an open-source statistical environment modelled after the previously widely used commercial programs S and S-Plus, but in addition to powerful statistical analysis tools, it also provides powerful graphics outputs. R can be used for some quite fast modelling jobs but its speed is nowhere near that of a compiled programming language such as C++. This chapter shows how user-defined functions can be used to perform highly repetitive jobs efficiently, and demonstrates various mathematical functions. The first example shows how a vector can be incremented and the calculated points plotted on a graph as the simulation proceeds. The second example runs a loop, and each time passes values to a user-defined function, and receives back multiple values from that function, which it then stores for plotting later. The third example is necessarily more complex and shows how R code can be used to carry out spatially explicit analyses. Finally, a simple example shows how R can be used to teach how evolution takes place, even in the absence of natural selection due to genetic drift and population bottle-necking.
人口模型,包括空间显式模型。
R是一个开源的统计环境,模仿了之前广泛使用的商业程序S和S- plus,但它除了提供强大的统计分析工具外,还提供强大的图形输出。R可以用于一些非常快速的建模工作,但它的速度远不及编译型编程语言,如c++。本章展示了用户定义函数如何有效地执行高度重复的任务,并演示了各种数学函数。第一个例子展示了如何增加矢量,并在模拟进行时将计算点绘制在图形上。第二个示例运行一个循环,每次将值传递给用户定义的函数,并从该函数接收多个值,然后存储这些值以供稍后绘制。第三个例子必然更加复杂,它展示了如何使用R代码执行空间显式分析。最后,一个简单的例子表明,即使在没有自然选择的情况下,由于遗传漂变和人口瓶颈,R也可以用来教授进化是如何发生的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信