mapper_object_to_igraph | R Documentation |
make igraph
mapper_object_to_igraph(mapperobject)
mapperobject |
mapper object generated by mappeR |
an igraph object
data = data.frame(x = sapply(1:100, function(x) cos(x)), y = sapply(1:100, function(x) sin(x)))
projy = data$y
cover = create_width_balanced_cover(min(projy), max(projy), 10, 25)
mapperobj = create_1D_mapper_object(data, dist(data), data$y, cover)
mapper_object_to_igraph(mapperobj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.