RSiteSearch.function(RSiteSearch)
RSiteSearch.function()所属R语言包:RSiteSearch
Fast RSiteSearch
快速RSiteSearch
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Returns a data.frame from RSiteSearch(string, "function") which can be sorted and subsetted by user specifications and viewed in an HTML table.
返回RSiteSearch(string, "function")可以排序和子集的用户的规范和一个HTML表中查看数据框。
用法----------Usage----------
RSiteSearch.function(string, maxPages = 10, sort.=NULL,
quiet = FALSE, ...)
参数----------Arguments----------
参数:string
A character string. See RSiteSearch.
一个字符串。见RSiteSearch。
参数:maxPages
The maximum number of pages to download assuming 20 links per page.
假设每页20个链接的网页下载的最大数量。
参数:sort.
a character vector specifying how the data.frame returned should be sorted. Default = c('Count', 'MaxScore', 'TotalScore', 'Package', 'Score', 'Function') to sort descending on numerics and ascending on alphnumerics. Specifying sort. = c('c', 't', 'm') is equivalent to c('Count', 'TotalScore', 'MaxScore', 'Package', 'Score', 'Function').
指定的data.frame返回一个字符向量进行排序。默认目录为C(计数,MaxScore“,”TotalScore,包,分数,功能),以降序排序数字,且升高对alphnumerics。指定排序。 = C(C,T,M)是相当于C(“计数”,“TotalScore”,“MaxScore,包,分数,功能)。
参数:quiet
logical; if TRUE no output is printed to the console. The default FALSE displays a progress report with each page of matches.
逻辑,如果TRUE没有输出打印到控制台。默认FALSE比赛的每一页会显示进度报告。
参数:...
ignored
忽视
Details
详细信息----------Details----------
RSiteSearch.function searchs the help pages of packages covered by the RSiteSearch archives. To restrict the search to only packages installed locally, use help.search.
RSiteSearch.function的searchs的帮助页面的包RSiteSearch档案所涵盖的。要限制搜索只在本地安装的软件包,使用help.search。
1. Access the RSitSearch engine with string, restricting to "functions", storing Score, Package, Function, Date, Description, and Link in a data.frame.
1。访问RSitSearch发动机,string,限制“功能”,存储Score,Package,Function,Date,Description 和Link在一个data.frame。
2. Compute Count, MaxScore and TotalScore for each Package accessed. Combine them in a matrix PackageSummary.
2。计算Count,MaxScore和TotalScore为每一个Package访问。将它们组合在一个矩阵PackageSummary。
3. Sort PackageSummary in the order defined by the occurrance of c('Count', 'MaxScore', 'TotalScore', 'Package') in sort..
3。排序PackageSummary的发生规律的c(“计数”,“MaxScore,TotalScore”,“一揽子”)sort.定义的顺序。
4. Merge PackageSummary with the data.frame of search hits.
4。合并PackageSummarydata.frame的搜索点击量。
5. Sort the combined data.frame as defined by sort..
5。排序合并data.frame所定义的sort.。
6. Make the result have class c("RSiteSearch", "data.frame") and add attributes hits, summary, and call.
6。的结果有C类(“RSiteSearch”,“数据框”),并添加属性hits,summary和call。
7. Done.
7。完成。
值----------Value----------
an object with class c('RSiteSearch', 'data.frame') with columns and attributes as follows:
C类(RSiteSearch“,”数据框)的列和属性的对象如下:
<table summary="R valueblock"> <tr valign="top"><td>Columns</td> <td>
<table summary="R valueblock"> <tr valign="top"> <TD> Columns</ TD> <TD>
CountTotal number of hits downloaded in this package
CountTotal点击次数下载此程序包中
MaxScore maximum of the Score over all help pages selected within each Package. See Score below or the Namazu website (link below) for more information on how the score is determined.
MaxScore最大的Score所有帮助页面,选择在每个Package的。见Score或Namazu网站(以下链接)的更多信息,得分是如何确定的。
TotalScore sum of the Score over all help pages selected within each Package. See Score below or the Namazu website (link below) for more information on how the score is determined.
TotalScore的总和Score所有帮助页面,选择在每个Package。见Score或Namazu网站(以下链接)的更多信息,得分是如何确定的。
Package Name of the package containing a help page meeting the search criteria
包的包的名称包含符合搜寻条件的一个帮助页面
Function Name of the help page found that meets the indicated search criterion.
功能名称的帮助页面发现符合指定的搜索条件。
DateDate of the help page
的帮助页面DateDate的
Score Score returned by RSiteSearch, discussed in the Namazu website (link below).
分数分数返回RSiteSearch,讨论在Namazu网站的(下面的链接)。
DescriptionTitle of the help page
的帮助页面DescriptionTitle的
LinkUniversal Resource Locator (URL) for the help page
LinkUniversal资源定位器(URL)的帮助页
</td></tr>
</ TD> </ TR>
<tr valign="top"><td>Attributes</td> <td>
<tr valign="top"> <TD> Attributes </ TD> <TD>
hits an integer = total number of hits found by the search
打一个整数=总命中数通过搜索找到
PackageSummary a data.frame with one row for each package and columns Package, Count, MaxScore, TotalScore, and Date, sorted as in the sort. argument.
PackageSummary数据框带有一个行的每个程序包和列Package,Count,MaxScore,TotalScore和Date,排序在sort.参数。
string the string argument in the call.
字符串的string参数中的call。
callthe matched call
callthe匹配的呼叫
</td></tr> </table>
</ TD> </ TR> </ TABLE>
(作者)----------Author(s)----------
Spencer Graves and Sundar Dorai-Raj
参考文献----------References----------
http://www.namazu.org/doc/tips.html.en#weight - reference on determining <code>Score</code>
参见----------See Also----------
help.search to search only installed packages. RSiteSearch, download.file http://finzi.psych.upenn.edu/search.html for a web interface to this same search capability with more general options. This function searches only "Target: Functions" from that site, ignoring the R-help arcihves.
help.search只搜索已安装的软件包。 RSiteSearch,download.file http://finzi.psych.upenn.edu/search.html一个网络接口,以同样的搜索能力与更普遍的选择。此功能只搜索“目标:函数从该网站上,而忽略的R帮助arcihves的。
http://www.r-project.org/search.html for a list of alternative R search capabilities, each of which may be best for different types of inquiries.
http://www.r-project.org/search.html一个备选方案R的搜索功能,其中每一个可能是最适合不同类型的查询列表。
实例----------Examples----------
z <- RSiteSearch.function("spline", maxPages = 2)
str(z)
# To search for 2 terms, not necessarily together:[要搜索2项,不一定是共同的:]
RSS <- RSiteSearch.function('RSiteSearch function', 1)
str(RSS)
# To search for an exact string, use braces:[要搜索一个确切的字符串,使用大括号:]
RSS. <- RSiteSearch.function('{RSiteSearch function}', 1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|