Displaying 1 result from an estimated 1 matches for "input54".
Did you mean:
input4
2007 Feb 25
3
Macros in R
Dear members,
I have started to work with R recently and there is one thing which I could
not solve so far. I don't know how to define macros in R. The problem at
hand is the following: I want R to go through a list of 1:54 and create the
matrices input1, input2, input3 up to input54. I have tried the following:
for ( i in 1:54) {
input[i] = matrix(nrow = 1, ncol = 107)
input[i][1,]=datset$variable
}
However, R never creates the required matrices. I have also tried to type
input'i' and input$i, none of which worked. I would be very grateful for
he...