4000-520-616
欢迎来到免疫在线!(蚂蚁淘生物旗下平台)  请登录 |  免费注册 |  询价篮
主营:原厂直采,平行进口,授权代理(蚂蚁淘为您服务)
咨询热线电话
4000-520-616
当前位置: 首页 > 新闻动态 >
新闻详情
R语言经典实例-iteye
来自 : www.iteye.com/resource/bkmuest 发布时间:2021-03-25
Copyright o 2011 Paul Teetor. All rights reservedPrinted in the United States of americaPublished by O Reilly Media, Inc, 1005 Gravenstein Highway North, Sebastopol, CA 95472O\'Reilly books may be purchased for educational, business, or sales promotional use. Online editionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformationcontactourcorporate/institutionalsalesdepartment:(800)998-9938orcorporate@oreilly.comEditor: Mike LoukidesIndexer: jay marchandProduction editor: Adam zarembaCover designer Karen montgomeryCopyeditor: Matt DarnellInterior Designer: David FutatoProofreader: Jennifer Knightllustrator: robert roPrinting histoMarch 2011t editionNutshell Handbook, the Nutshell Handbook logo, and the O\'Reilly logo are registered trademarks ofO\'Reilly Media, Inc. R Cookbook, the image of a harpy eagle, and related trade dress are trademarks ofO\'Reilly Media, IncMany of the designations used by manufacturers and sellers to distinguish their products are claimed asrademarks. Where those designations appear in this book, and O Reilly Media, Inc was aware of atrademark claim, the designations have been printed in caps or initial capsWhile every precaution has been taken in the preparation of this book, the publisher and authors assumeno responsibility for errors or omissions, or for damages resulting from the use of the information contained hereinISBN:978-0-596-80915-71299102737Table of contentsPreface1. Getting Started and Getting Help1.1 Downloading and Installing R1.2 Starting r1.3 Entering Commands1.4 Exiting from R1.5 Interrupting R1.6 Viewing the Supplied Documentation1.7 Getting Help on a Function1. 8 Searching the Supplied Documentation1. 9 Getting Help on a Package1.10 Searching the Web for help1. 11 Finding Relevant Functions and Packages1.12 Searching the Mailing Lists1.13 Submitting questions to the mailing lists2. Some basics2. 1 Printing Something2.2 Setting variables2. 3 Listing variables2.4 Deleting Variables2.5 Creating a Vector2.6 Computing Basic Statistics2.7 Creating Sequences2.8 Comparing vectors2.9 Selecting Vector Elements2.10 Performing Vector Arithmetic2. 11 Getting operator Precedence right2.12 Defining a Function2.13 Typing Less and Accomplishing More2. 14 Avoiding Some Common Mistakes3. Navigating the Software......................... 513. 1 Getting and Setting the Working Directory3.2 Saving your workspace3.3 Viewing Your Command History3.4 Saving the result of the Previous command3.5 Displaying the Search Path3.6 Accessing the Functions in a Package3.7 Accessing Built-in Datasets3.8 Viewing the list of Installed Packages3.9 Installing Packages from CRAN3.10 Setting a Default CRAN Mirror3.11 Suppressing the Startup Message3.12 Running a Script3. 13 Running a Batch Script3. 14 Getting and Setting Environment variables3.15 Locating the r home directory3.16 Customizing r4. Input and output…4.1 Entering Data from the Keyboard4.2 Printing Fewer Digits (or More Digits)4.3 Redirecting Output to a file4.4 Listing Files4.5 Dealing with“ Cannot Open File” in windows4.6 Reading Fixed-Width Records4.7 Reading Tabular Data Files4.8 Reading from CSV Files4.9 Writing to Csv files4.10 Reading tabular or CSV Data from the Web4.11 Reading Data from HTML Tables4.12 Reading Files with a Complex Structure4.13 Reading from MySQL Databases4.14 Saving and Transporting Objects5. Data structures5. 1 Appending data to a vector5.2 Inserting Data into a Vector5.3 Understanding the Recycling rule5.4 Creating a Factor( Categorical Variable)5.5 Combining Multiple Vectors into One Vector and a Factor5.6 Creating a listI Table of Contents5.7 Selecting List Elements by Position5.8 Selecting List Elements by Name5.9 Building a Name/Value Association List5.10 Removing an Element from a List5.11 Flatten a List into a Vector5.12 Removing null elements from a List5.13 Removing List Elements Using a Condition5. 14 Initializing a matrix5.15 Performing Matrix Operations5.16 Giving Descriptive Names to the Rows and Columns of a Matrix 1205.17 Selecting One Row or Column from a matrix5.18 Initializing a Data Frame from Column Data5.19 Initializing a Data Frame from Row Data5.20 Appending Rows to a Data Frame5.21 Preallocating a Data Frame5.22 Selecting Data Frame Columns by Position5.23 Selecting Data Frame Columns by name5.24 Selecting rows and Columns More easily5.25 Changing the Names of Data Frame Columns5.26 Editing a Data Frame5.27 Removing NAs from a Data Frame5.28 Excluding Columns by name5.29 Combining Two Data Frames5.30 Merging Data Frames by Common Column5.31 Accessing Data Frame Contents More Easily5.32 Converting One Atomic Value into Another5.33 Converting One Structured Data Type into Another6. Data transformations6. 1 Splitting a Vector into Groups6.2 Applying a Function to Each List Element6.3 Applying a Function to Every row6.4 Applying a function to Every Column6.5 Applying a Function to groups of data6.6 applying a Function to groups of rows6.7 Applying a Function to Parallel Vectors or Lists7. Strings and dates7.1 Getting the Length of a String7.2 Concatenating Strings7.3 Extracting Substrings7.4 Splitting a String according to a delimiter7.5 Replacing SubstringsTable of contents|ⅶi7.6 Seeing the Special characters in a String7.7 Generating All Pairwise Combinations of Strings7. 8 Getting the Current Date7.9 Converting a string into a date7.10 Converting a Date into a String7.11 Converting Year, Month, and Day into a Date7. 12 Getting the Julian Date7. 13 Extracting the Parts of a Date7. 14 Creating a Sequence of dates8. Probability.........8.1 Counting the Number of Combinations8.2 Generating Combinati8. 3 Generating Random Numbers8.4 Generating Reproducible Random Numbers8.5 Generating a Random Sample8.6 Generating Random Sequences8.7 Randomly Permuting a Vector8.8 Calculating Probabilities for Discrete Distributions8.9 Calculating Probabilities for Continuous Distributions8.10 Converting Probabilities to Quantiles8.11 Plotting a Density Function9. General statistics9.1 Summarizing your data9.2 Calculating relative frequencies9.3 Tabulating Factors and Creating Contingency Tables9.4 Testing Categorical Variables for Independence9.5 Calculating Quantiles(and Quartiles)of a Datasetng a Quantile9. 7 Converting data to z-scores9.8 Testing the Mean of a Sample(t Test)9.9 Forming a Confidence Interval for a Mean9.10 Forming a Confidence Interval for a Median9. 11 Testing a Sample proportion9 12 Forming a Confidence Interval for a Proportion9.13 Testing for normality9. 14 Testing for Runs9.15 Comparing the Means of Two Samples9.16 Comparing the locations of two samples nonparametrically9. 17 Testing a Correlation for Significanc9. 18 Testing Groups for Equal Proportions9 19 Performing Pairwise Comparisons Between Group Meansⅶ ii Table of Contents ...展开详情

本文链接: http://bkmresource.immuno-online.com/view-757962.html

发布于 : 2021-03-25 阅读(0)
公司介绍
联络我们
服务热线:4000-520-616
(限工作日9:00-18:00)
QQ :1570468124
手机:18915418616