r - remove NA from a coulm

# Assuming your data frame is named 'df' and the column is named 'your_column'
# Step 1: Subset the data frame, keeping only the rows where 'your_column' is not NA
df <- df[!is.na(df$your_column), ]