I am looking for a code to use in RStudio that will identify values from column B if the value in the same row in column A is less than x.
Specifically, if a value in column N_LOG is greater than 0.67, then I would like to know what the value is from the ACTIVITY_ACTION_ID column. The output can be a list or a table. Below is a picture of what my data looks like. 
Thank you for your help.
UPDATE: I got an solution from a friend at work if anyone else is looking at this post in the future and needs the answer. Either of the lines below would work.
head( with(eLINK_Sediment, eLINK_Sediment[0.67 < N_LOG,"ACTIVITY_ACTION_ID"])  )
head(  subset(eLINK_Sediment, 0.67 < N_LOG, ACTIVITY_ACTION_ID)  )
So for example,
head( with(filename, filename[value of interest < column to compare to value,"data from column you want"]) )
 
    