📜  无冗余组合展开网格——R编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:58.382000             🧑  作者: Mango

代码示例1
outer( c("aa", "ab", "cc"), c("aa", "ab", "cc") , "paste" )
#     [,1]    [,2]    [,3]   
#[1,] "aa aa" "aa ab" "aa cc"
#[2,] "ab aa" "ab ab" "ab cc"
#[3,] "cc aa" "cc ab" "cc cc"