plot_beta_r2 {CEMiTool} | R Documentation

## Soft-threshold beta selection graph

### Description

Creates a graph showing each possible soft-threshold value and its corresponding R squared value

### Usage

    plot_beta_r2(cem, ...)

    ## S4 method for signature 'CEMiTool'
    plot_beta_r2(cem, plot_title = "Scale independence (beta selection)")

### Arguments

`cem` | Object of class `CEMiTool`.
`...` | Optional parameters.
`plot_title` | title of the graph

### Value

Object of class `CEMiTool` with beta x R squared plot

### Examples

    # Get example CEMiTool object
    data(cem)
    # Plot scale-free model fit as a function of the soft-thresholding beta parameter choice
    cem <- plot_beta_r2(cem)
    # Check resulting plot
    show_plot(cem, "beta_r2")

[Package CEMiTool version 1.16.0 Index]