show.cross.validation {affinitymatrix}R Documentation

Print cross validation summary

Description

This function returns a plot reporting the estimated covariance mismatch as a function of the rank restriction parameter lambda. This is the result of the cross validation exercise. The function is expected to be convex in lambda and the chosen lambda is the unique minimum.

Usage

show.cross.validation(res)

Arguments

res

A list corresponding to the output of estimate.affinity.matrix, estimate.affinity.matrix.lowrank or estimate.affinity.matrix.unipartite.

Value

The function returns a plot created with ggplot.


[Package affinitymatrix version 0.1.0 Index]