View source: R/community_profiles.R
plot_smooth_profile | R Documentation |
Plot the smooth community profiles based on a resampled statistic
plot_smooth_profile( tstat, net_name = "", trunc_type = "none", spar = 0.3, plot_null_spar = TRUE, alpha = 0.3, base_font_size = 12 )
tstat |
dataframe that has a column 'value' as statistic in the plot and a column 'K' as its corresponding community number |
net_name |
name of network |
trunc_type |
method to round the dip/elbow point as the estimated community number |
spar |
the sparsity level of fitting spline to the value of |
plot_null_spar |
whether to plot the spline with zero sparsity |
alpha |
transparency of the points in the plot |
base_font_size |
font size of the plot |
smooth profile plot of a network
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.