apero | R Documentation |
This function creates an apero in a room of given size. Guests stick to a minimum distance of each other in order to stay safe.
apero(room_length = 6, room_width = 4, min_distance = 1.5, margin = 0.3)
room_length |
Length of room in meter. |
room_width |
Width of room in meter. |
min_distance |
Minimum distance in meter guests should have from each other. |
margin |
How close to the walls do guests stand (in meter)? |
An object of class "apero" with the following elements:
room_length
: User input.
room_width
: User input.
min_distance
: User input.
margin
: User input.
guests
: data.frame with x and y coordinates of guests (including yourself).
plot.apero()
, summary.apero()
.
x <- apero()
x
x2 <- apero(1, 1)
plot(x2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.