shape("yellow", "heart")
shape("yellow", c("heart", "circle", "square"))
shape(color = c("red", "orange", "yellow", "green", "blue",
"purple", "brown", "black", "white"),
type = "circle")
outer(
c("red", "orange", "yellow", "green", "blue",
"purple", "brown", "black", "white"),
c("heart", "circle", "square"),
shape
)
Run the code above in your browser using DataLab