## apply Function in R with Examples

In this tutorial, we will discuss about apply() function in R with some examples. The apply() function is available in base R package. apply() function in R The apply() function is the most popular function in R. The apply() function takes a matrix or array, an index and a function (built-in or user-defined) as inputs. …

## Built-in Trigonometric functions in R

Trigonometric functions are the part of built-in mathematical functions. All these functions are vectorised. In this tutorial you will learn some built-in trigonometric functions in R and how to use these trigonometric functions in R. Built-in Trigonometric functions Commonly used trigonometric functions in R are listed below: Function Operation Performed sin(x) sine value of x …

## Built-in Special Mathematical Functions in R

Along with other usual built-in mathematical functions, R programming language provides some special built-in mathematical functions. All these functions are vectorised. In this tutorial you will learn some built-in special mathematical functions in R and how to use these special mathematical functions in R. Built-in Special Mathematical Functions R provides some special mathematical functions related …

## Built-in Mathematical Functions in R

Like other programming languages, R programming language also has various built-in mathematical functions to perform mathematical calculations. All these functions are vectorised. In this tutorial you will learn what are the built-in mathematical functions in R and how to use mathematical functions in R. Built-in Mathematical Functions in R Some commonly used built-in mathematical functions …

## Relational Operators in R

In this tutorial you will learn about the Relational operators (also known as comparison operators) in R and how to use them. Like most of the programming languages, R programming also has relational operators to check the relationship between two operands. If the relation is true, then it returns the logical value TRUE; if the …

## Arithmetic Operators in R

In this tutorial you will learn about the arithmetic operators in R. Like most of the programming languages, R programming also has arithmetic operators to perform arithmetic operations. Arithmetic Operators in R Table below shows the list of symbols used as arithmetic operators in R programming language. All these arithmetic operators are binary operators, means …

## Lists in R

In this tutorial, you will learn about what is lists in R?, how to create list in R?, and how to access variable(s) and/or observation(s ) from a list? What is list in R? Lists are the more general class of data storage. Lists are generic vectors where each element can be any type of …

## Assignment Operators in R

In this tutorial, you will learn about the assignment operators in R programming language and how to use them. Assignment Operators in R An assignment operator is used to assign values or data to a named object to store the data. The basic assignment operator in R is <-, which is known as leftward assignment …

## Factors in R

In this tutorial you will learn about the how to create factor variables, ordered factor variables, factor variable from numerical data and generale factor levels in R. Factors in R In R factors are used for handling categorical variables (Nominal or Ordinal). Factors are the variables which take on finite number of different values. The …

## Data frames in R

In this tutorial, you will learn about what is data frame in R?, how to create data frame in R?, and how to access variable(s) and/or observation(s ) from a data frame? What is a Data Frame in R? In R language, a data frame is a primary data structure for handling tabular data sets …