Table of Contents

Mixed

Match

> letters
 [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s"
[20] "t" "u" "v" "w" "x" "y" "z"
> A <- sample(letters,10)
> A
 [1] "t" "y" "q" "r" "k" "i" "o" "s" "x" "g"
> B <- sample(letters,15)
> B
 [1] "b" "o" "q" "a" "t" "p" "e" "h" "v" "u" "c" "g" "n" "j" "x"
> (p <- match(A,B))
 [1]  5 NA  3 NA NA NA  2 NA 15 12
> (q <- match(B,A))
 [1] NA  7  3 NA  1 NA NA NA NA NA NA 10 NA NA  9

Clustering

Maps

ru/hse/eda18/mix.txt · Last modified: 2018/10/08 13:54 by vlado
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki