File: cocitation.Rd

package info (click to toggle)
r-cran-igraph 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,044 kB
  • sloc: ansic: 204,981; cpp: 21,711; fortran: 4,090; yacc: 1,229; lex: 519; sh: 52; makefile: 8
file content (56 lines) | stat: -rw-r--r-- 1,612 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cocitation.R
\name{cocitation}
\alias{cocitation}
\alias{bibcoupling}
\title{Cocitation coupling}
\usage{
cocitation(graph, v = V(graph))

bibcoupling(graph, v = V(graph))
}
\arguments{
\item{graph}{The graph object to analyze}

\item{v}{Vertex sequence or numeric vector, the vertex ids for which the
cocitation or bibliographic coupling values we want to calculate. The
default is all vertices.}
}
\value{
A numeric matrix with \code{length(v)} lines and
\code{vcount(graph)} columns. Element \verb{(i,j)} contains the cocitation
or bibliographic coupling for vertices \code{v[i]} and \code{j}.
}
\description{
Two vertices are cocited if there is another vertex citing both of them.
\code{cocitation()} simply counts how many types two vertices are cocited. The
bibliographic coupling of two vertices is the number of other vertices they
both cite, \code{bibcoupling()} calculates this.
}
\details{
\code{cocitation()} calculates the cocitation counts for the vertices in the
\code{v} argument and all vertices in the graph.

\code{bibcoupling()} calculates the bibliographic coupling for vertices in
\code{v} and all vertices in the graph.

Calculating the cocitation or bibliographic coupling for only one vertex
costs the same amount of computation as for all vertices. This might change
in the future.
}
\examples{

g <- make_kautz_graph(2, 3)
cocitation(g)
bibcoupling(g)

}
\seealso{
Other cocitation: 
\code{\link{similarity}()}
}
\author{
Gabor Csardi \email{csardi.gabor@gmail.com}
}
\concept{cocitation}
\keyword{graphs}