Learn R Programming

MAINT.Data (version 2.4.1)

AgrMcDt: Agregate Micro Data

Description

AgrMcDt creates '>IData objects by agregating a Data Frame of Micro Data.

Usage

AgrMcDt(MicDtDF, agrby, agrcrt="minmax")

Arguments

MicDtDF

A data frame with the original values of the micro data.

agrby

A factor with categories on which the micro data should be agregated.

agrcrt

The agregation criterion. Either the ‘minmax’ string, or a two dimensional vecto with the prob. value for the left (lower) percentile, followed by the prob. value for the right (upper) percentile, used in the agregation.

Value

An object of class '>IData with the data set of Interval-valued variables resulting from the agregation performed.

See Also

'>IData