Here is an example, the data looks like this with 3 columns.

> fd_nba_raw
    Position                 Nickname	Injury.Indicator
1         PG              Luka Doncic                 
2         PF    Giannis Antetokounmpo                 
3          C       Karl-Anthony Towns                GTD
4         SF             Kevin Durant                 
5         SF             LeBron James                 
6         PF            Anthony Davis                GTD
7         PG             Kyrie Irving                  O
8         SG              CJ McCollum                 
9         SF            Kawhi Leonard                 
10        PG           Damian Lillard                GTD

To select only those with Injury.Indicator = ‘O’

fd_nba_raw[fd_nba_raw$Injury.Indicator == 'O',]

You can also include & and I (and & or) conditions. eg:

fd_nba_raw <- fd_nba_raw[fd_nba_raw$Injury.Indicator != 'O' & fd_nba_raw$Injury.Indicator != 'GTD' & fd_nba_raw$Nickname != 'Jabari Parker'  ,]