Skip to content

Media 6 Degrees (chapter 5) data does not match code #9

@SJBertram

Description

@SJBertram

The R code for the Media 6 Degrees exercise in chapter 5 starts with the following:

set <- read.table(file, header = TRUE, sep = "\t", row.names = "client_id")

The sample data contains no column called "client_id". This results in a crash from the following:

Error in data[[rowvar]] : 
  attempt to select less than one element in get1index
Calls: read.table

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions