genlocs: Generate geographic locations of nodes in network

Description Usage Arguments Details Examples

View source: R/genlocs.R

Description

This function generates the geographic locations of nodes in network, for simulation studies where geographic locations are not observed.

Usage

1
genlocs(xrange4, yrange4, numnodes4, randgeo4 = TRUE)

Arguments

xrange4

range of x coordinates

yrange4

range of y coordinates

numnodes4

the number of nodes

randgeo4

if TRUE then locations are randomly generated (other options for distributing locations will be added)

Details

Updated 2020-09-05

Examples

1
geolocs99 <- genlocs(xrange4=c(0,50), yrange4=c(0,50), numnodes4=100, randgeo4=TRUE)

GarrettLab/SeaMonster2 documentation built on Dec. 17, 2021, 9:27 p.m.