R语言数据读写操作指南.pdfVIP

  • 1
  • 0
  • 约7.12千字
  • 约 17页
  • 2026-09-22 发布于北京
  • 举报

ReadingandWritingDataPartI

RogerD.Peng,AssociateProfessorofBiostatistics

JohnsHopkinsBloombergSchoolofPublicHealth

数据

有几种主要函数可以将数据读入R。

·read.table,

read.csv,

用于表格数据

·readLines,

用于文本文件中的行

·source,

用于R代码文件(dump的逆操作)

·dget,

用于R代码文件(dput的逆操作)

·load,

用于保存的工作区

·unserialize,用于以二进制形式单个R对象

2/9

ReadingData

ThereareafewprincipalfunctionsreadingdataintoR.

·read.table,read.csv,forreadingtabulardata

·readLines,forreadinglinesofatextfile

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档