## User Defined Functions in R Part II

In this tutorial, you will learn about what is recursive function in R, how to write a recursive function, what is nested function, how to use the … argument to the function. You will also learn about the scoping rules for functions in R, local and global variables in R. Recursive function in R Recursive …

## User Defined Functions in R Part I

In this tutorial, you will learn about what is user-defined function in R and how to create user-defined function in R. You will also learn about how the function is evaluated in R. What are functions in R? For every programming language, functions are the building blocks. Basically, functions are used to incorporate set of …

## tapply function in R with examples

In this tutorial, we will discuss about tapply() function in R with some examples. tapply() function is available in base R package. The tapply() function in R The tapply() function is very useful to aggregate the data. That is tapply() function allows us to create a group summaries based on factor levels. The general syntax …

## Mean median mode calculator for grouped data

Mean, median and mode Mean, median, mode are the measures of central tendency. They are also known as averages. Averages are the measures which condense a huge set of numerical data into a single numerical value which is representative of the entire data. They give us an idea about the concentration of the values in …

## Function Arguments in Python

In this tutorial, I am going to discuss about Arguments and Parameters used for functions in python. We will also discuss about types of arguments and how to use them together. Arguments and Parameters We have discussed about arguments and parameters for functions while discussing about functions in python. Arguments are the values that are …

## Functions in Python

In this tutorial, I am going to discuss about functions in python, their importance and types of functions in python. We will also discuss user-defined functions in detail and scope and lifetime of variables in python. Functions in Python Until now, we have seen different kind of datatypes in python, different statements which are used …

## Harmonic mean using R with examples

In this tutorial, you will learn about what is harmonic mean, when harmonic mean is used and how to calculate harmonic mean in R. What is harmonic mean? Harmonic mean is a measure of central tendency. It is useful in finding the averages involving time, rate, price and ratio. Let $x_i, i=1,2, \cdots , n$ …

## Geometric mean using R with examples

In this tutorial, you will learn about what is geometric mean, when to use geometric mean and how to calculate geometric mean in R. What is geometric mean? Geometric mean is a measure of central tendency. It is useful in averaging rate of changes when ratio changes are more important that the absolute changes. Let …

## Moments coefficient of kurtosis using R with examples

In this tutorial, you will learn about what is moment coefficient of kurtosis and how to calculate moment coefficient of kurtosis in R. Moment Coefficient of Kurtosis The literal meaning of kurtosis is peakedness or flatness of the data. The kurtosis measures how peaked or how flat the histogram is relative to the bell-shaped histogram. …

## Moments coefficient of skewness using R with examples

In this tutorial, you will learn about what is moment coefficient of skewness and how to calculate moment coefficient of skewness in R. Moment Coefficient of Skewness Skewness is a measure of symmetry. The meaning of skewness is "lack of symmetry". Skewness gives us an idea about the concentration of higher or lower data values …