ICTatRTI / PersonAlytics

PersonAlytics: Analytics for single-case and small N intensive longitudinal designs, idiographic clinical trials (ICT), and interrupted time series.
3 stars 2 forks source link

checkID() fails for rce example if ids not numeric #36

Closed stueller closed 7 months ago

stueller commented 7 months ago

in line 88 of clean(), checkID() failed for example, line 210 is

lunx <- length(unique(as.numeric(x)))

and should be

lunx <- length(unique(as.numeric(factor(x))))

and line 216 is

if(lux==lunx)

and should be

if(lux!=lunx)