Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Children in Canada
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
#data x <- c(11,13,4,14,10,2,5,0,0,3,9,2,5,2,3,3,3,4,7,1,9,4,3,3,2,6,0,2,6,5,9,5,4,3,2,5,2,2,3,5,14,7,6,6,2,5,3,4,6,1) #Sum sum(x) #Mean mean(x) #Variance var(x) #Standard Deviation sqrt(var(x)) #plot a horizontal line representing the mean of x colored red plot(x)
[
+
]
Show input
Absolute running time: 0.73 sec, cpu time: 0.88 sec, memory peak: 32 Mb, absolute service time: 0,74 sec
edit mode
|
history
|
discussion
[1] 235 [1] 4.7 [1] 11.68367 [1] 3.418139