getTestEntry.asrtests | R Documentation |
asrtests.object
Matches the label
in the term
column of the test.summary
data.frame
in the supplied asrtests.object
and extracts the line for it. It only matches
the last occurrence of label
.
## S3 method for class 'asrtests'
getTestEntry(asrtests.obj, label, ...)
asrtests.obj |
An |
label |
A |
... |
provision for passing arguments to functions called internally - not used at present. |
A one-line data.frame
containing the entry.
Chris Brien
getTestPvalue.asrtests
, as.asrtests
,
testranfix.asrtests
,
testswapran.asrtests
, testresidual.asrtests
,
changeModelOnIC.asrtests
, changeTerms.asrtests
,
chooseModel.asrtests
## Not run:
data(Wheat.dat)
current.asr <- asreml(yield ~ Rep + WithinColPairs + Variety,
random = ~ Row + Column + units,
residual = ~ ar1(Row):ar1(Column),
data=Wheat.dat)
current.asrt <- as.asrtests(current.asr, NULL, NULL)
current.asrt <- rmboundary(current.asrt)
# Test nugget term
current.asrt <- testranfix(current.asrt, "units", positive=TRUE)
getTestEntry(current.asrt, label = "units")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.