harmonise_ids {Spectrum}R Documentation

harmonise_ids: works on a list of similarity matrices to add entries of NA where there are missing observations between views

Description

Simply adds a column and row of NA with the missing ID for data imputation. The similarity matrix requires row and column IDs present for this to work.

Usage

harmonise_ids(l)

Arguments

l

A list of similarity matrices: those to be harmonised.

Value

A list of harmonised similarity matrices.

Examples

h_test <- harmonise_ids(missl) 

[Package Spectrum version 1.1 Index]