demo_objects_data: Generates an "objects" data set populated with random values.

View source: R/demo_objects_data.R

demo_objects_dataR Documentation

Generates an "objects" data set populated with random values.

Description

A convenient function to generate a data set to be used for the objects.df parameter of the archeoViz function.

Usage

demo_objects_data(n.objects)

Arguments

n.objects

numerical, number of objects to include in the data set.

Value

A data.frame with 12 columns ("id", "square_x", "square_y", "xmin", "xmax", "ymin", "ymax", "zmin", "zmax", "layer", "object_type", "object_class_size").

Author(s)

Sebastien Plutniak <sebastien.plutniak at posteo.net>

Examples

	## Not run: demo_objects_data(n.objects.df=100)

archeoViz documentation built on June 22, 2024, 10:04 a.m.