Learn R Programming

semisupKernelPCA (version 0.1.5)

add: Generic add method

Description

Generic method to add elements to an object.

Usage

add(object, ...)

Arguments

object
object where elements should be added
...
to allow further arguments by implementations

Value

  • updated 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")

Run the code above in your browser using DataLab