mob_mat: A mobility matrix

View source: R/mobility.R

mob_matR Documentation

A mobility matrix

Description

This function a mobility matrix for two-dimensional data.

Usage

mob_mat(x1, x2, w, Q1 = NULL, Q2 = NULL, q = 5, labels = FALSE)

Arguments

x1

A vector of income data

x2

A vector of income data

w

A vector of weights

Q1

Vector of cut offs to be applied to x1

Q2

Vector of cut offs to be applied to x2

q

Number of classes

data

A data frame in which to look for the data

na.rm

A logical, indicating whether or not to remove NAs

index

An inequality index.

Value

A list including the conditional and unconditional matrices (EDIT).

Author(s)

Markus Jantti markus.jantti@iki.fi

References

Cite something suitable. (EDIT)


mjantti/incdist documentation built on Aug. 23, 2023, 5:33 p.m.