SAS与R的数据管理与可视化

上传人:d****y 文档编号:98029674 上传时间:2019-09-07 格式:DOCX 页数:510 大小:2.49MB
返回 下载 相关 举报
SAS与R的数据管理与可视化_第1页
第1页 / 共510页
SAS与R的数据管理与可视化_第2页
第2页 / 共510页
SAS与R的数据管理与可视化_第3页
第3页 / 共510页
SAS与R的数据管理与可视化_第4页
第4页 / 共510页
SAS与R的数据管理与可视化_第5页
第5页 / 共510页
点击查看更多>>
资源描述

《SAS与R的数据管理与可视化》由会员分享,可在线阅读,更多相关《SAS与R的数据管理与可视化(510页珍藏版)》请在金锄头文库上搜索。

1、SASRandData Management, Statistical Analysis, and Graphics 2010 by Taylor and Francis Group, LLCSASRandData Management, Statistical Analysis, and GraphicsKen Kleinman Nicholas J. HortonChapman & Hall/CRC Taylor & Francis Group6000 Broken Sound Parkway NW, Suite 300 Boca Raton, FL 33487-2742 2010 by

2、Taylor and Francis Group, LLCChapman & Hall/CRC is an imprint of Taylor & Francis Group, an Informa business No claim to original U.S. Government worksPrinted in the United States of America on acid-free paper 10 9 8 7 6 5 4 3 2 1International Standard Book Number: 978-1-4200-7057-6 (Hardback)This b

3、ook contains information obtained from authentic and highly regarded sources. Reasonable efforts have been made to publish reliable data and information, but the author and publisher cannot assume responsibility for the validity of all materials or the consequences of their use. The authors and publ

4、ishers have attempted to trace the copyright holders of all material reproduced in this publication and apologize to copyright holders if permission to publish in this form has not been obtained. If any copyright material has not been acknowledged please write and let us know so we may rectify in an

5、y future reprint.Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmit- ted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying, microfilming, and recording, or in any info

6、rmation storage or retrieval system, without written permission from the publishers.For permission to photocopy or use material electronically from this work, please access www.copyright. com (http:/ or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive, Danvers, MA 01923, 978-75

7、0-8400. CCC is a not-for-profit organization that provides licenses and registration for a variety of users. For organizations that have been granted a photocopy license by the CCC, a separate system of payment has been arranged.Trademark Notice: Product or corporate names may be trademarks or regis

8、tered trademarks, and are used only for identification and explanation without intent to infringe.Library of Congress Cataloging-in-Publication DataKleinman, Ken.SAS and R : data management, statistical analysis, and graphics / Ken Kleinman and Nicholas J. Horton.p. cm.Includes bibliographical refer

9、ences and index. ISBN 978-1-4200-7057-6 (hard back : alk. paper)1. SAS (Computer program language) 2. R (Computer program language) 3. SAS (Computer file) I. Horton, Nicholas J. II. SAS Institute. III. Title.QA76.73.S27K54 2010005.3-dc222009020819 2010 by Taylor and Francis Group, LLCContentsList of

10、 FiguresxiiiList of TablesxvPrefacexvii1 Data management11.1 Input11.1.1 Native dataset11.1.2 Fixed format text les21.1.3 Reading more complex text les31.1.4 Comma separated value (CSV) les41.1.5 Reading datasets in other formats41.1.6 URL51.1.7 XML (extensible markup language)61.1.8 Data entry71.2

11、Output71.2.1 Save a native dataset71.2.2 Creating les for use by other packages81.2.3 Creating datasets in text format91.2.4 Displaying data91.2.5 Number of digits to display101.2.6 Creating HTML formatted output101.2.7 Creating XML datasets and output111.3 Structure and meta-data111.3.1 Access vari

12、ables from a dataset111.3.2 Names of variables and their types121.3.3 Values of variables in a dataset121.3.4 Rename variables in a dataset121.3.5 Add comment to a dataset or variable131.4 Derived variables and data manipulation131.4.1 Create string variables from numeric variables131.4.2 Create num

13、eric variables from string variables141.4.3 Extract characters from string variables141.4.4 Length of string variables151.4.5 Concatenate string variables151.4.6 Find strings within string variables151.4.7 Remove spaces around string variables161.4.8 Upper to lower case16v 2010 by Taylor and Francis

14、 Group, LLCviCONTENTS1.4.9 Create categorical variables from continuous variables171.4.10 Recode a categorical variable171.4.11 Create a categorical variable using logic181.4.12 Formatting values of variables181.4.13 Label variables191.4.14 Account for missing values191.4.15 Observation number211.4.

15、16 Unique values221.4.17 Lagged variable221.4.18 SQL231.4.19 Perl interface231.5 Merging, combining, and subsetting datasets231.5.1 Subsetting observations231.5.2 Random sample of a dataset241.5.3 Convert from wide to long (tall) format251.5.4 Convert from long (tall) to wide format261.5.5 Concatenate datasets261.5.6 Sort

展开阅读全文
相关资源
相关搜索

当前位置:首页 > IT计算机/网络 > 数据库

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号