Hi there -
I have organised some census data of an animal subpopulation as a
matrix, with columns representing survey sites (n=27) and rows
representing survey years (n=10). I am trying to bootstrap some
confidence intervals around the popoulation estimate. This implies to me
that I need to use the bootstrap to create survey samples (n=27), where
each value is selected from the 10 available for each site.
I assume the group argument to bootstrap() can be used for this, but I
can find no examples of how to do this in the documentation. I have
tried putting the data into a dataframe and using a vector of column
names but this doesnt seem to work. I've also placed the site names into
the dataframe as the first row with no success. Could someone please
describe what the group vector is supposed to look like in relation to
the data set?
Many thanks in advance,
Ed.
|