# \donttest{
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)
# }
if (FALSE) {
#Example of use of the evolution method with an animated gif output.
evolution(network,sequence,type.ani = "gif", outdir=destdir)
}
Run the code above in your browser using DataLab