Re: [R] error: Error in if (any(DF[A, ] != DF[B, ])) { : missing value where TRUE/FALSE needed

2020-04-04 Thread Eric Berger
Hi Orlando, This is not a reproducible example because of the line MyGraphData <- read.graph ( file = "0.edges" , directed = FALSE ) We don't have the file "0.edges" . But here's an example that reproduces the error message. Maybe it will help you find your problem. DF <- data.frame( x=NA, y=5

[R] error: Error in if (any(DF[A, ] != DF[B, ])) { : missing value where TRUE/FALSE needed

2020-04-04 Thread Orlando Ramirez via R-help
Hello this is my code and then i show you the result...please how i reapir this error...thanks lot off library(igraph) # # Lecture du fichier 0. edges MyGraphData <- read.graph ( file = "0.edges" , directed = FALSE ) # Nombre de noeuds dans le