Description Usage Arguments Value Examples
Load Hosts states
1 | loadCoords(lhost, dfCoords, id = "ID")
|
lhost |
a HostSet |
dfCoords |
a data.frame with host ID, time and longitude latitude values |
id |
colname for host ID |
lhost updated
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.