Monitor: Removing zero values from the data set.

[This article was first published on NIR-Quimiometría, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.


I continue developing the Monitor function. This time a video from  “r twotorials”:
“how to access different records within a data frame by using logical tests in r”, gave me the idea to remove the zero values from a data set.
When somebody give you a table like the one I show, if the laboratory did not analyze a sample for any reason, I write a cero. So cero is not a reference value.
It will be diferent if we have for example: 0,001 or 0,00005, in this case we are managing very low concentrations, but we dont say just 0.
Anyway we can do a similar approach if we prefer “NA” indeed “0”.
So, I prepare a new video with how the function performs right now:
Hope you like.

To leave a comment for the author, please follow the link and comment on their blog: NIR-Quimiometría.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)