data-edu/data-science-in-education

chapter 12: dataframe not found

kierisi opened this issue · 3 comments

at the end of the chapter this chunk of code returns the error: Error in is.data.frame(data) : object 'edgelist1' not found

m_selection <- 
  glm(relate ~ 1 + same, data = edgelist1)

is there supposed to be an edgelist1? or is the 1 a typo?

will check this. wonder if this was supposed to be eval = FALSE

first thing tomorrow am

added this parenthetical statement to the description of why this code is included (and moved it to the appendix, where it belonged!): "(which is not run, but is included as an example of the code for this kind of selection model)"