Learn R Programming

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 and for some of dplyr's verbs.

Installation

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

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

Copy Link

Version

Install

install.packages('dfidx')

Monthly Downloads

8,122

Version

0.1-0

License

GPL (>= 2)

Maintainer

Yves Croissant

Last Published

August 22nd, 2024

Functions in dfidx (0.1-0)

dfidx

Data frames with indexes
reexports

Objects exported from other packages
unfold_idx

Fold and Unfold a dfidx object
model.frame.dfidx

model.frame/matrix for dfidx objects
methods.dfidx

Methods for dfidx
dplyr

Methods for dplyr verbs
idx

Index for dfidx
idx_name

Get the names of the indexes
munnell

Productivity in the United States