Learn R Programming

Spectrum (version 1.1)

harmonise_ids: 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

Run this code
# NOT RUN {
h_test <- harmonise_ids(missl) 
# }

Run the code above in your browser using DataLab