search for: tblvalu

Displaying 2 results from an estimated 2 matches for "tblvalu".

Did you mean: tblvalues
2017 Sep 21
0
List of occuring values
...cies as an array with dimnames. data.frame(table(x)) will give you a 2-column data.frame with the distinct values and their frequencies. > values <- c("Small", "Large", "Large", "Large") > unique(values) [1] "Small" "Large" > tblValues <- table(values) > tblValues values Large Small 3 1 > tblValues[tblValues > 2, drop=FALSE] values Large 3 > > dfValues <- data.frame(tblValues) > dfValues values Freq 1 Large 3 2 Small 1 > subset(dfValues, Freq > 2) values Freq 1 Large 3 &...
2017 Sep 21
4
List of occuring values
Dear all, ftable produces a list of the frequencies of all occuring values. But how about the occuring values? How can I retrieve a list of occuring values? How can I retrieve a table with both the list of occuring values and their respective frequencies? Thank you in advance, Yours, Ferri