Skip to content

[R-es] data.frame colname igraph

1 message · Javier Marcuzzi

#
Estimados

Tengo un problema, creo que sencillo, pero hay algo que hice mal, coloco el código, básicamente desde igraph se realiza un análisis, y se me ocurre tener un data.frame para ordenar los resultados, pero justo en ese punto aparece un problema.

¿Alguna sugerencia?
_                           
platform       x86_64-w64-mingw32          
arch           x86_64                      
os             mingw32                     
system         x86_64, mingw32             
status                                     
major          3                           
minor          2.5                         
year           2016                        
month          04                          
day            14                          
svn rev        70478                       
language       R                           
version.string R version 3.2.5 (2016-04-14)
nickname       Very, Very Secure Dishes
Error in `colnames<-`(`*tmp*`, value = c("var", "grados")) : 
  'names' attribute [2] must be the same length as the vector [1]
'data.frame':	216 obs. of  1 variable:
 $ degree(datos.network): num  9 10 7 9 7 10 10 12 8 9 ...


Javier Rubén Marcuzzi