powered by
nameToVertexIndex(vertexnames, vertices)
vertexnames
vertices
dg.Node
Names <- c("Sex", "Age", "Eye", "FEV", "Hair", "Shosize") Types <- rep("Discrete", 6) vertices <- returnVertexList(Names, types = Types) nameToVertexIndex(c("Sex", "Eye"), vertices)
Run the code above in your browser using DataLab