Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4237402
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T02:46:07+00:00 2026-05-21T02:46:07+00:00

Two questions related to boxplot : What are the options for na.action ? The

  • 0

Two questions related to boxplot:

  1. What are the options for na.action? The documentation doesn’t list them.
  2. How would I go about answering these types of question in the future?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T02:46:08+00:00Added an answer on May 21, 2026 at 2:46 am

    In general, I find the built-in help to be pretty good. You’re right though that the help page for boxplot mentions na.action without stating what the options are.

    In this instance, ?na.action and — following on from there — ?na.omit explain the possibilities (these are quite general and also apply to things other than boxplot.)

    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’.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay, these two related questions are in reference to Railscast #21 : I'm having
I saw two related questions about this topic - one has an old link
I have two related questions about Web services: (1) I'm currently writing a set
This is actually really two related questions. I would like to create an image
Here are two questions related to modifying the data source for strongly typed dataset
Here are two different questions but I think they are related. When using Git,
I'm narrowing in on an underlying problem related to two prior questions. Basically, I've
I have two questions related to function objects and function pointers, Question : 1
I guess this is sort of two questions that are tied together. Related questions
Two related questions: What are the maximum number of concurrent files that a web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.