You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current situation, the logical column will also always be 0.
Indeed, apply() will convert the data.frame to a matrix, i.e. a single type. This means in most cases, all columns will be converted as characters. In this situation, is.logical() will always give 0:
In the current situation, the logical column will also always be 0.
Indeed,
apply()
will convert the data.frame to a matrix, i.e. a single type. This means in most cases, all columns will be converted as characters. In this situation,is.logical()
will always give 0:Created on 2024-07-17 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: