我使用daisy函数计算距离,但遇到以下警告:
In cluster::daisy(mixusefull2) :binary variable(s) 6 treated as interval
scaled
我的数据及其类型如下:
str(mixusefull2)
'data.frame': 2 obs. of 10 variables:
$ protocol_type : Factor w/ 3 levels "icmp","tcp","udp": 2 2
$ service : Factor w/ 63 levels
"auth","bgp","courier",..: 20 20
$ src_bytes : int 315 330
$ count : int 5 6
$ srv_count : int 5 6
$ diff_srv_rate : num 0 0
$ dst_host_srv_count : int 255 255
$ dst_host_same_srv_rate : num 1 1
$ dst_host_diff_srv_rate : num 0 0
$ dst_host_same_src_port_rate: num 0 0
为什么这个警告显示我?请帮助我。谢谢