Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Whole program
>#arithmetic expressions >285 [1]285 >2*5 [1]10 >6/2 [1] 3 >2^4 [1] 16 >exp(2) [1] 7.389056 >exp(3) [1]20.08554 > >(5+5)/2 [1]5 > > >Svp Mca Error : unexpected symbol in " Svp mca " > >print(svp mca dept) [1] "svp mca dept" > > >value assignment Error : unexpected symbol in " value assignment " > ># value assignment > >a=6 >b=4 >a+b [1]10 > c*a-b >print (c) [1]2 > >a+b [1]10 >c=a-b >print (c) [1]2 > > >#Otherway > >a->20 Error in 20<-a : invalid (do-set) left hand side to assignment >a<-20 >b<-10 > >a+b [1]30 To clear the screen ctrl+L Error : unexpected symbol in "To Clear" >#To clear the screen ctrl+L > >#suppose p=54 and value type example > >p=54 >p [1]54 > >class [p] [1] " numeric " > >p=54 >class(p) [1] "numeric" > > >#the p is stored as decimal not integer > >is integer(p) [1]FALSE > > >#use like this we will get it as integer > >p<-as integer(54) > is integer(p) [1]TRUE > ># check the difference
run
|
edit
|
history
|
help
0
iris
simple program
ModeloSirdItaly-17-02-2021
Vector
Pi estimation
此次次
Change text from ALL CAPS to Title Case
TH1
Zerlina L Bi-variate Regression
Hernani