maDotsMatch(marray)
maDotsMatch()所属R语言包:marray
Replace default arguments of a function by user supplied values
由用户提供的值替换一个函数的默认参数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function may be used to replace default arguements for any
此功能可以用来取代任何默认arguements
用法----------Usage----------
maDotsMatch(dots, defaults)
参数----------Arguments----------
参数:dots
List of user supplied argements, e.g. from list(...).
用户列表提供argements,例如list(...)。
参数:defaults
List of formal arguments of a function, e.g. from the function formals.
正式参数的功能,例如名单从功能formals。
值----------Value----------
参数:args
List of argument of a function.
函数的参数列表。
作者(S)----------Author(s)----------
Jean Yee Hwa Yang
参见----------See Also----------
maDefaultPar, maDotsDefaults
maDefaultPar,maDotsDefaults
举例----------Examples----------
dots<-list(x=1:10, y=11:20)
argsfun <- maDotsMatch(dots, formals(args(plot)))
do.call("plot", argsfun)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|