print.PSTR: Print the object of the class PSTR.

Description Usage Arguments Author(s) See Also Examples

View source: R/utils.R

Description

This function prints the object of the class PSTR.

Usage

1
2
## S3 method for class 'PSTR'
print(x, mode = c("su", "e"), digits = 4, ...)

Arguments

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 round function inside) to be used. Negative values are allowed (see round).

...

further arguments passed to or from other methods. Ignored here.

Author(s)

Yukai Yang, yukai.yang@statistik.uu.se

See Also

Functions which return an object of the class PSTR:

NewPSTR, LinTest, WCB_LinTest, EstPSTR, EvalTest, WCB_TVTest and WCB_HETest

Examples

1
2
3
4
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)

lxylky1688/PSTRM documentation built on May 19, 2019, 1:47 a.m.