glottomap_rips_filt | R Documentation |
Title
glottomap_rips_filt(
glottodata,
r = 0,
maxscale,
is_animate = FALSE,
length.out = 20,
movie.name = "filtration.gif"
)
glottodata |
a glottodata is an object of sf with geometry type as 'POINT' |
r |
a numerica number, the radius of buffers of all the points in glottodata, the default unit is "100km" |
maxscale |
a numeric number, maximum value of the rips filtration, the default unit is "100km" |
is_animate |
if TRUE, it will generate a GIF file, if FALSE, it will generate a tmap plot, the default value is FALSE |
length.out |
the amount of images to be generated in GIF file when 'is_animate = TRUE', the default value is '20' |
movie.name |
name of the GIF file, the default value is "filtration.gif" |
if 'is_animate = FALSE' return a tmap, if 'is_animate = TRUE' return a GIF file
glottopoints <- glottofilter(continent = "South America")
awk <- glottopoints[glottopoints$family == "Arawakan", ]
glottomap_rips_filt(glottodata = awk, r = 6, maxscale = 8)
## Not run:
glottomap_rips_filt(glottodata = awk, r = 6, maxscale = 8, is_animate=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.