noNANA | R Documentation |
This is just a quicker function to remove any row containing any NA value. Note this may be overkill in many cases. I use it for processing proteomic matrices where NA is an indicator of unreliable measurements.
noNANA(x, margin = "rows")
x |
matrix with NA values |
margin |
indicator of what should be done when NA is encountered. "rows" (default) = delete entire row with NA "columns" = delete entire column with NA "cellempty" = replace NA value with empty space "cellzero" = replace NA value with numeric zero value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.