Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

generate bin frequency table in R

br = seq(0,1,by=0.1)

ranges = paste(head(br,-1), br[-1], sep=" - ")
freq   = hist(x, breaks=br, include.lowest=TRUE, plot=FALSE)

data.frame(range = ranges, frequency = freq$counts)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #generate #bin #frequency #table #R
ADD COMMENT
Topic
Name
2+5 =