grouped_data: Summarise grouped data

Description Usage Arguments x_type

View source: R/haeufigkeiten.R

Description

Summarise grouped data

Usage

1
grouped_data(breaks, x, x_type = c("x", "h_j", "f_j"), n)

Arguments

breaks

A numeric vector with length n + 1 where n is the number of groups. Group i is the right-open interval [breaks[i], breaks[i + 1]). Group n is right-closed.

x

A numeric vector. See section x_type.

x_type

See section x_type.

n

Sample size (only used if x_type = "f_j")

x_type

Based on x_type the argument x is treated as follows:


DavidBarke/Stat1-Functions documentation built on Feb. 25, 2021, 2:56 p.m.