Skip to contents

Adds stars to nodes

Usage

star_f2(xvals, t)

Arguments

xvals

Values between 0 and 1 from the graphon

t

A parameter indicating the strength of hubs

Value

a vector of values

Examples

# example code
st <- star_f2(runif(10), 3)
st
#>  [1] 1.907978 1.497820 1.349237 1.931463 3.250308 2.035865 2.702095 2.796304
#>  [9] 2.657447 1.734656