Watts-College / crj-507-spring-2024

https://watts-college.github.io/crj-507-spring-2024/
MIT License
1 stars 0 forks source link

graph centralization for degree. #18

Closed CGUEVARR closed 7 months ago

CGUEVARR commented 7 months ago

Receiving an error for Part1 #5 with the following code

Your code here

dim( as.matrix( LondonGangNet ) )[1]

(sum(((max( deg.as.matrix(LondonGangNet)- deg.as.matrix(LondonGangNet)))))/( g-1)*( g-2))

group.deg.as.matrix(LondonGangNet)

This is the error: Error in deg.as.matrix(): ! could not find function "deg.as.matrix"

CGUEVARR commented 7 months ago

I also tried this using the separate pieces code with no luck

jacobtnyoung commented 7 months ago

Hi @CGUEVARR . Looks like you solved this on your own?

CGUEVARR commented 7 months ago

@jacobtnyoung Yes, thank you!