Watts-College / crj-507-spring-2024

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

Calculating Degree and wont Knit says access denied #19

Closed VALERIE8703 closed 7 months ago

VALERIE8703 commented 7 months ago

deg <- degree ( LondonGangNet gmode ="graph" cmode ="degree" )

print it out

deg.gang

jacobtnyoung commented 7 months ago

Hi @VALERIE8703! Ok let's get it figured out!

The issue is that you do not have commas after each argument in the function. Try this:


deg <- degree(
LondonGangNet, # needed a comma here
gmode ="graph", # and here
cmode ="degree" 
)

#print it out
deg.gang

Let me know if that doesn't solve the problem.

Also, please review the help page for formatting Issues. There are some pointers there for how to show R code in the comment box. Let me know if you have questions about that as well.