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

R语言中文网

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

R语言搜索帮助系统??()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:20:13 | 显示全部楼层 |阅读模式
        R语言搜索帮助系统??()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:??()
R语言函数功能:搜索帮助系统
来自资源库:基础库(R语言自带)
??()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。

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

Allows for searching the help system for documentation matching a given character string in the (file) name, alias, title, concept or keyword entries (or any combination thereof), using either fuzzy matching or regular expression matching. Names and titles of the matched help entries are displayed nicely formatted.
允许使用模糊匹配或正则表达式匹配在帮助系统中搜索与(文件)名称,别名,标题,概念或关键字条目(或其任意组合)中的给定字符串匹配的文档。匹配的帮助条目的名称和标题会很好地显示。

Vignette names, titles and keywords and demo names and titles may also be searched.
插图名称,标题和关键字以及演示名称和标题也可以进行搜索。


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

help.search(pattern, fields = c("alias", "concept", "title"),
apropos, keyword, whatis, ignore.case = TRUE,
package = NULL, lib.loc = NULL,
help.db = getOption("help.db"),
verbose = getOption("verbose"),
rebuild = FALSE, agrep = NULL, use_UTF8 = FALSE,
types = getOption("help.search.types"))
??pattern
field??pattern

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

参数pattern介绍: a character string to be matched in the specified fields. If this is given, the arguments apropos, keyword, and whatis are ignored.
在指定字段中要匹配的字符串。如果提供了此参数,则忽略参数aproposc,keyword和whatis。

参数fields介绍: a character vector specifying the fields of the help database to be searched. The entries must be abbreviations of "name", "title", "alias", "concept", and "keyword", corresponding to the help page's (file) name, its title, the topics and concepts it provides documentation for, and the keywords it can be classified to. See below for details and how vignettes and demos are searched.
一个字符向量,指定要搜索的帮助数据库的字段。这些条目必须是"name","title","alias","concept"cc和"keyword"的缩写,与帮助页面的(文件)名称,标题,为其提供文档的主题和概念以及可以分类的关键字相对应。有关详细信息以及如何搜索渐晕和演示,请参见下文。

参数apropos介绍: a character string to be matched in the help page topics and title.
帮助页面主题和标题中要匹配的字符串。

参数keyword介绍: a character string to be matched in the help page keywords . Keywords are really categories: the standard categories are listed in file <code>R.home("doc")/KEYWORDS</code> (see also the example) and some package writers have defined their own. If keyword is specified, agrep defaults to FALSE.
帮助页面中要匹配的字符串keywords。 Keywords确实是类别:标准类别在文件<code>R.home("doc")/KEYWORDS </ code>中列出(另请参见示例),一些包编写者定义了自己的类别。如果指定了keyword,则agrep默认为FALSE。

参数whatis介绍: a character string to be matched in the help page topics.
帮助页面主题中要匹配的字符串。

参数ignore.case介绍: a logical. If TRUE, case is ignored during matching; if FALSE, pattern matching is case sensitive.
逻辑上的。如果为TRUE,则匹配时忽略大小写;否则为false。如果为FALSE,则模式匹配区分大小写。

参数package介绍: a character vector with the names of packages to search through, or NULL in which case all available packages in the library trees specified by lib.loc are searched.
具有要搜索的软件包名称的字符向量,或NULL,在这种情况下,搜索lib.loc指定的库树中的all可用软件包。

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-29 00:06 , Processed in 0.028057 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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