Code
gather(df, key, val, -x)
Condition
Error:
! 'x' is a POSIXlt. Please convert to POSIXct.
Code
gather(df, key, val, -y)
Condition
Error:
! Column 1 is a POSIXlt. Please convert to POSIXct.
Code
gather(df, key, val, -y)
Condition
Error:
! All columns be atomic vectors or lists (not expression)
Code
gather(df, key, val, -x)
Condition
Error:
! All columns must be atomic vectors or lists. Problem with 'x'
Code
gather(df, key, val, -y)
Condition
Error:
! All columns must be atomic vectors or lists. Problem with column 2.
Code
out <- gather(df, k, v)
Condition
Warning:
attributes are not identical across measure variables; they will be dropped
Code
gather(df, k, v)
Condition
Warning:
attributes are not identical across measure variables; they will be dropped
Output
k v
1 date1 1546300800
2 date2 17897
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.