Entering edit mode
Hi everyone,
I constructed Networks wich are very large. I want to adapt them with cutoffs.
This is my code:
sum(network_day_0$wTO > 0.3, abs(wTO), na.rm = TRUE)
I get this Error:
Error in abs(wTO) : non-numeric argument to mathematical function
I tried this:
sapply(network_day_0, class)
Node.1 Node.2 wTO
"character" "character" "numeric"
And this:
class(network_day_0$wTO)
[1] "numeric"
I'm not able to find the mistake. Can someone please help me?
