print: Print an object

print.smleR Documentation

Print an object

Description

This function prints information about the fitted model from a call to SMLE() or smle_select(), or about the simulated data from a call to Gen_Data(). The object passed as an argument to print is returned invisibly.

Usage

## S3 method for class 'smle'
print(x, ...)

## S3 method for class 'selection'
print(x, ...)

## S3 method for class 'summary.smle'
print(x, ...)

## S3 method for class 'summary.selection'
print(x, ...)

## S3 method for class 'sdata'
print(x, ...)

Arguments

x

Fitted object.

...

This argument is not used and listed for method consistency.

Value

Return argument invisibly.

Examples

set.seed(1)
Data<-Gen_Data(correlation = "MA", family = "gaussian")
Data
fit<-SMLE(Y = Data$Y, X = Data$X, k = 20, family = "gaussian")
print(fit)
summary(fit)

SMLE documentation built on Jan. 22, 2023, 1:55 a.m.