I have a data frame composed of numeric and non-numeric columns.

I would like to extract (subset) only the non-numeric columns, so the character ones. While I was able to subset the numeric columns using the string: `sub_num = x[sapply(x, is.numeric)]`, I'm not able to do the opposite using the `is.character` form. Can anyone help me?