Friday , December 6 2024

R Programming

R DataFrame

15 R DataFrame R Tutorials by : Er Karan Arora : Founder & CEO – ITRONIX SOLUTIONS Data Frames Data Frames are data displayed in a format as a table. Data Frames can have different types of data inside it. While the first column can be character, the second and …

Read More »

Cat Paste Functions

14 Cat Paste Function R Tutorials by : Er Karan Arora : Founder & CEO – ITRONIX SOLUTIONS 1: Cat function in R cat function in R will combine character values and print them to the screen or save them in a file directly. The cat function coerces its arguments …

Read More »

Matrices

12 Matrices R Tutorials by : Er Karan Arora : Founder & CEO – ITRONIX SOLUTIONS Syntax The basic syntax for creating a matrix in R is − matrix(data, nrow, ncol, byrow, dimnames) Following is the description of the parameters used − data is the input vector which becomes the …

Read More »

List

11 List R Tutorials by : Er Karan Arora : Founder & CEO – ITRONIX SOLUTIONS List is a data structure having components of mixed data types. A vector having all elements of the same type is called atomic vector but a vector having elements of different type is called …

Read More »

Vector

10 Vector R Tutorials by : Er Karan Arora : Founder & CEO – ITRONIX SOLUTIONS Vectors in R Vector is a basic data structure in R. It contains element of the same type. The data types can be logical, integer, double, character, complex or raw. A vector’s type can …

Read More »

String

09 String R Tutorials by : Er Karan Arora : Founder & CEO – ITRONIX SOLUTIONS String : Any value written within a pair of single quote or double quotes in R is treated as a string. Internally R stores every string within double quotes, even when you create them …

Read More »

Functions

08 Functions R Tutorials by : Er Karan Arora : Founder & CEO – ITRONIX SOLUTIONS Functions in R : Types of Functions in R Function with No Argument, No Return Value Function with No Argument, With Return Value Function with Argument, No Return Value Function with Argument, With Return …

Read More »

Looping Statement

07 Looping Statement R Tutorials by : Er Karan Arora : Founder & CEO – ITRONIX SOLUTIONS R programming language provides the following kinds of loop to handle looping requirements. for loop Like a while statement, except that it tests the condition at the end of the loop body. while …

Read More »

Decision Making

06 Decision making R Tutorials by : Er Karan Arora : Founder & CEO – ITRONIX SOLUTIONS Decision Making Statements in R Language: There are the following variants of if statement in R language. If Statement If-else Statement Multiple if Statement If else-if ladder Nested if statement Switch statement In …

Read More »

Operators

05 Operators R Tutorials by : Er Karan Arora : Founder & CEO – ITRONIX SOLUTIONS Operators in R An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. R language is rich in built-in operators and provides following types of operators. Types of …

Read More »