| Line 1... |
Line 1... |
| 1 |
|
1 |
|
| 2 |
R Under development (unstable) (2026-02-27 r89492) -- "Unsuffered Consequences"
|
2 |
R Under development (unstable) (2026-04-05 r89793) -- "Unsuffered Consequences"
|
| 3 |
Copyright (C) 2026 The R Foundation for Statistical Computing
|
3 |
Copyright (C) 2026 The R Foundation for Statistical Computing
|
| 4 |
Platform: aarch64-apple-darwin25.3.0
|
4 |
Platform: aarch64-apple-darwin25.3.0
|
| 5 |
|
5 |
|
| 6 |
R is free software and comes with ABSOLUTELY NO WARRANTY.
|
6 |
R is free software and comes with ABSOLUTELY NO WARRANTY.
|
| 7 |
You are welcome to redistribute it under certain conditions.
|
7 |
You are welcome to redistribute it under certain conditions.
|
| Line 491... |
Line 491... |
| 491 |
>
|
491 |
>
|
| 492 |
> ### ** Examples
|
492 |
> ### ** Examples
|
| 493 |
>
|
493 |
>
|
| 494 |
> ## boxplot on a formula:
|
494 |
> ## boxplot on a formula:
|
| 495 |
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
|
495 |
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
|
| 496 |
> # *add* notches (somewhat funny here <--> warning "notches .. outside hinges"):
|
496 |
> # *add* notches and do *not* warn about "notches .. outside hinges":
|
| 497 |
> boxplot(count ~ spray, data = InsectSprays,
|
497 |
> boxplot(count ~ spray, data = InsectSprays,
|
| 498 |
+ notch = TRUE, add = TRUE, col = "blue")
|
498 |
+ notch = TRUE, warnN = FALSE, add = TRUE, col = "blue")
|
| 499 |
Warning in (function (z, notch = FALSE, width = NULL, varwidth = FALSE, :
|
- |
|
| 500 |
some notches went outside hinges ('box'): maybe set notch=FALSE
|
- |
|
| 501 |
>
|
499 |
>
|
| 502 |
> boxplot(decrease ~ treatment, data = OrchardSprays, col = "bisque",
|
500 |
> boxplot(decrease ~ treatment, data = OrchardSprays, col = "bisque",
|
| 503 |
+ log = "y")
|
501 |
+ log = "y")
|
| 504 |
> ## horizontal=TRUE, switching y <--> x :
|
502 |
> ## horizontal=TRUE, switching y <--> x :
|
| 505 |
> boxplot(decrease ~ treatment, data = OrchardSprays, col = "bisque",
|
503 |
> boxplot(decrease ~ treatment, data = OrchardSprays, col = "bisque",
|