Learn R Programming

semisupKernelPCA (version 0.1.5)

del.linkinfo: Deletes links from the object

Description

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

Usage

## S3 method for class '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.

Examples

Run this code
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)

Run the code above in your browser using DataLab