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
x <- data.matrix(new_data[, transf_labels] - rep(cm_transf_df[, transf_labels], by = nrow(new_data)))
t_x <- data.matrix(as.matrix(t(x)))
With:
x <- data.matrix(new_data[, transf_labels] - cm_transf_df[, transf_labels]) # The "by" wasn't actually doing anything, but the operation is vectorised
t_x <- t(x)
The text was updated successfully, but these errors were encountered:
Should be possible to replace:
With:
The text was updated successfully, but these errors were encountered: