Reads a file as a SAS XPORT format library and returns a list of data.frames.
作为SAS的XPORT格式库中读取一个文件和返回一个data.frames的列表。
用法----------Usage----------
read.xport(file)
参数----------Arguments----------
参数:file
character variable with the name of the file to read. The file must be in SAS XPORT format.
与该文件的名称改为字符变量。该文件必须是在SAS XPORT格式。
值----------Value----------
If there is a more than one dataset in the XPORT format library, a named list of data frames, otherwise a data frame. The columns of the data frames will be either numeric (corresponding to numeric in SAS) or factor (corresponding to character in SAS). All SAS numeric missing values (including special missing values represented by ._, .A to .Z by SAS) are mapped to R NA.
如果是在多个数据集的XPORT格式库,数据框的命名列表,否则一个数据框。列的数据框,将任一数字(对应数字在SAS)或因子(对应字符在SAS)。所有SAS数字遗漏值(包括特殊的失踪表示值._,.A.Z由SAS)映射到RNA。
Trailing blanks are removed from character columns before conversion to a factor. Some sources claim that character missing values in SAS are represented by ' ' or '': these are not treated as R missing values.
移除尾随空白字符列转换前的一个因素。一些消息来源声称,性格中缺少的SAS值' '或''表示:这些都是不为R缺失值处理。