Displaying 2 results from an estimated 2 matches for "dfvalu".
Did you mean:
d_val
2017 Sep 21
0
List of occuring 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
>
> factorValues <- factor(values,
levels=c("Small","Medium","Large","XLarge"))
> data.frame(table...
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