{"id":1151,"date":"2020-08-04T08:44:34","date_gmt":"2020-08-04T00:44:34","guid":{"rendered":"http:\/\/cnliutz.uicp.io\/?p=1151"},"modified":"2020-08-04T08:44:34","modified_gmt":"2020-08-04T00:44:34","slug":"15-page-tutorial-for-r%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/g1n29wqq.ipyingshe.net:5347\/?p=1151","title":{"rendered":"15 Page Tutorial for R\u6559\u7a0b"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.studytrails.com\/r\/15-page-tutorial-for-r\/\"><time datetime=\"2016-08-16T01:05:17+00:00\">August 16, 2016<\/time><\/a><a href=\"https:\/\/www.studytrails.com\/author\/user\/\">Mithil Shah<\/a><\/p>\n\n\n\n<p>For Beginners in R, here is a 15 page example based tutorial that covers the basics of R.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/StartingR.jsp\">Starting R<\/a> \u2013 Trivial tutorial on how to start R for those just wondering what to do next after downloading R.<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/AssignmentOperator.jsp\">Assignment Operator<\/a> \u2013 Two important assignment operators in R are &lt;- and =<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/ListingObjects.jsp\">Listing Objects<\/a> \u2013 All entities in R are called objects. They can be arrays, numbers, strings, functions. This tutorial will cover topics such as listing all objects, listing object from a specific environment and listing objects that satisfy a particular pattern.<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/R_Command_From_A_Source_File.jsp\">Sourcing R File<\/a> \u2013 R code can also be written in a file and then the file can be called from the R code.<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/DataStructures_In_R.jsp\">Basic Datastructures in R<\/a> \u2013 Understanding data structures is probably the most important part of learning R. This tutorial covers vector and list. It also covers subsetting.<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/DataStructures_In_R_Matrix_vector.jsp\">Data Structures in R, Matrix and Array<\/a> \u2013 Covers matrix and vectors. An array is a vector with additional attributes dim which stores the dimension of the array and dimnames which stores the names of the dimensions. A matrix is an 2 dimensional array. Head to the tutorial for examples of both.<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/DataStructures_In_R_factors_data_frames.jsp\">Data Structures in R, factors and Data Frame<\/a> \u2013 DataFrames are probably the most widely used data structure. It would help to just go through the examples and practice them. The tutorial covers important operations on the data frame and factors as well as subsetting data frames.<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/DataStructures_In_R_Data_Frames_2_Operations.jsp\">Data Structures in R, Data Frame Operations<\/a> \u2013 Covers some more operations on the data frame; including stack, attach, with, within, transform, subset, reshape and merge<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/Control_Structures_R_Basics.jsp\">Control Structures in R<\/a> \u2013 The basics of any programming language. Control loops allow looping through data structures. The tutorial covers if, if-else, for, while, next, break, repeat and switch<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/Control_Structures_R_apply_functions.jsp\">Control Structures in R \u2013 apply<\/a> \u2013 To make looping more efficient R has introduced a family of \u2018apply\u2019 functions. For example \u2013 the apply function can be used apply a function over specific elements of an array (or matrix). The tutorial covers lapply, sapply, apply, tapply.<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/Control_Structures_R_apply_functions_2.jsp\">Control Structures in R \u2013 apply 2<\/a> \u2013 We continue with some more apply functions \u2013 mapply and by.<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/R_Functions.jsp\">Functions in R<\/a> \u2013 The nuts and bolts of any programming language. This tutorial not only explains the concept of functions using examples but also covers various scenarios such as anonymous functions or passing functions around.<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/R_Console_Printing.jsp\">Printing on Console in R<\/a> \u2013 Printing on console can come very handy. The tutorial covers the print and cat functions as well as printing data frames.<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/R_Print_Format.jsp\">Pretty printing using Format function in R<\/a> \u2013 This tutorial looks at how to use the formatting functions for pretty printing.<\/li><li><a href=\"http:\/\/www.studytrails.com\/R\/Core\/R_reshape_cast_melt.jsp\">Reshape and Reshape2 Package<\/a> \u2013 Once you start working on real life problems in R, a lot of time would be spent on manipulating data. Reshape and Reshape2 package will prove very powerful in converting data to the format required by other libraries. This tutorial has detailed examples to explain the package.<\/li><\/ol>\n\n\n\n<p>These tutorials are designed for beginners in R, but they can also be used by experienced programmers as a refresher course or as reference. Running loops in R can be slow and therefore the apply group of functions as well as the reshape package can drastically improve the performance of the code.<\/p>\n\n\n\n<p>We hope you enjoy the tutorials.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>August 16, 2016Mithil Shah For Beginners <span class=\"readmore\"><a href=\"http:\/\/g1n29wqq.ipyingshe.net:5347\/?p=1151\">Continue Reading<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-1151","post","type-post","status-publish","format-standard","hentry","category-r"],"_links":{"self":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/1151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1151"}],"version-history":[{"count":1,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/1151\/revisions"}],"predecessor-version":[{"id":1152,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/1151\/revisions\/1152"}],"wp:attachment":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1151"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}