Logical Operators in R

Logical Operators in R

In this tutorial you will learn about the logical operators in R with examples. Like most of the programming languages, R programming also has logical operators to perform Boolean operations. Logical Operators in R Following symbols are used as logical operators in R programming language: Operator Symbols Logical Operation Example ! Logical negation NOT ! …

Read more

sapply Function in R with Examples

sapply function in R

In this tutorial, we will discuss about sapply() function in R with some examples. sapply() function is available in base R package. sapply() function in R The sapply() function takes a vector, list or data frame, an index and a function (built-in or user-defined function) as inputs. The sapply() function is similar to lapply() function, …

Read more

lapply Function in R with Examples

lapply function in R

In this tutorial, we will discuss about lapply() function in R with some examples. lapply() function is available in base R package. lapply() function in R The lapply() function is the most popular function in R. The lapply() function takes a vector, list or data frame, a function (built-in or user-defined) as inputs and additional …

Read more

apply Function in R with Examples

apply function in R

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. …

Read more

Built-in Trigonometric functions in R

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 …

Read more

Built-in Special Mathematical Functions in R

Built-in special math 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 …

Read more

Built-in Mathematical Functions in R

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 …

Read more

Relational Operators in R

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 …

Read more

Cauchy Distribution Probabilities Using R

Cauchy Distribution Using R

Cauchy Distribution probabilities using R In this tutorial, you will learn about how to use dcauchy(), pcauchy(), qcauchy() and rcauchy() functions in R programming language to compute the individual probabilities, cumulative probabilities, quantiles and to generate random sample for Cauchy distribution. Before we discuss R functions for Cauchy distribution, let us see what is Cauchy …

Read more

Logistic Distribution Probabilities using R

Logistic Distribution Using R

Logistic Distribution probabilities using R In this tutorial, you will learn about how to use dlogis(), plogis(), qlogis() and rlogis() functions in R programming language to compute the individual probabilities, cumulative probabilities, quantiles and to generate random sample for Logistic distribution. Before we discuss R functions for Logistic distribution, let us see what is Logistic …

Read more