Displaying 1 result from an estimated 1 matches for "shortrat".
Did you mean:
shortrate
2003 May 30
1
bootstrapping data.frame and matrix
...a, 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] "shortrate" "y1" "y5" "y10" "y15"
"y20"
[7] "y25"
xdata_cbind(data$y10,data$shortrate)
is.matrix(x.data)
TRUE)
Thanks in advance,
Chiara