Skip to contents

add_surface() adds a binary column to the data.frame.

add_phi() counts empty neighbors of each cell and adds an integer column.

Usage

add_surface(population, coord, dimensions)

add_phi(population, coord, dimensions)

Arguments

population

a data.frame with (x, y, z)

coord

a string

dimensions

an integer