| plot.smle | R Documentation | 
This function returns two plot windows. By default, the first shows 
1) the solution path (estimated coefficient by iteration step) for 
the retained features.
By default, the second plot contains 4 plots to assess convergence:
2) log-likelihood,  
3) Euclidean distance between the current and the previous coefficient estimates,   
4) the number of tries in u-search (see details of SMLE()),  
and 5) the number of features changed in the current active set.
## S3 method for class 'smle'
plot(x, num_path = NULL, label = TRUE, which_path = NULL, out_plot = 1, ...)
| x | A  | 
| num_path | The number of top coefficients to be shown. Default is equal to the number of features retained in the model. | 
| label | Logical flag for whether to label each curve with the feature index. Default is  | 
| which_path | A vector to control which features are shown in addition to the paths for the most significant coefficients. | 
| out_plot | A number from 1 to 5 indicating which plot is to be shown in the separate window; the default for solution path plot is "1". See Description for plot labels 2-5. | 
| ... | Additional arguments passed to the second plot. | 
No return value.
set.seed(1)
Data <- Gen_Data(correlation = "CS")
fit <- SMLE(Y = Data$Y,X = Data$X, k = 20, family = "gaussian")
plot(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.