getTransmissionTree {SMITIDstruct}R Documentation

getTransmissionTree

Description

get a transmission tree as a data.frame

Usage

getTransmissionTree(lhost, id = NA)

Arguments

lhost

a hostSet

id

a vector of hosts ids (default NA : all host)

Value

a data.frame as source|target|time in columns

Examples

path = system.file("extdata", "data-simul/", package="SMITIDstruct")
lhost <- list()
lhost <- loadTree(lhost,paste(path,"/tree.txt",sep=''))
print(getTransmissionTree(lhost))

[Package SMITIDstruct version 0.0.5 Index]