R/print.urbin.R

Defines functions print.urbin

print.urbin <- function( x, ... ) {
  if( "semEla" %in% names( x ) ) {
    printVec <- c( semEla = x$semEla, stdEr = x$stdEr )
  } else if( "effect" %in% names( x ) ) {
    printVec <- c( effect = x$effect, stdEr = x$stdEr )
  } else {
    stop( "internal error: object of class 'urbin' does not include",
      " expected components" )
  }
  print( printVec )
  invisible( x )
}

Try the urbin package in your browser

Any scripts or data that you put into this service are public.

urbin documentation built on Jan. 29, 2021, 3:01 p.m.