Displaying 2 results from an estimated 2 matches for "sbcd".
Did you mean:
bcd
2012 May 09
4
Can't read xlsx file into R. Seem, Seem to have XLConnect loaded.
...t;grDevices"
[5] "methods" "rJava" "stats" "tools"
[9] "utils" "XLConnect" "XLConnectJars"
XLConnect is listed. Does that mean it is loaded?
> getwd()
[1] "F:/RwkCB3/R OG SBCD 1205v01"
> list.files()
[1] "~$ R OG SBCD 1205 MH1.docx" "~WRL2121.tmp"
[3] "01 R OG SBCD 1205 MH1 BU1.docx" "01 R OG SBCD 1205 MH1.docx"
[5] "01 R OG SBCD 1205v01 BU2" "Dta1.txt"
[7] "Gas Dly YTD1204...
2023 Mar 27
1
Cambiar orden top-down stacked area ggplot2
...sta tener la C7
arriba.
Gracias,
Manuel
year<-c(rep(1990, times=7),rep(2018, times=7),rep(2040, times=7),rep(2060,
times=7),rep(2080, times=7),rep(2100, times=7))
cat<-c(rep(c("C1","C2","C3","C4","C5","C6","C7"), times=6))
sbcd<-c(0, 0, 0, 0, 0, 0, 0, 90, 164, 132, 175, 234, 6, 0, 265, 73, 143,
595, 560, 94, 3, 256, 72, 157, 657, 618, 143, 3, 279, 75, 180, 688, 711,
205, 5, 275, 95, 185, 672, 817, 305, 5)
data <- data.frame(year, sbcd, cat)
ggplot(data, aes(x=year, y=sbcd, fill=cat)) +
geom_area()+
scale_fill_ma...