nainf.omit | R Documentation |
For using with, for example, range to get axis range values in 'inspect'. Previously, na.omit was used, then discovered data files with Inf values. This causes axis limit range to be Inf, and xlim/ylim don't accept infinite axes!
nainf.omit(x)
If x is dataframe, it returns a vector of all columns appended together. Only useful for getting range in this case, don't use for anything else.
original vector without NA or Inf values or df all cols appended without these
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.