Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Practice series1(37)
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
marks=c(78,67) marks rollno=c(1,2) rollno data=data.frame(rollno,marks) data x=c(103,101,108,105,109,115,117,103,104,103) mean=mean(x) mean median=median(x) median x=c(107,119,112,117,116,128,124,126,127,123) x y=c(2010,2011,2012,2013,2014) y x=c(3500,4100,4300,5000,4900) x barplot(x,xlab="year",ylab="no of students",main="bar plot",col="pink",names.arg=y) demand=c(20,32,45,21,19,23,47,67,34) demand supply=c(16,38,54,25,20,20,42,66,40) supply plot(demand,supply,main="scatter plot",xlab="demand",ylab="supply") a=matrix(c(7,18,-2,22,-16,3,55,1,9,-4,0,31),byrow=T,ncol=4) a b=a*7 b a=matrix(c(1,1,1,1,1,1),byrow=T,ncol=2) a transposeofa=t(a) transposeofa
[
+
]
Show input
Absolute running time: 1.05 sec, cpu time: 0.9 sec, memory peak: 42 Mb, absolute service time: 1,28 sec
fork mode
|
history
|
discussion