Tag: R

R shell session to plot a Graph

The following is a R shell session to plot a graph. $R R version 3.0.3 (2014-03-06) — “Warm Puppy” Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type ‘license()’ or ‘licence()’ for …

Read More

BUBBLE SORT USING RUBY. GRAPH FOR ARRAY SIZE 300

Wed Apr 2 21:06:24 IST 2014 real 0m0.193s user 0m0.032s sys 0m0.004s real 0m0.033s user 0m0.028s sys 0m0.004s real 0m0.030s user 0m0.028s sys 0m0.000s real 0m0.032s user 0m0.024s sys 0m0.008s real 0m0.028s user 0m0.024s sys 0m0.000s

Read More

BUBBLE SORT USING RUBY. GRAPH FOR ARRAY SIZE 100

Sun Mar 30 17:49:05 IST 2014 real 0m0.398s user 0m0.032s sys 0m0.008s real 0m0.019s user 0m0.016s sys 0m0.000s real 0m0.023s user 0m0.020s sys 0m0.000s real 0m0.024s user 0m0.020s sys 0m0.000s real 0m0.024s user 0m0.020s sys 0m0.000s

Read More

R boxplot – Produce box-and-whisker plot(s) of the given (grouped) values

R shell session > boxplot function (x, …) UseMethod(“boxplot”) > boxplot(1,2) > boxplot(1,2) > boxplot(1,2,3) > threads levels(threads) [1] “0” “1” “2” “3” “4” “5” “6” “7” “8” “9” > maximum boxplot(threads,maximum) > minimum boxplot(threads,maximum,minimum) > actual boxplot(threads,maximum,minimum,actual) > png(file=”Rboxplot.png”) > boxplot(threads,maximum,minimum,actual) > dev.off() null device 1 > FIXME : create a R boxplot image …

Read More

R barplot for ls command details

commandline session root>R R version 3.1.2 (2014-10-31) — “Pumpkin Helmet” Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type ‘license()’ or ‘licence()’ for distribution details. Natural language support but running in an …

Read More