loadCoords: loadCoords

Description Usage Arguments Value Examples

Description

Load Hosts states

Usage

1
loadCoords(lhost, dfCoords, id = "ID")

Arguments

lhost

a HostSet

dfCoords

a data.frame with host ID, time and longitude latitude values

id

colname for host ID

Value

lhost updated

Examples

1
2
3
4
5
path = system.file("extdata", "data-simul/", package="SMITIDstruct")
lhost <- list()
lhost <- loadTree(lhost,paste(path,"/tree.txt",sep=''))
coords <- read.table(file=paste(path,"/hosts_coords.txt",sep=''), header=TRUE, check.names=FALSE)
lhost <- loadCoords(lhost,coords)

SMITIDstruct documentation built on June 14, 2019, 5:04 p.m.