ãããã¯ã¼ã¯åæã§æãè¯ãç¨ããããææ¨ã¨ãã¦ãä¸å¿æ§ã¨ãããã®ããã ä»åã¯ããã®ä¸ã§ã3ã¤ã®ææ¨ã«çµã£ã¦ç´¹ä» 次æ°ä¸å¿æ§ åéãå¤ã人ãé«ãè©ä¾¡ãããææ¨ åéã®æ°ãæ°ããã ããªã®ã§ãè¨ç®ãç°¡å ãã¼ã¿ã®å ¥åã¨æç» A <- matrix(c( 0,1,1,1,1,1,1,0, 1,0,1,1,1,1,0,0, 1,1,0,0,0,0,0,1, 1,1,0,0,0,0,1,0, 1,1,0,0,0,1,0,0, 1,1,0,0,1,0,0,0, 1,0,0,1,0,0,0,0, 0,0,1,0,0,0,0,0), nrow = 8, byrow = TRUE) g <- graph.adjacency(A, mode = "undirected") plot(g) 次æ°ä¸å¿æ§ã®ç®åº > degree(g) [1] 6 5 3 3 3 3 2 1 PageRank åç´ã«åéãå¤ãã ãã§
{{#tags}}- {{label}}
{{/tags}}