I have data frame named dcWCTOneSubTotal which has column T1Description having multiple values .
How to pass each value after storing this in a variable like descriptionName.
It returns null if i pass value as T1Description=='descriptionName' to subset function.
It returns rows if i pass value as T1Description=="abc" or T1Description=="xyz" to subset function.
I want to call this
bar.Chart.D.F.1 <- subset(dcWCTOneSubTotal , T1Description=='descriptionName')
inside function so that I can have different subsets each time for different T1Description column.
As suggested in the comments - just omit the quotes: