Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In general, I find the built-in help to be pretty good. You're right though that the help page for <code>boxplot</code> mentions <code>na.action</code> without stating what the options are.</p> <p>In this instance, <code>?na.action</code> and -- following on from there -- <code>?na.omit</code> explain the possibilities (these are quite general and also apply to things other than <code>boxplot</code>.)</p> <pre><code>Handle Missing Values in Objects Description: These generic functions are useful for dealing with ‘NA’s in e.g., data frames. ‘na.fail’ returns the object if it does not contain any missing values, and signals an error otherwise. ‘na.omit’ returns the object with incomplete cases removed. ‘na.pass’ returns the object unchanged. Usage: na.fail(object, ...) na.omit(object, ...) na.exclude(object, ...) na.pass(object, ...) Arguments: object: an R object, typically a data frame ...: further arguments special methods could require. Details: At present these will handle vectors, matrices and data frames comprising vectors and matrices (only). If ‘na.omit’ removes cases, the row numbers of the cases form the ‘"na.action"’ attribute of the result, of class ‘"omit"’. ‘na.exclude’ differs from ‘na.omit’ only in the class of the ‘"na.action"’ attribute of the result, which is ‘"exclude"’. This gives different behaviour in functions making use of ‘naresid’ and ‘napredict’: when ‘na.exclude’ is used the residuals and predictions are padded to the correct length by inserting ‘NA’s for cases omitted by ‘na.exclude’. </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload