Dear R-users,
                     I am using R(a package igraph) to calculate certain
topological features of networks. When I try to draw a plot between these
features I get an error. Following is the code I am using :

*> plot(met_eco_deg,met_eco_bet)
> lmout<-lm(met_eco_bet ~ met_eco_deg)
> abline(lmout)
Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) :
  plot.new has not been called yet*

*met_eco_deg* and *met_eco_bet* are the two objects generated from igraph
package. I don't get any error when I just use the plot function. Can anyone
help me out ?Thanks in advance.


Regards,

Anupam Sinha

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to