Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Ch. 4 Boxplot and Histogram Examples - Font size increased
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
count1 <- c(1,1,1,2,2,5,5,5,5,7,8,8,8,9,9,9,9,10,10,10,10,10,10,12,12,12,12,12,12,13,13,13,13,13,13,13) boxplot(count1, breaks = seq(0,14,1), main = "Skewed Left", col = "lightblue", xlab="# of High-Fives on a High Five Friday", horizontal=TRUE, cex.lab=1.75, cex.axis=1.75) hist(count1, breaks = seq(0,14,1), main = "Skewed Left", col = "lightblue", yaxp = c(0,10,10), xlab="# of High-Fives on a High Five Friday") count <- c(1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,4,5,5,6,6,7,8,12,13) boxplot(count, breaks = seq(0,14,1), main = "Skewed Right", col = "lightblue", xlab="# of High-Fives on a High Five Friday", horizontal=TRUE, cex.lab=1.75, cex.axis=1.75) hist(count, breaks = seq(0,14,1), main = "Skewed Right", col = "lightblue", yaxp = c(0,10,10), xlab="# of High-Fives on a High Five Friday")
[
+
]
Show input
Absolute running time: 0.77 sec, cpu time: 0.59 sec, memory peak: 32 Mb, absolute service time: 0,78 sec
edit mode
|
history
|
discussion