Closed duttashi closed 5 years ago
In this script, I have answered the question, Assume a dataset consists of mixed data, ie., both numeric and categorical data Then, How to filter rows of data with multiple columns having negative values.?
R> df fac1 fac2 num1 num2 1 1 4 0.30 -1.23 2 2 3 0.40 0.30 3 1 2 -1.23 -3.21 4 4 3 -3.21 0.21 5 1 3 0.23 0.12
I want, rows with non-negative data like,
fac1 fac2 num1 num2 1 2 3 0.40 0.30 2 1 3 0.23 0.12
no conflict with the base branch. Okay to merge.
base
In this script, I have answered the question, Assume a dataset consists of mixed data, ie., both numeric and categorical data Then, How to filter rows of data with multiple columns having negative values.?
I want, rows with non-negative data like,