设为首页收藏本站获取积分奖励

R语言中文网

 找回密码
 立即注册
查看: 629|回复: 0

R语言自动生成报告Stangle()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:14:55 | 显示全部楼层 |阅读模式
        R语言自动生成报告Stangle()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:Stangle()
R语言函数功能:自动生成报告
来自资源库:基础库(R语言自带)
Stangle()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。

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

Sweave provides a flexible framework for mixing text and R/S code for automatic report generation. The basic idea is to replace the code with its output, such that the final document only contains the text and the output of the statistical analysis: however, the source code can also be included.
Sweave提供了一个灵活的框架,用于混合文本和R / S代码以自动生成报告。基本思想是将代码替换为其输出,以便最终文档仅包含统计分析的文本和输出;但是,也可以包含源代码。


使用方法-----Usage-----

Sweave(file, driver = RweaveLatex(),
syntax = getOption("SweaveSyntax"), encoding = "", ...)
Stangle(file, driver = Rtangle(),
syntax = getOption("SweaveSyntax"), encoding = "", ...)

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

参数file介绍: Path to Sweave source file. Note that this can be supplied without the extension, but the function will only proceed if there is exactly one Sweave file in the directory whose basename matches file.
Sweave源文件的路径。请注意,可以在不提供扩展名的情况下提供此功能,但是仅当目录中恰好有一个Sweave文件的基本名称与file相匹配时,该功能才会继续执行。

参数driver介绍: the actual workhorse, (a function returning) a named list of five functions, see Details or the Sweave manual vignette.
实际的功能(返回的函数)是由五个函数命名的list,请参阅Details或Sweave手册小插图。

参数syntax介绍: NULL or an object of class SweaveSyntax or a character string with its name. See the section Syntax Definition .
NULL或SweaveSyntax类的对象或带有名称的字符串。请参阅部分Syntax Definition。

参数encoding介绍: The default encoding to assume for file.
file假定的默认编码。

参数...介绍: further arguments passed to the driver's setup function: see section Details , or specifically the arguments of the R...Setup() function in RweaveLatex and Rtangle, respectively.
传递给驱动程序设置函数的更多参数:请参见Details节,或分别参见RweaveLatex和Rtangle中的R...Setup()函数的参数。


详情-----Details-----

Automatic generation of reports by mixing word processing
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Archiver|R语言中文网    

GMT+8, 2024-5-20 22:26 , Processed in 0.033240 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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