I have a list of data {x, y}
and not all of them have actual values. They show as {x, "NS"}
or {"NS",y}
or {"NS","NS"}
. I'm trying to find a way to get rid of the sets with the "NS" so I can carry the analysis.
I am using Mathematica 10.
Here is my list of data
, I think there is something wrong with the format because I've tried DeleteCases
, Select
, Cases
... and I get "{}" as an output everytime. It might just need a simple fix, but I'm not sure what (I'm still a beginner in Mathematica).
{{{10.43, "NS"}, {10.42, "NS"}, {10.29, "NS"}, {9.03, "NS"}, {10.4, "NS"},
{3.61, 3.69}, {5.03, 4.85}, {8.8, 6.}, {8.51, "NS"}, {8.9, 8.7}, {"NS", "NS"},
{6.49, 7.}, {7.32, 7.54}, {7.67, 8.17}, {9.23, "NS"}, {9.36, 9.38}, {9.3, "NS"},
{8.94, 9.34}, {8.7, 8.79}, {8.41, 8.17}, {8.51, 8.58}, {8.66, 8.62}, {8.36, 8.28},
{8.36, 8.38}, {8.77, 8.79}, {10.49, 10.51}, {8.33, 8.22}, {8.41, 8.18}, {8.81, 8.42},
{4.92, 4.87}, {6.08, 6.21}, {6.19, 6.26}, {7.16, 7.31}, {"NS", "NS"}}}