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, debug = FALSE, callFrom = NULL )
This function returns a 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
(logical) additional messages for debugging
(character) allows easier tracking of messages produced
diff for simple differences
diff
diffCombin(c(10,11.1,13.3,16.6))
Run the code above in your browser using DataLab