population()

Define a population and its original spatial range

expand()

Expand the population range

move()

Move the population to a new location in a given amount of time

geneflow()

Define a geneflow event

change()

Update the population map or one of its parameters

world()

Define a world map for all spatial operations

region()

Define a geographic region

join()

Combine two slendr_region objects into a single geographic region

slendr_region

overlap()

Generate the overlap of two slendr_region objects

subtract()

Generate the difference between two slendr_region objects

convert()

Convert between coordinate systems

distance()

Calculate the distance between a pair of spatial boundaries

dimension()

Return the dimensions of the world map

plot(<slendr>)

Plot slendr geographic features on a map

slendr

print(<slendr>)

Print a summary of a slendr object

graph()

Plot geneflow graph based on given model configuration

animate()

Animate the simulated population dynamics

ancestries()

Plot simulated ancestry proportions

explore()

Open an interactive browser of the spatial model

compile()

Compile the spatial demographic model

read()

Read a previously serialized model configuration

script()

Substitute variables in a template SLiM script

slim()

Run a slendr model as a SLiM script