query: In R, how can I grab the penultimate row from a data frame for each ID when IDs are non-unique?
positive_passages.docid: 146977
positive_passages.text: Subset of a data frame with the penultimate values of one of the columns
negative_passages.docid: 133594
negative_passages.text: Get unique elements from list of lists when the order of the sublists does not matter
negative_passages.docid: 39641
negative_passages.text: How to split a data frame?
negative_passages.docid: 66211
negative_passages.text: Removing elements that have consecutive duplicates
negative_passages.docid: 2060
negative_passages.text: How do I create group data in a category with more than and less than in R?
negative_passages.docid: 46441
negative_passages.text: Combine column from multiple rows into single row
negative_passages.docid: 25405
negative_passages.text: Why does my calculated column not pick up the correct ID
negative_passages.docid: 100214
negative_passages.text: Group by multiple columns in dplyr, using string vector input
negative_passages.docid: 105683
negative_passages.text: Ordering Merged data frames
negative_passages.docid: 151527
negative_passages.text: Using R statistics add a group sum to each row
negative_passages.docid: 41569
negative_passages.text: Extracting Unique values from a list
negative_passages.docid: 71720
negative_passages.text: How to access adjacent rows with cursor?
negative_passages.docid: 93921
negative_passages.text: Select groups based on number of unique / distinct values
negative_passages.docid: 119528
negative_passages.text: List manipulation: Dropping first or last row or column of a matrix
negative_passages.docid: 34608
negative_passages.text: is there a better way to do this XML scraping task in R?
negative_passages.docid: 19054
negative_passages.text: Deleting specific rows from a data frame
negative_passages.docid: 102396
negative_passages.text: Combine values from related rows into a single concatenated string value