Turning a double variable into a factor

1

Hello,

I'm trying to convert a variable from type double to factor

ppar$abor <- as.factor(ppar$abor)

But I'm getting the following error:

Error in '$<-.data.frame'('*tmp*', abor, value = integer(0)) :
    
asked by anonymous 23.07.2018 / 01:52

0 answers