Closed goldingn closed 9 years ago
diag(kernel, data)
To return a vector of the diagonal elements, optionally as a diagonal matrix.
Add a function to compute diagonal in each kernel's object, and access these as the diag method
Done, with commits 92c70184fd 92c70184fd Syntax is now:
kernel(data, diag = TRUE) kernel(data, newdata, diag = TRUE)
To return a vector of the diagonal elements, optionally as a diagonal matrix.
Add a function to compute diagonal in each kernel's object, and access these as the diag method