Se afișează postările cu eticheta R Studio. Afișați toate postările
Se afișează postările cu eticheta R Studio. Afișați toate postările

duminică, 9 iunie 2019

Prezentare Martech Bucharest #3

Miercuri, am tinut o prezentare la Martech pe care o gasiti aici

Detaliile notebook-ului de R sunt aici

Daca vreti sa participati in comunitatea de R, va astept in R-Ladies Bucharest aici

O duminica placuta,
Ines 

joi, 6 iunie 2019

O librarie uber-cool pentru grafice: gganimate

library(gganimate);
anim<-ggplot( prez_vot,  aes(Ore, Prezenta_la_vot)) +
  geom_line(color="green") +
  scale_color_viridis_d() +
  labs(x = "Ora", y = "Prezenta") +
  theme(legend.position = "top") + geom_point() + 
  transition_reveal(Ore) +
  shadow_mark() + enter_grow() 
anim

Evolutie prezenta la vot - nivel national - alegeri europarlamentare
26 Mai 2019
Pentru data input, am folosit rezultatele disponibile pe site-ul de monitorizare prezenta.bec.ro si le-am adus intr-un Excel pe care l-am importat in R Studio, astfel:
library(readxl)
prez_vot <- read_excel("~/R/Data_PrezentaVOT.xlsx", sheet = "data")
View(prez_vot)
Ore Prezenta_la_vot
1899-12-31 08:00:00 0.0133  
1899-12-31 09:00:00 0.0336  
1899-12-31 10:00:00 0.0656  
1899-12-31 11:00:00 0.1058  
1899-12-31 12:00:00 0.1506  
1899-12-31 13:00:00 0.1975  
1899-12-31 14:00:00 0.2391  
1899-12-31 15:00:00 0.2768  
1899-12-31 16:00:00 0.3129  
1899-12-31 17:00:00 0.3507
1899-12-31 18:00:00 0.3901  
1899-12-31 19:00:00 0.4287  
1899-12-31 20:00:00 0.4640  
1899-12-31 21:00:00 0.4882 

sâmbătă, 11 mai 2019

Cum sa pornesti la drum cu R?

 E bine de stiut ca R se instaleaza in 3 pasi:


  • Caut intr-un motor de cautare: "download R" si in primele pozitii mi se vor returna  cele 2 linkuri utile
in printscreen, se observa ca pozitia 1 si 3 reprezinta  linkurile utile
  • Downloadez R: https://cran.r-project.org/bin/windows/base/
 download R 

  •  Downloadez R Studio: 
https://www.rstudio.com/products/rstudio/download/


Mai trebuie sa am grija sa instalez prima oara R, iar dupa aceea R Studio.

Voila! Acum suntem gata de R!