comb <- combn(colnames(data),v)
colnames(results) <- apply(comb,2,function(rows) paste0(rows, collapse = ""))
insted of paste use paste0
@henrik and @chargaff
solved how paste function working in R? [duplicate]
comb <- combn(colnames(data),v)
colnames(results) <- apply(comb,2,function(rows) paste0(rows, collapse = ""))
insted of paste use paste0
@henrik and @chargaff
solved how paste function working in R? [duplicate]