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
)
smooth profile plot of a network
dataframe that has a column 'value' as statistic in the plot and a column 'K' as its corresponding community number
name of network
method to round the dip/elbow point as the estimated community number
the sparsity level of fitting spline to the value of tstat
whether to plot the spline with zero sparsity
transparency of the points in the plot
font size of the plot