View source: R/print.systemfit.R
print.systemfit | R Documentation |
These functions print a few results of the estimated equation system.
## S3 method for class 'systemfit'
print( x,
digits = max( 3, getOption("digits") - 1 ), ... )
## S3 method for class 'systemfit.equation'
print( x,
digits = max( 3, getOption("digits") - 1 ), ... )
x |
an object of class |
digits |
number of digits to print. |
... |
other arguments. |
Jeff D. Hamann jeff.hamann@forestinformatics.com,
Arne Henningsen arne.henningsen@googlemail.com
systemfit
, summary.systemfit
data( "Kmenta" )
eqDemand <- consump ~ price + income
eqSupply <- consump ~ price + farmPrice + trend
system <- list( demand = eqDemand, supply = eqSupply )
## perform OLS on each of the equations in the system
fitols <- systemfit( system, data = Kmenta )
## results of the whole system
print( fitols )
## results of the first equation
print( fitols$eq[[1]] )
## results of the second equation
print( fitols$eq[[2]] )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.