powered by
diffCombin returns matrix of differences (eg resulting from subsititution) for all pairwise combinations of numeric vector 'x'.
diffCombin
diffCombin(x, diagAsNA = FALSE, prefix = TRUE, silent = FALSE, callFrom = NULL)
numeric matrix of all pairwise differences
numeric vector to compute differences for all combinations
(logical) return all self-self combinations as NA (otherwise 0)
(logical) if TRUE, dimnames of output will specify orientation (prefix='from.' and 'to.')
(logical) suppress messages
(character) allow easier tracking of message(s) produced
diff for simple differences
diff
diffCombin(c(10,11.1,13.3,16.6))
Run the code above in your browser using DataLab