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

R for SAS and SPSS Users 下载

[复制链接]
发表于 2013-2-14 21:00:43 | 显示全部楼层 |阅读模式
目录
Introduction ..................................................................................................................................... 4
The Five Main Parts of SAS and SPSS ............................................................................................... 4
Typographic & Programming Conventions ..................................................................................... 5
Help and Documentation ................................................................................................................ 6
Graphical User Interfaces ................................................................................................................ 7
Easing Into R .................................................................................................................................... 7
A Few R Basics ................................................................................................................................. 7
Installing Add‐on Packages .............................................................................................................. 9
Data Acquisition ............................................................................................................................ 10
Example Text Files ..................................................................................................................... 10
The R Data Editor ...................................................................................................................... 10
Reading Delimited Text Files ..................................................................................................... 11
Reading Text Data within a Program (Datalines, Cards, Begin Data…) .................................... 13
Reading Fixed Width Text Files, 1 Record per Case .................................................................. 14
Reading Fixed Width Text Files, 2 Records per Case ................................................................. 15
Importing Data from SAS .......................................................................................................... 17
Importing Data from SPSS ......................................................................................................... 18
Exporting Data to SAS & SPSS Data Sets ................................................................................... 18
Selecting Variables and Observations ........................................................................................... 19
Selecting Variables – Var, Variables= ........................................................................................ 19
Selecting Observations – Where, If, Select If ............................................................................ 26
Selecting Both Variables and Observations .............................................................................. 32
Converting Data Structures ....................................................................................................... 32
Data Conversion Functions ....................................................................................................... 33
3
Data Management ......................................................................................................................... 33
Transforming Variables ............................................................................................................. 33
Conditional Transformations .................................................................................................... 36
Logical Operators .................................................................................................................. 36
Conditional Transformations to Assign Missing Values ............................................................ 38
Multiple Conditional Transformations ...................................................................................... 41
Renaming Variables (…and Observations) ................................................................................ 42
Recoding Variables .................................................................................................................... 45
Keeping and Dropping Variables ............................................................................................... 48
By or Split File Processing .......................................................................................................... 48
Stacking / Concatenating / Adding Data Sets ........................................................................... 50
Joining / Merging Data Frames ................................................................................................. 50
Aggregating or Summarizing Data ............................................................................................ 52
Reshaping Variables to Observations and Back ........................................................................ 55
Sorting Data Frames .................................................................................................................. 57
Value Labels or Formats (& Measurement Level) ......................................................................... 58
Variable Labels .............................................................................................................................. 63
Workspace Management .............................................................................................................. 65
Workspace Management Functions ......................................................................................... 66
Graphics ......................................................................................................................................... 67
Analysis .......................................................................................................................................... 71
Summary........................................................................................................................................ 78
Is R Harder to Use? ........................................................................................................................ 79
Conclusion ..................................................................................................................................... 80

下载:
R for SAS and SPSS Users.rar (419.1 KB, 下载次数: 0, 售价: 3 )

备注:
很多人都有收集一堆资料而不看的习惯。为了有效利用资源,养成下载一本看一本的习惯,特设置了积分下载,请见谅。
多参加论坛的活动、多帮助别人,会很容易凑够积分的!
祝大家使用愉快!
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-25 01:38 , Processed in 0.026665 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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