Skip to main content
added 82 characters in body
Source Link
gringer
  • 15.1k
  • 5
  • 24
  • 83

I was able to get it to work by converting the column in the dataframe to a character using this command:

df$day <- as.character(df$day)

and it worked like a charm! Thanks for your advice @haci

You can give a try by converting the column of numbers to a factor variable.

enter image description here

I was able to get it to work by converting the column in the dataframe to a character using this command:

df$day <- as.character(df$day)

and it worked like a charm! Thanks for your advice @haci

enter image description here

I was able to get it to work by converting the column in the dataframe to a character using this command:

df$day <- as.character(df$day)

and it worked like a charm! Thanks for your advice @haci

You can give a try by converting the column of numbers to a factor variable.

enter image description here

Source Link
rimo
  • 1.1k
  • 3
  • 18

I was able to get it to work by converting the column in the dataframe to a character using this command:

df$day <- as.character(df$day)

and it worked like a charm! Thanks for your advice @haci

enter image description here