
base + scale_x_date(date_labels = "%d%m%Y")
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ggplot2/c2bd9166-1ffd-483c-8986-53082c7b8913%40googlegroups.com.
Error in data %>% ggplot(aes(`Date of acquisition`, `Bperp(m)`)) :
could not find function "%>%"--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ggplot2/5bae55fb-0b52-48c8-8283-951eb3ba5d2c%40googlegroups.com.
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ggplot2/4c284569-abbf-4b46-a8a3-29cf4c390ab0%40googlegroups.com.
> library(tidyverse) > library(readxl) > library(magrittr) # needs to be run every time you start R and want to use %>% > library(dplyr) # alternatively, this also loads %>% > > data <- read_excel("Desktop/Sentinel-1 Metadata info.xls") |
> centroid <- slice(data,1) > > > data %>% |
+ ggplot(aes(`Date of acquisition`, `Bperp(m)`)) + + geom_point() + |
+ geom_segment(aes(x = centroid$`Date of acquisition`, y = centroid$`Bperp(m)`, |
+ xend = `Date of acquisition`, yend = `Bperp(m)`)) + + scale_x_date(date_labels = "%d/%m/%Y") + + theme_minimal() Error: Invalid input: date_trans works with objects of class Date only | |
|
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ggplot2/29e172c9-60dc-4e02-91b0-368091c9d03c%40googlegroups.com.