Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create pathological data set #115

Open
zkamvar opened this issue Nov 1, 2019 · 1 comment
Open

create pathological data set #115

zkamvar opened this issue Nov 1, 2019 · 1 comment
Assignees

Comments

@zkamvar
Copy link
Member

zkamvar commented Nov 1, 2019

  • NAs in all columns
  • missing ids in linelist
  • missing ids in contacts
  • clusters of known sizes
  • degrees of known sizes
  • unconnected cases
  • node and edge attributes of all data types (numeric/character/date/POSIXt/factor/logical)
  • duplicate IDs
@zkamvar
Copy link
Member Author

zkamvar commented Nov 1, 2019

A good place to start is the data set Finlay used for testing clusters:

  ## make clusters of different sizes
  cs_size <- c(5, 10, 17, 3, 5)
  contacts <- data.frame(from = 1:(sum(cs_size)-1), to = 2:sum(cs_size))
  contacts <- contacts[-head(cumsum(cs_size), -1),]
  linelist <- data.frame(id = 1:sum(cs_size))
  
  x <- make_epicontacts(linelist, contacts)  

I think we can build off of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants