R的统计分析与作图

上传人:d****y 文档编号:98028099 上传时间:2019-09-07 格式:DOCX 页数:322 大小:2.45MB
返回 下载 相关 举报
R的统计分析与作图_第1页
第1页 / 共322页
R的统计分析与作图_第2页
第2页 / 共322页
R的统计分析与作图_第3页
第3页 / 共322页
R的统计分析与作图_第4页
第4页 / 共322页
R的统计分析与作图_第5页
第5页 / 共322页
点击查看更多>>
资源描述

《R的统计分析与作图》由会员分享,可在线阅读,更多相关《R的统计分析与作图(322页珍藏版)》请在金锄头文库上搜索。

1、Using R forData Management,Statistical Analysis, and GraphicsNicholas J. HortonDepartment of Mathematics and Statistics Smith CollegeNorthampton, MassachusettsKen KleinmanDepartment of Population Medicine Harvard Medical School Boston, MassachusettsCRC PressTaylor & Francis Group6000 Broken Sound Pa

2、rkway NW, Suite 300 Boca Raton, FL 33487-2742 2011 by Taylor and Francis Group, LLCCRC Press 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 Bo

3、ok Number: 978-1-4398-2755-0 (Paperback)This book 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 c

4、onsequences of their use. The authors and publishers 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

5、 write and let us know so we may rectify in any 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 photocopyin

6、g, microfilming, and recording, or in any information 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),

7、 222 Rosewood Drive, Danvers, MA 01923, 978-750-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

8、 or corporate names may be trademarks or registered trademarks, and are used only for identification and explanation without intent to infringe.Library of Congress CataloginginPublication DataHorton, Nicholas J.Using R for data management, statistical analysis, and graphics / Nick Horton, Ken Kleinm

9、an.p. cm.Includes bibliographical references and index. ISBN 978-1-4398-2755-0 (pbk. : alk. paper)1. R (Computer program language) 2. Open-source software. 3. Database management. 4. Mathematical statistics-Data processing. I. Kleinman, Ken. II. Title.QA76.73.R3H67 2011519.502855133-dc222010021409Vi

10、sit the Taylor & Francis Web site at http:/and the CRC Press Web site at http:/ContentsList of TablesxviiList of FiguresxixPrefacexxi1 Introduction to R11.1 Installation21.1.1 Installation under Windows21.1.2 Installation under Mac OS X31.1.3 Installation under Linux41.2 Running R and sample session

11、41.2.1 Replicating examples from the book and sourcingcommands41.2.2 Batch mode61.3 Using the R Commander graphical interface71.4 Learning R and getting help81.5 Fundamental structures: Objects, classes, and related concepts . 10 1.5.1Objects and vectors101.5.2 Indexing101.5.3 Operators111.5.4 Lists

12、111.5.5 Matrices121.5.6 Dataframes131.5.7 Attributes and classes151.5.8 Options151.6 Built-in and user-defined functions151.6.1 Calling functions151.6.2 Writing functions161.6.3 The apply family of functions181.7 Add-ons: Libraries and packages181.7.1 Introduction to libraries and packages181.7.2 CR

13、AN task views19vviCONTENTS1.7.3 Installed libraries and packages201.7.4 Recommended packages211.7.5 Packages referenced in the book221.7.6 Datasets available with R241.8 Support and bugs242 Data management252.1 Input252.1.1 Native dataset252.1.2 Fixed format text files262.1.3 Other fixed files262.1.

14、4 Reading more complex text files262.1.5 Comma-separated value (CSV) files272.1.6 Reading datasets in other formats272.1.7 URL282.1.8 XML (extensible markup language)282.1.9 Data entry292.2 Output292.2.1 Save a native dataset292.2.2 Creating files for use by other packages292.2.3 Creating datasets i

15、n text format302.2.4 Creating HTML formatted output302.2.5 Creating XML datasets and output302.2.6 Displaying objects312.2.7 Displaying formatted output312.2.8 Number of digits to display322.2.9 Automating reproducible analysis and output322.3 Structure and meta-data322.3.1 Access variables from a dataset322.3.2 Names of variables and their types332.3.3 Rename variables in a dataset332.3.4 Add comment to a dataset or variable332.4 Derived v

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

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

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