Displaying 1 result from an estimated 1 matches for "boot2_bootstrap".
2003 May 30
1
bootstrapping data.frame and matrix
Dear All,
When bootstrapping a statistics based on more than one vector, from a
data.frame or a matrix object, it looks like I am not able to pass the
data to R. What am I doing wrong?
I use the library "bootstrap".
Here is an example with a data.frame called "data"
"boot2_bootstrap(data, theta, nboot)
I get the following error message:
Error in inherits(x, "data.frame") : Argument "xdata" is missing, with
no default"
Please note that the same is happening when I create a matrix from the
data.frame with the function cbind
(i.e.
names(data)
[1] &q...