powered by
## S3 method for class 'linkinfo': add(object, inda, indb, type=c("link", "notlink"), ...)
1:length(linkinfo)
c("link", "notlink")
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