Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

taurhoInitial

Sparse setup - ρ parameter


Description

Sparse setup - ρ parameter

Usage

taurhoInitial(tau, data, n, Q, directed = TRUE)

Arguments

tau

τ

data

Data : only needs the N_{ijk} field of data

n

Total number of nodes

Q

Total number of groups

directed

Boolean for directed (TRUE) or undirected (FALSE) case

Value

Both τ and ρ.

Examples

# Generate first initial tau for generated_Q3 data

n <- 50
Dmax <- 2^3
Q <- 3
d_part <- 1 # less than 3 (owing to Dmax)
n_perturb <- 2
perc_perturb <- 0.2
n_random <- 1
directed <- FALSE

data <- list(Nijk = statistics(generated_Q3$data, n, Dmax, directed = FALSE))

tau <- tauInitial(data,n,Q,d_part,n_perturb,perc_perturb,n_random,directed)

taurho <- taurhoInitial(tau[[1]],data,n,Q,directed=FALSE)

ppsbm

Clustering in Longitudinal Networks

v0.2.2
GPL (>= 2)
Authors
D. Giorgi, C. Matias, T. Rebafka, F. Villers
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.