add: Generic add method

Description Usage Arguments Value Author(s) Examples

View source: R/functions.R

Description

Generic method to add elements to an object.

Usage

1
add(object, ...)

Arguments

object

object where elements should be added

...

to allow further arguments by implementations

Value

updated object.

Author(s)

Pierrick Bruneau
pbruneau@gmail.com

Examples

1
2
3
4
5
6
data(iris)

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

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