Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,163,519 members, 7,854,237 topics. Date: Saturday, 08 June 2024 at 12:59 PM

How Can I Visualize Specific Data Points In A Boxplot In R - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How Can I Visualize Specific Data Points In A Boxplot In R (202 Views)

Finding Specific User Posts In Chosen Threads - Google Search. / As Any One Used Wave Let Analysis In R Before / How Can I Get IP Of A Specific Hop For Traceroute In Python (2) (3) (4)

(1) (Reply)

How Can I Visualize Specific Data Points In A Boxplot In R by kiransam: 1:31pm On Mar 19, 2021
For adding values apart from the median, 1st quatrile, and 3rd quatrile in the boxplot, you can use the text function:

set.seed(123)

x <- rnorm(100, 5, 10)

If you want to showcase the mean value:

boxplot(x)

text(1, mean(x), "x", col = "red"wink

Additionally or alternatively, you can use the function points:

points(IQR(x), col = "blue", pch = cool

Learn R programming from scratch if you are a beginner and want to know more about R then check Data Science Courses

(1) (Reply)

A Good Mobile Developer Based In Rivers State Needed / How Do Freelance Programmers Cope In Nigeria? / Corrupted USB Drive

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.