Skip to content

Instantly share code, notes, and snippets.

@andilabs
Created September 9, 2013 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andilabs/6501668 to your computer and use it in GitHub Desktop.
Save andilabs/6501668 to your computer and use it in GitHub Desktop.
R: subseting data frame by row's value "HORIZONTAL CUT" http://kostanski.wordpress.com/2012/10/26/data-frame-jak-usunac-wiersz-zawierajacy-zadana-wartosc/ example below shows how to remove records, which has NA value in the columns documentevaluation_credibility
troia_input_without_na <- troia_input[!is.na(troia_input$documentevaluation_credibility),]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment