insertInto {FuzzyAHP} | R Documentation |
This methods construct object FuzzyData
based on two FuzzyData
and index.
The functions merges the sources into single output. It inserts data2 onto specific position (defined by index) in
data1.
insertInto(data1, data2, index)
## S4 method for signature 'FuzzyData,FuzzyData'
insertInto(data1, data2, index)
data1 |
An object of |
data2 |
An object of |
index |
An integer specifying the column position on which data2 should be inserted. |
An object of class FuzzyData
values = (c(1,2,3,4,5,6,7,8,9))
values = matrix(values, nrow = 3, ncol = 3, byrow = TRUE)
fData = fuzzyData(values, single.value = FALSE)
v = (c(15,16,17))
v = matrix(v, nrow = 3, ncol = 1, byrow = TRUE)
fd = fuzzyData(v, single.value = FALSE)
fData = insertInto(fData, fd, 2)