Description Usage Arguments Details Examples
Compute smooth intensities with direct kernel estimation of intensities relying on a classification tau. This can be used with the values τ obtained on a dataset with mainVEM function run with 'hist' method.
1 2 | kernelIntensities(data, tau, Q, n, directed, rho = 1, sparse = FALSE,
nb.points = 1000)
|
data |
List with 3 components:
|
tau |
τ |
Q |
Total number of groups |
n |
Total number of nodes |
directed |
Boolean for directed (TRUE) or undirected (FALSE) case |
rho |
ρ |
sparse |
Boolean for sparse (TRUE) or not sparse (FALSE) case |
nb.points |
Number of points |
Warning : sparse case not implemented !!!
1 2 3 4 5 6 7 8 9 10 11 | # The generated_sol_kernel was generated calling mainVEM with kernel method on the generated_Q3 data
# (50 individuals and 3 clusters)
data <- generated_Q3$data
n <- 50
Q <- 3
# compute smooth intensity estimators
sol.kernel.intensities <- kernelIntensities(data,generated_sol_kernel$tau,Q,n,directed=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.