Indexed Data Frames

Provides extended data frames, with a special data frame column which contains two indexes, with potentially a nesting structure.


Overview

dfidx is a small R package which is intended to deal efficiently with data frames when each observation is identified by a combination of values of two variables (indexes). dfidx exports the function dfidx which takes as main argument a data frame and returns a dfidx object and the idx/idx_name functions which respectively return one or all of the indexes and their names. Methods are provided for R's extractors.

Installation

dfidx is on CRAN. Use : install.packages("dfidx").

To install the developping version, use : remotes::install_github("ycroissant/dfidx").

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dfidx")

0.2-0 by Yves Croissant, a year ago


https://cran.r-project.org/package=dfidx


Browse source code at https://github.com/cran/dfidx


Authors: Yves Croissant [aut, cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Formula, Rdpack

Suggests knitr, quarto, tinytest


Imported by ExactMed, Ravages, glm.predict, idefix, micsr, mlogit, multpois, pleLMA, seqimpute, tidydfidx.

Depended on by clusterSEs.

Suggested by DCEtool, WeightIt, discrtr, ggeffects, gofcat, marginaleffects.


See at CRAN