

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A comprehensive overview of the fundamental concepts and features of the r programming language and the rstudio integrated development environment (ide). It covers topics such as the r console, running code, working with objects and data structures, logical operators, functions, and error handling. The document also discusses r packages, which extend the functionality of r, and introduces several useful functions for data exploration and visualization. By studying this document, students can gain a solid understanding of the basic tools and techniques required to start working with r and rstudio, which are widely used in various fields of data analysis, statistical modeling, and scientific computing.
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!


a programming language that runs computations while RStudio is an integrated development environment (IDE) that provides an interface by adding many convenient features and tools. - Answer✔✔R Where you enter in commands. - Answer✔✔Console The act of telling R to perform an act by giving it commands in the console. - Answer✔✔Running code Where values are saved in R. We'll show you how to assign values to objects and how to display the contents of objects. - Answer✔✔Objects A series of values. These are created using the c() function, where c() stands for "combine" or "concatenate." For example: c(6, 11, 13, 31, 90, 92). - Answer✔✔Vectors Categorical data are represented in R as factors. - Answer✔✔Factors like rectangular spreadsheets: they are representations of datasets in R where the rows correspond to observations and the columns correspond to variables that describe the observations. - Answer✔✔Data Frames TRUE/FALSE statements and mathematical operators such as < (less than), <= (less than or equal), and != (not equal to). - Answer✔✔Boolean Algebra & representing "and" as well as | representing "or." Ex: (2 + 1 == 3) & (2 + 1 == 4) returns FALSE since both clauses are not TRUE (only the first clause is TRUE). On the other hand, (2 + 1 == 3) | (2 + 1 == 4) returns TRUE since at least one of the two clauses is TRUE. - Answer✔✔Logical operators:
perform tasks in R. They take in inputs called arguments and return outputs. You can either manually specify a function's arguments or use the function's default values. - Answer✔✔Functions, (also called Commands)