Displaying 1 result from an estimated 1 matches for "shp_split".
Did you mean:
op_split
2009 Nov 24
2
linear regression on groups of consecutive rows of a matrix
...NA
That is, they both have NA values, and non-NA values, in the same matrix
positions. In my attempts so far, I have had two problems. First, in
using the split function (which I assume is essential here), I am unable to
split the matrices by groups of rows (say rows 1 to 5, 6 to 10, etc):
> shp_split = split(shp,row(shp))
will split the matrix by rows but not by groups thereof. Stumped.
Second, I cannot seem to get rid of the NA values, which would prevent the
regression even is I could figure out how to split the matrices correctly,
e.g.:
> shp_split = split(shp,row(shp))
> shp_split =...