the class of permutation matrices, pMatrix . Examples. p <- sample(10) # a random permutation vector ip <- invPerm(p) p[ip] # == 1 ...
確定! 回上一頁