Displaying 1 result from an estimated 1 matches for "lsclusjt3".
2010 Nov 06
0
variable type assignment in daisy
...ining to
physical activity frequency and duration
dietp1 is an ordinal variable with 3 categories pertaining low,
medium, high consumption of Western diet
dietp3 is an ordinal variable with 3 categories pertaining to
low, medium, high consumption of prudent diet
>head(lsclusjt3)
sfq afq pafd dietp1 dietp3
1 1 1 3 1 2
2 1 1 3 3 3
3 1 1 1 2 1
4 1 1 1 2 2
5 1 2 3 3 3
6 1 1 1 2 2
>dm=daisy(lsclusjt3,metric="gower", stand=FALSE,type=list(nominal=c(1,2,3), ordi...