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

R语言中文网

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

R语言数据集print.packageIQR()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:10:12 | 显示全部楼层 |阅读模式
        R语言数据集print.packageIQR()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

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

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

Loads specified data sets, or list the available data sets.
加载指定的数据集,或列出可用的数据集。


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

data(..., list = character(), package = NULL, lib.loc = NULL,
verbose = getOption("verbose"), envir = .GlobalEnv,
overwrite = TRUE)

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

参数...介绍: literal character strings or names.
文字字符串或名称。

参数list介绍: a character vector.
字符向量。

参数package介绍: a character vector giving the package(s) to look in for data sets, or NULL.
字符向量,用于向程序包查找数据集或NULL。

By default, all packages in the search path are used, then the <code>data</code> subdirectory (if present) of the current working directory.
默认情况下,将使用搜索路径中的所有软件包,然后使用当前工作目录的<code>data </ code>子目录(如果存在)。

参数lib.loc介绍: a character vector of directory names of R libraries, or NULL. The default value of NULL corresponds to all libraries currently known.
R库或NULL目录名称的字符向量。 NULLc的默认值对应于当前已知的所有库。

参数verbose介绍: a logical. If TRUE, additional diagnostics are printed.
逻辑上的。如果是TRUE,则会打印其他诊断信息。

参数envir介绍: the environment where the data should be loaded.
应该加载数据的环境。

参数overwrite介绍: logical: should existing objects of the same name in envir be replaced?
逻辑:是否应替换envir中同名的现有对象?


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

Currently, four formats of data files are supported:
当前,支持四种格式的数据文件:

files ending <code>.R</code> or <code>.r</code> are source()d in, with the R working directory changed temporarily to the directory containing the respective file. (data ensures that the utils package is attached, in case it had been run via utils::data.)
以<code>.R </ code>或<code>.rc </ code>结尾的文件进入了source()d,并且R工作目录临时更改为包含相应文件的目录。 (如果已运行via utils::data,则data确保已连接utils程序包。)

files ending <code>.RData</code> or <code>.rda</code> are load()ed.
以<code>.RData或<code>.rda </ code>结尾的文件为load()cced。

files ending <code>.tab</code> , <code>.txt</code> or <code>.TXT</code> are read using read.table(..., header = TRUE, as.is=FALSE), and hence result in a data frame.
使用read.table(..., header = TRUE, as.is=FALSE)读取以<code>.tab </ code>,<code>.txt </ code>或<code>.TXT </ code>结尾的文件,因此会导致数据帧。

files ending <code>.csv</code> or <code>.CSV</code> are read using read.table(..., header = TRUE, sep = ";", as.is=FALSE), and also result in a data frame.
使用read.table(..., header = TRUE, sep = ";", as.is=FALSE)读取以<code>.csv </ code>或<code>.CSV </ code>结尾的文件,并且还会导致数据帧。

If more than one matching file name is found, the first on this list is used. (Files with extensions <code>.txt</code> , <code>.tab</code> or <code>.csv</code> can be compressed, with or without further extension <code>.gz</code> , <code>.bz2</code> or <code>.xz</code> .)
如果找到多个匹配文件名,则使用此列表中的第一个。 (扩展名为<code>.txtc </ code>,<code>.tab </ code>或<code>.csv </ code>的文件可以压缩,带有或不带有进一步扩展名<code>.gz </ code>,<code>.bz2 </ code>或<code>.xz </ code>)。

The data sets to be loaded can be specified as a set of character strings or names, or as the character vector list, or as both.
可以将要加载的数据集指定为一组字符串或名称,或者指定为字符向量list,或者同时指定为这两种。

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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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