fit_rcpp {robustreg} | R Documentation |
Predict y vector from X design matrix and b vector
fit_rcpp(X,b)
X |
Design matrix |
b |
Estimates of beta |
Ian M. Johnson
j <- rep(1, 5) x1 <- rnorm(5) x2 <- rnorm(5, 10, 20) X = as.matrix(data.frame(j, x1, x2)) b <- 1:3 fit_rcpp(X, b)