Exporting Data from R and Uploading to Gephi

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Here's the script I'm using in the video:
library(igraph)
links = (BASEBALL_1M)
links = as.matrix(links) # coerces the data set as a matrix
NET = graph.adjacency(links, mode="undirected", weighted=NULL, diag = FALSE)
g = get.edgelist(NET)
write.csv(g, file="Baseball1ModeEdgelist.csv", row.names=FALSE, na="", col.names=FALSE, sep=", ")
# file will write to Documents if no folder specified, in Gephi go to file>Open to load data

JessKropczynski
Автор

Hi, thanks for the nice video. Can you share the source of the BASEBALL_1M dataset?

KN-txsd
Автор

Thanks for your video! Do you know how to export directrly from R to Gephi? My data has over 1 048 575 rows (the CSV - excel limit) How can I integrate that data on Gephi? Thanks!

blackwhite
Автор

After running the codes, I am getting this error, please help
Error in as.data.frame.default(x[[i]], optional = TRUE) :
cannot coerce class ‘"igraph.es"’ to a data.frame

keiyona_diaries