del.linkinfo: Deletes links from the object

Description Usage Arguments Value Author(s) Examples

View source: R/functions.R

Description

removes one or several couples from both relations recorded in the object.

Usage

1
2
## S4 method for signature 'linkinfo'
del(object, inda, indb, ...)

Arguments

object

a linkinfo class object

inda

indexes in 1:length(linkinfo) of the 1st elements in the couples to be removed

indb

indexes in 1:length(linkinfo) of the 2nd elements in the couples to be removed

...

unused additional arguments, for compliance with generic mechanism

Value

updated linkinfo object.

Author(s)

Pierrick Bruneau
pbruneau@gmail.com

Examples

1
2
3
4
5
6
7
data(iris)

krn <- computeKernel(iris[,1:4])
lk <- linkinfo(krn)
lk <- add(lk, 1, 5, "link")
lk <- add(lk, 3, 55, "notlink")
lk <- del(lk, 1, 5)

semisupKernelPCA documentation built on May 29, 2017, 8:59 p.m.