See the evolution of the network with change of cutoff
a network object
a vector of cutoff at which the network should be shown
Several types of outputs are available using the type.ani option.
latex (requires latex)
swf (requires swftools)
video (requires ffmpeg)
A HTML page with the evolution of the network.
Bertrand Frederic, Myriam Maumy-Bertrand.
1 2 3 4 5 6 7 8 9 10 11
data(network) sequence<-seq(0,0.2,length.out=20) #Change the destdir to have the animation created where you want. destdir = tempdir() #Example of use of the evolution method with an html output. evolution(network,sequence,type.ani = "html",outdir=destdir) #Example of use of the evolution method with an animated gif output. evolution(network,sequence,type.ani = "gif",outdir=destdir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.