Suppose I have a dataframe my_df and want to pass a column called column_name1 into a function and use that column inside the function with mutate().
My goal is to compare the value in "passed_column" to the value of threshold (sample code below). My code creates the new column but doesn't evaluate the comparison in the ifelse() correctly. I'd like to use the lazyeval package but am open to any solution.
tibble is a visual enhancement of a data.frame. As you can see, it does, for example, only print first 10 rows not to overwhelm your console. It also prints types of columns, respects width of your console etc. But as I've said, it doesn't change the object itself, just prints it nicely.
On a very high level, there is no difference, but there are situations where output of ifelse can be surprising - https://vctrs.r-lib.org/articles/stability.html#ifelse. That is the reason for even having dplyr::if_else in the first place.