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

  • SEARCH
  • Home
  • 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 9027741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:49:05+00:00 2026-06-16T06:49:05+00:00

I have a boxplot looking like this : Boxplot( ~ km_piste, data=slide, id.method=y, col=orange)

  • 0

I have a boxplot looking like this :

Boxplot( ~ km_piste, data=slide, id.method="y", col="orange")

enter image description here

The outliers name are shown because I set up the first column as:

row.names(slide) <- as.character(slide$data_name)

Now I would like to know how to make a new multiple boxplot.
I would like to have 2 boxplot on the same image.
The datas are still in the slide database.
The name of the 2 columns are :

  1. ski_parc (slide$ski_parc)
  2. snow_parc (slide$snow_parc)

I can’t figure out how to put the 2 boxplot on the same image with showing :

  • name of the outliers like on the print screen for each of the 2 boxplot
  • name of the boxplot under each boxplot in order to recognize them

Edit: here is a link of a my database slide

  • 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-06-16T06:49:06+00:00Added an answer on June 16, 2026 at 6:49 am

    The second argument to car::Boxplot is ‘g’ for use as a grouping variable. At the moment we cannot tell what your dataframe looks like and it sounds as though it might not be in the long format which Boxplot expects. If there were a single column say “area_type” that had values of “ski_parc” and “snow_parc” you could use this format:

    Boxplot( ~ km_piste, g= area_type, data=slide, id.method="y", col=c("orange", "red") )
    

    The use of na.omit had nothing to do with the labeling of the points. It was the choice to use id.method="y". When there are multiple groups the x-axis gets labeled with their levels.

    Try this:

    snow_parc <- data.frame(parc =c(slides$snow_parc, slides$ski_parc), 
                  type=rep(c("snow_parc", "ski_parc"), each=40))
    Boxplot(parc~type, data=snow_parc, id.method = "y")
    

    (There were no outliers.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ROC.Value data frame that looks like this: Years 1 2 3
I have a nearly-boxplot like jitter-plot: dt <- rbind(se,cb,cb.se) qplot(ds, size, data=dt, geom="jitter", colour=root,
I have a semi-melted data frame that looks like this: head(final_melt) Group Source variable
I have a set of data that looks like this, species<-ABC ind<-rep(1:4,each=24) hour<-rep(seq(0,23,by=1),4) depth<-runif(length(ind),1,50)
I have a data similar to this and then produce a boxplot using lattice:
I have a boxplot with a dot representing the mean: This is alright, but
I would like to have a small function displaying basic data statistics for eachnumeric
I have a table, which looks like this: 1β 2β 1.0199e-01 2.2545e-01 2.5303e-01 6.5301e-01
Hi I need to plot a boxplot in R. I have two matrices a
I have some data that I want to display as a box plot using

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.