progressreport(spatstat)
progressreport()所属R语言包:spatstat
Print Progress Reports
打印工作进度报告
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Prints Progress Reports during a loop or iterative calculation.
打印工作进度报告,在循环或迭代计算。
用法----------Usage----------
progressreport(i, n, every = max(1, ceiling(n/100)), nperline =
min(charsperline, every * ceiling(charsperline/(every + 3))),
charsperline = 60, style=spatstat.options("progress"))
参数----------Arguments----------
参数:i
Integer. The current iteration number (from 1 to n).
整数。当前迭代次数(1n)。
参数:n
Integer. The (maximum) number of iterations to be computed.
整数。要计算的(最大)的迭代次数。
参数:every
Optional integer. The number of iterations between successive reports.
可选的整数。数之间反复连续的报告。
参数:nperline
Optional integer. The maximum number of reports to be printed per line of output.
可选的整数。报告的最大数目,要打印的每行的输出。
参数:charsperline
Optional integer. The number of characters in a line of output.
可选的整数。在一行输出的字符的数目。
参数:style
Character string determining the style of display. See Details.
字符串确定的显示风格。查看详细信息。
Details
详细信息----------Details----------
This is a convenient function for reporting progress during an iterative sequence of calculations or a suite of simulations.
这是一个方便的功能,在报告进度计算的迭代序列或一套模拟。
If style="txtbar" then txtProgressBar is used to represent progress as a bar made of text characters in the R interpreter window.
如果style="txtbar"txtProgressBar一间条形的R解释器窗口的文本字符是用来表示进度。
If style="tty", then progress reports are printed using cat. This only seems to work well under Linux.
如果style="tty",然后进度报告,印有使用cat。这似乎只在Linux下工作。
值----------Value----------
Null.
空。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>
实例----------Examples----------
for(i in 1:40) progressreport(i, 40)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|