Top "Subset" questions

A subset consists of those elements selected from a larger set of elements, by their position in the larger set or other features, such as their value.

Subset data to contain only columns whose names match a condition

Is there a way for me to subset data based on column names starting with a particular string? I have …

r subset
Subset dataframe by multiple logical conditions of rows to remove

I would like to subset (filter) a dataframe by specifying which rows not (!) to keep in the new dataframe. Here …

r dataframe subset
Subset and ggplot2

I have a problem to plot a subset of a data frame with ggplot2. My df is like: df = data.…

r ggplot2 subset
How to select some rows with specific rownames from a dataframe?

I have a data frame with several rows. I want to select some rows with specific rownames (such as stu2,…

r dataframe subset rowname
Extract matrix column values by matrix column name

Is it possible to get a matrix column by name from a matrix? I tried various approaches such as myMatrix["…

r matrix subset
SQL: How To Select Earliest Row

I have a report that looks something like this: CompanyA Workflow27 June5 CompanyA Workflow27 June8 CompanyA Workflow27 June12 CompanyB Workflow13 …

sql date select subset
Select multiple elements from a list

I have a list in R some 10,000 elements long. Say I want to select only elements, 5, 7, and 9. I'm not sure …

r list subset
how to remove multiple columns in r dataframe?

I am trying to remove some columns in a dataframe. I want to know why it worked for a single …

r dataframe subset
Check if list<t> contains any of another list

I have a list of parameters like this: public class parameter { public string name {get; set;} public string paramtype {get; …

c# list loops c#-4.0 subset
find all subsets that sum to a particular value

Given a set of numbers: {1, 3, 2, 5, 4, 9}, find the number of subsets that sum to a particular value (say, 9 for this example). …

algorithm recursion subset