Skip to contents

The interval and class mark are defined and the absolute, cumulative and relative cumulative frequency is calculated in a table.

Usage

fn_freq(df, Imin, Imax, bin)

Arguments

df

A data frame

Imin

Minimum value to be defined for the x-axis

Imax

Maximum value to be defined for the x-axis

bin

A bin value to define the width of the class interval

Value

Table with the absolute, cumulative and relative cumulative frequency by interval and class mark.

Examples

  if (FALSE) {
    df <- tmp
    Imin <- 1
    Imax <- 30
    bin <- 1
    ejemplo <-  fn_freq(df, Imin, Imax, bin)
  }