Error in encode character

When I am run the command:
encode::decode(data5_IFLS5$ks2type)

The result be:
Error in encode.character(unique(x), unique(x), sep = defaultSep(unique(x))) : **
** elements of x cannot be empty strings

Anyone can help me, please?

I obviously can't know what data5_IFLS5$ks2type is / contains
I can guess its a character vector, but some elements are empty strings, and encode::decode isn't handling that gracefully ?

Thank you for your response. I already finished it several times ago. It's my bad because didn't understand the data very well.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.