Skip to content

Add warning if a variable name is repeated twice in match.on argument #34

@nielsenrich

Description

@nielsenrich

Roozbeh included the same variable twice in a long list of matching variables and got this unhelpful error message:
Calculating Mahalanobis distances...
Error in solve.default(cov(dataset[, matchVars])) :
Lapack routine dgesv: system is exactly singular: U[18,18] = 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions