I have a list of load statistics lists from a function that I wrote in R. There are 1000 bootstrap iterations in the main list. Each item in the list itself is a list of three things, including the set values ββfor each of the four variables ("fvboot" - 501x4 matrix).
I want to make a vector of values ββfor each position in the grid of values ββof x, from 1: 501, and for each variable - from 1: 4.
For example, for the ith xgrid point of the jth variable, I want to make a vector as follows:
vec = bootfits$fvboot[[1:1000]][i,j]
but when I do this, I get:
recursive indexing failed at level 2
googling around, I think I understand why R does this. but I do not get an answer for how I can get the ijth element of each fvboot matrix into a 1000x1 vector.
Help
would be greatly appreciated.
generic_user
source share