explain.frecuency_abs: Absolute Frecuency Calculus Explained

explain.absolute_frecuencyR Documentation

Absolute Frecuency Calculus Explained

Description

Step by step demonstration of the absolute frecuency calculus

Usage

explain.absolute_frecuency(v,x)

Arguments

v

Should be a vector

x

Should be a number

Details

To calculate the absolute frecuency, the user should give a vector and a number. We can saw the absolute frecuency formule in the frecuency_abs 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
Juan Jose Cuadrado, jjcg@uah.es
Universidad de Alcala de Henares

Examples

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

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