May 12, 2021 00:00 0 Comment R language tutorial
The evolution of R, The evolution of R, The characteristics of R, The R, language, is the programming language and software environment for statistical analysis, graphical display, and reporting. R, Language was, cre
May 12, 2021 00:00 0 Comment R language tutorial
Try an online environment, Try an online environment, Local environment settings, Try an online environment, You really don't need to set up your own environment to start learning the R programming language. T, he reason is simple:
May 12, 2021 00:00 0 Comment R language tutorial
Command prompt, Command prompt, The script file, Comments, We'll start learning, the R, language programming, starting with a "Hello, World!" p, rogram. D, epending on your, needs, you, can program at the R co
May 12, 2021 01:00 0 Comment R language tutorial
Vectors vector, Vectors vector, List of lists, Matrices matrix, Array array, Factors factor, Data Frames data frames, In general, when programming in any programming language, you need to use a variety of variables to store a variety of information. V, ariables are si
May 12, 2021 01:00 0 Comment R language tutorial
Variable assignment, Variable assignment, The data type of the variable, Look for variables, Delete the variable, Variables give us a named store that our program can operate. V, ariables in the R language can store combinations of atomic vectors, atomic vector gr
May 12, 2021 01:00 0 Comment R language tutorial
The type of operator, The type of operator, Arithmetic operator, The relationship operator, The logical operator, The assignment operator, Other operators, An operator is a symbol that tells the compiler to perform specific mathematical or logical operations. T, he R language has a wealth of built-in oper
May 12, 2021 01:00 0 Comment R language tutorial
R language decision, The decision structure requires the programmer to specify one or more conditions to evaluate or test by the program, and one or more statements to exe
May 12, 2021 01:00 0 Comment R language tutorial
Check the packages that are available in the R language, Check the packages that are available in the R language, Gets a list of all packages that have been installed, Install a new package, Load the package into the library, The package for the R language is a collection of R functions, compiled code, and sample data. T, hey are stored in a directory called "library" in th
May 12, 2021 01:00 0 Comment R language tutorial
Loop control statements, Loop control statements, There may be a situation when you need to execute a piece of code several times. T, ypically, statements are executed sequentially. T, he first statem
May 12, 2021 01:00 0 Comment R language tutorial
Add columns and rows to the data frame, Add columns and rows to the data frame, Merge data frames, Data, remodeling, in the R language is about changing the way data is organized into rows and columns. M, ost of the time, data processing, in the R l
May 12, 2021 01:00 0 Comment R language tutorial
The function definition, The function definition, The function component, Built-in features, A user-defined function, Call the function, A function is a set of statements that are grouped together to perform a specific task. T, he R, language has, a large number of built-in functions th
May 12, 2021 01:00 0 Comment R language tutorial
Rules applied in string construction, Rules applied in string construction, String operation, Any value written in a single or double quote pair in the R language is considered a string. E, ach string stored in the R language is in double quote
May 12, 2021 01:00 0 Comment R language tutorial
Create a vector, Create a vector, Access vector elements, Vector operation, Vectors are the most basic R language data objects, with six types of atomic vectors. T, hey are logical, integer, double, complex, character, and ori
May 12, 2021 02:00 0 Comment R language tutorial
Create a list, Create a list, Name the list element, Access list elements, Manipulating list elements, Merge the list, Convert the list to a vector, A list is an R-language object that contains different types of elements, such as numbers, strings, vectors, and another list there. A, list can also
May 12, 2021 02:00 0 Comment R language tutorial
Grammar, Grammar, Cases, Access the elements of the matrix, Matrix calculations, A matrix is an R object in which elements are laid out in a two-dimensional rectangle. T, hey contain elements of the same atomic type. A, lthough we