Learn R Programming

SMLE (version 0.4.0)

print.sdata: Print function for simulated data

Description

This functions prints a summary of a data set generated by Gen_data.

In particular, it prints the indices of relevant features, true model coefficients, and the correlation structure.

Usage

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

Arguments

x

"sdata" object from Gen_Data function .

...

Other parameter for print function.

Value

No return value, called for side effects.

Examples

Run this code
# NOT RUN {
Data<-Gen_Data(family ="binomial",correlation = "ID")
cor(Data$X[,1:10])
print(Data)
# }

Run the code above in your browser using DataLab