toString.sig(sig)
toString.sig()所属R语言包:sig
Print a sig object
打印信号对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Prints a function signature object.
打印函数签名对象。
用法----------Usage----------
## S3 method for class 'sig'
toString(x, width = getOption("width"),
exdent = nchar(x$name), ...)
## S3 method for class 'sig'
print(x, width = getOption("width"),
exdent = nchar(x$name), ...)
参数----------Arguments----------
参数:x
An object of class sig.
信号的类的对象。
参数:width
Width of string to display.
显示的字符串宽度。
参数:exdent
Non-negative integer specifying the indentation of subsequent lines in the string.
非负整数,指定的字符串后续行缩进。
参数:...
Passed to toString
传递toString的
值----------Value----------
toString creates a string representation of a function signature. print is mostly invoked for the side effect of printing a function signature,invisibly returning its input.
toString创建一个函数签名的字符串表示形式。 print主要调用打印功能签名的副作用的,无形地返回其输入。
实例----------Examples----------
spd <- sig(print.default)
print(spd)
print(spd, width = 40)
print(spd, width = 40, exdent = 2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|