search for: input_mat

Displaying 1 result from an estimated 1 matches for "input_mat".

Did you mean: input_data
2005 Dec 06
1
Help on a matrix task
Hello, Being new to R, I am completely stuck with the following problem. Please help to find a general solution to the following matrix task: Given: N<-4 input_mat<-matrix(c(1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0),ncol=N) combin_mat<-matrix(c(1, 2, 1, 3, 1, 4, 2, 3, 2, 4, 3, 4),n...