Skip to content

affinitymatrix

Estimation of Affinity Matrix

v0.1.0 · Nov 26, 2020 · GPL-3

Description

Tools to study sorting patterns in matching markets and to estimate the affinity matrix of both the bipartite one-to-one matching model without frictions and with Transferable Utility by 'Dupuy' and 'Galichon' (2014) <doi:10.1086/677191> and its 'unipartite' variant by 'Ciscato', 'Galichon' and 'Gousse' (2020) <doi:10.1086/704611>. It also contains all the necessary tools to implement the 'saliency' analysis, to run rank tests of the affinity matrix and to build tables and plots summarizing the findings.

Downloads

295

Last 30 days

13818th

923

Last 90 days

3.2K

Last year

Trend: +20.4% (30d vs prior 30d)

CRAN Check Status

14 NOTE
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 NOTE
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 NOTE
r-release-macos-x86_64 NOTE
r-release-windows-x86_64 NOTE
Check details (17 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-devel-linux-x86_64-debian-gcc

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^
checkRd: (-1) estimate.affinity.matrix.lowrank.Rd:36: Lost braces; missing escapes or markup?
    36 | \code{Y}, then those variables that appear in \code{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^

Check History

NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-devel-linux-x86_64-debian-gcc

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) estimate.affinity.matrix.Rd:31: Lost braces; missing escapes or markup?
    31 | than \code{Y}, then those variables that appear in \code{X} but no in {Y}
       |                                                                       ^

...[truncated]...
de{X} but no in {Y} should
       |                                                                  ^
checkRd: (-1) show.correlations.Rd:47: Lost braces
    47 | code{ndims} dimensions. Defaults to all dimensions unless the latter are
       |     ^

Dependency Network

Dependencies Reverse dependencies expm MASS Hmisc ggplot2 ggrepel affinitymatrix

Version History

new 0.1.0 Mar 10, 2026