# explain.frecuency_relative: Relative Frecuency Calculus Explained In LearningRlab: Statistical Learning Functions

 explain.relative_frecuency R Documentation

## Relative Frecuency Calculus Explained

### Description

Step by step demonstration of the relative frecuency calculus

### Usage

explain.relative_frecuency(v,x)

### Arguments

 v Should be a vector x Should be a number

### Details

To calculate the relative frecuency, the user should give a vector and a number. We can saw the relative frecuency formule in the frecuency_relative help document.

### Value

A demonstration of the calculus process

### Note

A vector is created by c(), like c(1,2,3,4,5) creates a vector with the numbers: 1,2,3,4,5

### Author(s)

Dennis Monheimius, dennis.monhemimius@edu.uah.es
Eduardo Benito, eduardo.benito@edu.uah.es

### Examples

{
#data creation
data <- c(1,2,2,5,10,4,2)
value = 2
#function execution
explain.relative_frecuency(data, value)
}

LearningRlab documentation built on June 18, 2022, 1:06 a.m.