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

R语言 sfsmisc包 capture.and.write()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:35:40 | 显示全部楼层 |阅读模式
capture.and.write(sfsmisc)
capture.and.write()所属R语言包:sfsmisc

                                        Capture output and Write / Print First and Last Parts
                                         捕捉输出和写/打印第一个和最后一个零件

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

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

Capture output and print first and last parts, eliding middle parts. P articularly useful for teaching purposes, and e.g., in Sweave
捕捉输出和打印第一个和最后一个部分,eliding中间部分。 P关节可作教学用途,例如,在Sweave


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


capture.and.write(EXPR, first, last = 2, middle = NA,
                  i.middle, dotdots = " ....... ", n.dots = 2)



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

参数:EXPR
the (literal) expression the output of which is to be captured.
(文字)的表达它的输出是被捕获。


参数:first
integer: how many lines should be printed at beginning.
整数:有多少行应在开始打印。


参数:last
integer: how many lines should be printed at the end.
整数:有多少行应印在最后。


参数:middle
numeric (or NA logical):
数字(或NA逻辑):


参数:i.middle
index start of middle part
指数的中间部分开始


参数:dotdots
string to be used for elided lines
字符串用于删节线


参数:n.dots
number of dotdots .... </table>
数量dotdots.... </ TABLE>


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

return value of writeLines
返回值writeLines


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



Martin Maechler


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-21 05:34 , Processed in 0.025280 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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