Search
 
SCRIPT & CODE EXAMPLE
 

R

no redundant combination expand grid

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"
Comment

PREVIOUS NEXT
Code Example
R :: to get the proportion of votes for the winning class in r 
R :: r code mutate 
R :: dplyr mutate with conditional values 
R :: how to set a dataframe as a value in a list in r 
R :: remove a loaded library from workspace r 
R :: r create intervals cut 
R :: gsub function r 
R :: how to filter in R whitout lossing NA values 
R :: dotted y intercept line in ggplot 
R :: changing base group in factor in r 
R :: next element in a loop if error in r 
R :: barplot_density 
R :: Iteration in R 
Rust :: rust print array 
Rust :: rust concatenate vectors 
Rust :: rust convert integer to string 
Rust :: rust into string 
Rust :: rust in a string, replace multiple spaces with single space 
Rust :: armanriazi•rust•vec 
Rust :: transpose a matrix 
Rust :: rust•armanriazi•osstring•vs•path 
Rust :: rust BMI 
Rust :: rust•armanriazi•error•value used here after move 
Rust :: rust How to use if let statement with conditions? 
Rust :: how to check if a thing is in a vector in rust 
Lua :: print table lua 
Lua :: roblox send message script 
Lua :: lua last item in table 
Lua :: prompt game pass purchase 
Lua :: roblox number between 1 and 10 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =