Posts by Edison Cossignani • 13 points
1 post
-
1
votes2
answers78
viewsQ: How to assemble a matrix in R being the values the subtraction of values of a vector
How to create an array in R, whose values are the result of a subtraction of values from a vector? ex.: Vector x <- c(a, b, c) Matrix 1 a-a a-b a-c 2 b-a b-b b-c 3 c-a b-b c-c…