Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data:
12.9 12.2 12.8 7.4 6.7 12.6 14.8 13.3 11.1 8.2 11.4 6.4 10.6 12 6.3 11.3 11.9 9.3 9.6 10 6.4 13.8 10.8 13.8 11.7 10.9 16.1 13.4 9.9 11.5 8.3 11.7 9 9.7 10.8 10.3 10.4 12.7 9.3 11.8 5.9 11.4 13 10.8 12.3 11.3 11.8 7.9 12.7 12.3 11.6 6.7 10.9 12.1 13.3 10.1 5.7 14.3 8 13.3 9.3 12.5 7.6 15.9 9.2 9.1 11.1 13 14.5 12.2 12.3 11.4 8.8 14.6 12.6 13 12.6 13.2 9.9 7.7 10.5 13.4 10.9 4.3 10.3 11.8 11.2 11.4 8.6 13.2 12.6 5.6 9.9 8.8 7.7 9 7.3 11.4 13.6 7.9 10.7 10.3 8.3 9.6 14.2 8.5 13.5 4.9 6.4 9.6 11.6 11.1 4.35 12.7 18.1 17.85 16.6 12.6 17.1 19.1 16.1 13.35 18.4 14.7 10.6 12.6 16.2 13.6 18.9 14.1 14.5 16.15 14.75 14.8 12.45 12.65 17.35 8.6 18.4 16.1 11.6 17.75 15.25 17.65 16.35 17.65 13.6 14.35 14.75 18.25 9.9 16 18.25 16.85 14.6 13.85 18.95 15.6 14.85 11.75 18.45 15.9 17.1 16.1 19.9 10.95 18.45 15.1 15 11.35 15.95 18.1 14.6 15.4 15.4 17.6 13.35 19.1 15.35 7.6 13.4 13.9 19.1 15.25 12.9 16.1 17.35 13.15 12.15 12.6 10.35 15.4 9.6 18.2 13.6 14.85 14.75 14.1 14.9 16.25 19.25 13.6 13.6 15.65 12.75 14.6 9.85 12.65 19.2 16.6 11.2 15.25 11.9 13.2 16.35 12.4 15.85 18.15 11.15 15.65 17.75 7.65 12.35 15.6 19.3 15.2 17.1 15.6 18.4 19.05 18.55 19.1 13.1 12.85 9.5 4.5 11.85 13.6 11.7 12.4 13.35 11.4 14.9 19.9 11.2 14.6 17.6 14.05 16.1 13.35 11.85 11.95 14.75 15.15 13.2 16.85 7.85 7.7 12.6 7.85 10.95 12.35 9.95 14.9 16.65 13.4 13.95 15.7 16.85 10.95 15.35 12.2 15.1 17.75 15.2 14.6 16.65 8.1
Sample Range:
(leave blank to include all observations)
From:
To:
Number of bins
(leave empty to use default)
(?)
Colour
grey
white
blue
red
black
brown
yellow
Bins are closed on right side
FALSE
TRUE
Scale of data
Unknown
Interval/Ratio
3-point Likert
4-point Likert
5-point Likert
6-point Likert
7-point Likert
8-point Likert
9-point Likert
10-point Likert
11-point Likert
Chart options
Title:
Label x-axis:
R Code
par1 <- as.numeric(par1) if (par3 == 'TRUE') par3 <- TRUE if (par3 == 'FALSE') par3 <- FALSE if (par4 == 'Unknown') par1 <- as.numeric(par1) if (par4 == 'Interval/Ratio') par1 <- as.numeric(par1) if (par4 == '3-point Likert') par1 <- c(1:3 - 0.5, 3.5) if (par4 == '4-point Likert') par1 <- c(1:4 - 0.5, 4.5) if (par4 == '5-point Likert') par1 <- c(1:5 - 0.5, 5.5) if (par4 == '6-point Likert') par1 <- c(1:6 - 0.5, 6.5) if (par4 == '7-point Likert') par1 <- c(1:7 - 0.5, 7.5) if (par4 == '8-point Likert') par1 <- c(1:8 - 0.5, 8.5) if (par4 == '9-point Likert') par1 <- c(1:9 - 0.5, 9.5) if (par4 == '10-point Likert') par1 <- c(1:10 - 0.5, 10.5) bitmap(file='test1.png') if(is.numeric(x[1])) { if (is.na(par1)) { myhist<-hist(x,col=par2,main=main,xlab=xlab,right=par3) } else { if (par1 < 0) par1 <- 3 if (par1 > 50) par1 <- 50 myhist<-hist(x,breaks=par1,col=par2,main=main,xlab=xlab,right=par3) } } else { plot(mytab <- table(x),col=par2,main='Frequency Plot',xlab=xlab,ylab='Absolute Frequency') } dev.off() if(is.numeric(x[1])) { myhist n <- length(x) load(file='createtable') a<-table.start() a<-table.row.start(a) a<-table.element(a,hyperlink('http://www.xycoon.com/histogram.htm','Frequency Table (Histogram)',''),6,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Bins',header=TRUE) a<-table.element(a,'Midpoint',header=TRUE) a<-table.element(a,'Abs. Frequency',header=TRUE) a<-table.element(a,'Rel. Frequency',header=TRUE) a<-table.element(a,'Cumul. Rel. Freq.',header=TRUE) a<-table.element(a,'Density',header=TRUE) a<-table.row.end(a) crf <- 0 if (par3 == FALSE) mybracket <- '[' else mybracket <- ']' mynumrows <- (length(myhist$breaks)-1) for (i in 1:mynumrows) { a<-table.row.start(a) if (i == 1) dum <- paste('[',myhist$breaks[i],sep='') else dum <- paste(mybracket,myhist$breaks[i],sep='') dum <- paste(dum,myhist$breaks[i+1],sep=',') if (i==mynumrows) dum <- paste(dum,']',sep='') else dum <- paste(dum,mybracket,sep='') a<-table.element(a,dum,header=TRUE) a<-table.element(a,myhist$mids[i]) a<-table.element(a,myhist$counts[i]) rf <- myhist$counts[i]/n crf <- crf + rf a<-table.element(a,round(rf,6)) a<-table.element(a,round(crf,6)) a<-table.element(a,round(myhist$density[i],6)) a<-table.row.end(a) } a<-table.end(a) table.save(a,file='mytable.tab') } else { mytab reltab <- mytab / sum(mytab) n <- length(mytab) load(file='createtable') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Frequency Table (Categorical Data)',3,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Category',header=TRUE) a<-table.element(a,'Abs. Frequency',header=TRUE) a<-table.element(a,'Rel. Frequency',header=TRUE) a<-table.row.end(a) for (i in 1:n) { a<-table.row.start(a) a<-table.element(a,labels(mytab)$x[i],header=TRUE) a<-table.element(a,mytab[i]) a<-table.element(a,round(reltab[i],4)) a<-table.row.end(a) } a<-table.end(a) table.save(a,file='mytable1.tab') }
Compute
Summary of computational transaction
Raw Input
view raw input (R code)
Raw Output
view raw output of R engine
Computing time
0 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation