Я хочу провести библиографический сетевой анализ ключевых слов автора с использованием функции biblioNetwork из пакета bibliometrix в R. См. Файл bibtex: Pers_Bib_Latex.bib . См. Приведенный ниже код:
Pers_Stud <- readFiles("https://drive.google.com/file/d/18DblrGd1zP6uHExbbhfsnIoxE2yxmJE7/view?usp=sharing")
Pers_Stud_Main <- convert2df(Pers_Stud, dbsource = "isi", format = "bibtex")
NetMatrix <- biblioNetwork(Pers_Stud_Main, analysis = "co-occurences", network = "keywords", sep = ";")
net=networkPlot(NetMatrix, normalize="association", weighted=T, n = 30, Title = "Keyword Co-occurrences",
type = "fruchterman", size=T,edgesize = 5,labelsize=0.7)
Выполнение приведенного выше кода приводит к следующим ошибкам:
> NetMatrix <- biblioNetwork(Pers_Stud_Main, analysis = "co-occurrences", network = "keywords", sep = ";")
[1] "Field ID is not a column name of input data frame"
Error in crossprod(x, y) :
requires numeric/complex matrix/vector arguments
> net=networkPlot(NetMatrix, normalize="association", weighted=T, n = 30, Title = "Keyword Co-occurrences",
+ type = "fruchterman", size=T,edgesize = 5,labelsize=0.7)
Error in if (V(bsk.network)$community[x[1]] == V(bsk.network)$community[x[2]]) { :
argument is of length zero
In addition: Warning messages:
1: In min(E(bsk.network)$weight) :
no non-missing arguments to min; returning Inf
2: In min(E(bsk.network)$weight) :
no non-missing arguments to min; returning Inf
3: In max(E(bsk.network)$weight + min(E(bsk.network)$weight)) :
no non-missing arguments to max; returning -Inf
>
Есть мысли о том, как решить эту проблему?