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 4345618
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:03:37+00:00 2026-05-21T12:03:37+00:00

Curious – why doesn’t stat_summary produce any new variables? Would seems very useful to

  • 0
  1. Curious – why doesn’t stat_summary produce any new variables? Would seems very useful to have access to the y values, or am I missing something?
  2. If I used stat_summary to get the mean of all y’s at a given x, is there some way to identify the new y (the means) that is the max/min of all new y’s? So lets say I want points for all means, but then I want to color the highest mean point and the lowest mean point with different colors. How would I do that?
  • 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-21T12:03:37+00:00Added an answer on May 21, 2026 at 12:03 pm

    As Brandon says, I strongly recommend to summarize data by yourself before using ggplot, but you can access the summarized “y” like this:

    d <- data.frame(expand.grid(x=1:4, rep=1:3), y=rnorm(4*3))
    ggplot(d, aes(x, y)) + 
      stat_summary(mapping=aes(colour=factor(ifelse(min(..y..)==..y.., 1, ifelse(max(..y..)==..y.., 3, 2))
    )), fun.y=mean, geom="point")
    

    maybe this is difficult to understand though.

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

Sidebar

Related Questions

curious if anyone might have some insight in how I would do the following
Was curious, but are any NoSQL DBMS written in Ruby? And if not, would
Curious to get people's thoughts. I conduct frequent interviews, and have had enough in
I curious to how different people solve integration of systems. I have a feeling
Just curious: 4 instanceof Number => false new Number(4) instanceof Number => true? Why
Curious if anyone has opinions on which method would be better suited for asp.net
Curious whether folks have setup 2 way transactional replication on the tables ASP.NET uses
just curious to know android Graphical components (View) have their own specific renderer or
Curious to know if any has been because googling didnot helped much. Thanks
Just curious. Does anyone have experience with both. My gut feeling is that QT

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.