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

Fix den class problem #5

Open
Taarnborg opened this issue Jun 7, 2017 · 2 comments
Open

Fix den class problem #5

Taarnborg opened this issue Jun 7, 2017 · 2 comments
Assignees

Comments

@Taarnborg
Copy link
Collaborator

Currently, It is not possible to perform regular data.frame operations on a den object, e.g den[,c("NAME", "TAGS")] returns the following error

Error in `[.data.frame`(den, samp, c("NAME", "AFFILIATION")) : 
  undefined columns selected
@Taarnborg Taarnborg self-assigned this Jun 7, 2017
@Taarnborg
Copy link
Collaborator Author

@antongrau har du andre metoder end de 3 nuværende i din pipeline?

@Taarnborg
Copy link
Collaborator Author

Update: It turns out that the error is in the print method. You can do data.frame operations on a den-object, but because print.den requires specific column names it wont print it for you and returns an error.

Suggestion: Either convert it to a summary function or deprecate it.

@Taarnborg Taarnborg assigned antongrau and Taarnborg and unassigned Taarnborg Sep 29, 2017
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