print.farm.test {FarmTest} | R Documentation |
This is the print function of S3 objects with class "farm.test
".
## S3 method for class 'farm.test'
print(x, ...)
x |
A |
... |
Further arguments passed to or from other methods. |
No variable will be returned, but a brief summary of FarmTest will be displayed.
farm.test
, summary.farm.test
and plot.farm.test
.
n = 50
p = 100
K = 3
muX = rep(0, p)
muX[1:5] = 2
epsilonX = matrix(rnorm(p * n, 0, 1), nrow = n)
BX = matrix(runif(p * K, -2, 2), nrow = p)
fX = matrix(rnorm(K * n, 0, 1), nrow = n)
X = rep(1, n) %*% t(muX) + fX %*% t(BX) + epsilonX
output = farm.test(X)
print(output)