Displaying 1 result from an estimated 1 matches for "classend".
Did you mean:
classed
2005 May 24
1
Contingency tables from data.frames
...ges(x),
'Scott' = nclass.scott(x),
'FD' = nclass.FD(x),
stop("'breaks' must be 'Sturges', 'Scott' or 'FD'"))
tmp <- range(x)
classIni <- tmp[1] - tmp[2]/100
classEnd <- tmp[2] + tmp[2]/100
R <- classEnd-classIni
h <- R/k
# Absolut frequency
f <- table(cut(x, br = seq(classIni, classEnd, h), right = right))
# Relative frequency
fr <- f/length(x)
# Relative frequency, %
frP <- 100*(f/lengt...