print.PSTR | R Documentation |
This function prints the object of the class PSTR.
## S3 method for class 'PSTR'
print(x, mode = c("su", "e"), digits = 4, ...)
x |
an object of the class PSTR returned from some functions in the package. See below "See Also" for a list of these functions. |
mode |
a vector of character strings specifying which results to print. It takes the values c('summary', 'tests', 'estimates', 'evaluation'). By default 'su' and 'e' which means all. |
digits |
integer indicating the number of decimal places (for the |
... |
further arguments passed to or from other methods. Ignored here. |
Yukai Yang, yukai.yang@statistik.uu.se
Functions which return an object of the class PSTR:
NewPSTR
, LinTest
, WCB_LinTest
, EstPSTR
, EvalTest
, WCB_TVTest
and WCB_HETest
pstr = NewPSTR(Hansen99, dep='inva', indep=4:20, indep_k=c('vala','debta','cfa','sales'),
tvars=c('vala','debta','cfa','sales'), iT=14)
print(pstr)
print(pstr, mode='summary',digits=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.