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 = T,
  alpha = 0.3,
  base_font_size = 12
)

Arguments

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 tstat

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

Value

smooth profile plot of a network