Пікірлер
@Amis98
@Amis98 Ай бұрын
Thank you very much... May I kindly have your email address for further contact?
@Chale1288
@Chale1288 Ай бұрын
fuck ggplot2, this is by far more straightforward with base R.
@studentofeconomics.7841
@studentofeconomics.7841 6 ай бұрын
how did you select the extent for South America??
@sandralissete9009
@sandralissete9009 10 ай бұрын
Hola ami me sale error en scale_fill_manual(name='',values=c('darkred','steelblue'))+ .... Error in `palette()`: ! Insufficient values in manual scale. 10 needed but only 2 provided.
@habtamuabay9656
@habtamuabay9656 11 ай бұрын
how to fix "Error in `geom_sf()" in r
@samuelvitor2424
@samuelvitor2424 11 ай бұрын
Show de bola
@andresvinueza1992
@andresvinueza1992 Жыл бұрын
Gracias, tras una tarde buscando esto lo encontre resumido en 5 minutos.
@antoniocaicedobaltodano6724
@antoniocaicedobaltodano6724 Жыл бұрын
Hola, qué sucede? climate <- crop(climate,extent(-82,-34,-60.15)) Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘crop’ for signature ‘"list"’
@jimmypratama3678
@jimmypratama3678 2 жыл бұрын
why when i use the geom_line its always error, its says "Each group consists of only one observation."
@libradososa5394
@libradososa5394 2 жыл бұрын
Genial, definitivamente muy útil!! Gracias. Thanks!!
@ahmed007Jaber
@ahmed007Jaber 2 жыл бұрын
thank you for this; I am trying to visulaise the below but I am getting straight lines connected in the same year. any idea how to fix it? world_bank_pop %>% # tibble() %>% # janitor::clean_names() %>% pivot_longer(cols = 3:20, names_to = "date_data", values_to= "num_values") %>% tibble() %>% head(100) %>% ggplot(aes(date_data, num_values, groups = country)) + # geom_line()+ geom_point()
@paulosergiopansesilveira9556
@paulosergiopansesilveira9556 2 жыл бұрын
It is a great help. Thank you. I am newbie in maps and raster... I am intending to create some with my own data (it seems hard to understand) instead of use raster maps already available in the Web. May I suggest I video for the initial steps in raster creation and adjust on a geographic map (e.g., epidemiological data)?
@Lala-eh7mr
@Lala-eh7mr 2 жыл бұрын
how could the propec scale becomes minus 2.5 till positiive 2.5 , i mean it supposed to be percentages so it couldnt be negative, is the propec for male supposed to be *minus 100? ( i asked) because i literally copy your syntax but my plot turned to be basic stack bar plot
@sergiocosta6151
@sergiocosta6151 2 жыл бұрын
I I mentioned this error in the description of the video and I made available the code that corrects the negative values ​​in the scale. Check te code on my github github.com/sergiocostafh/ggplot2_dataviz/blob/master/Population%20pyramid%20chart%20with%20geom_bar().R
@rafaafeitos
@rafaafeitos 2 жыл бұрын
Ficou showwww
@xinking2644
@xinking2644 2 жыл бұрын
wow, beautiful plot. thank you
@addisudamtew5067
@addisudamtew5067 2 жыл бұрын
Wow! Thank you so much !
@vincenzo4259
@vincenzo4259 2 жыл бұрын
Thanks
@vincenzo4259
@vincenzo4259 2 жыл бұрын
Thanks
@isispetrocelli5495
@isispetrocelli5495 3 жыл бұрын
Amazing tutorial, helped me to make mz raster points looks great
@asrimaharani3289
@asrimaharani3289 3 жыл бұрын
Why mine said could not find function ggplot
@danielneri6281
@danielneri6281 3 жыл бұрын
Thanks :)
@wanglisong5764
@wanglisong5764 3 жыл бұрын
Fantastical tutorial, best one!
@IOOPLorenz
@IOOPLorenz 3 жыл бұрын
estaba buscando este video, un diez
@purbashachowdhury2985
@purbashachowdhury2985 3 жыл бұрын
Hi, I need to plot map of an Indian state. Would you please help me?
@prashantshekhar1012
@prashantshekhar1012 3 жыл бұрын
Yes I can help
@purbashachowdhury2985
@purbashachowdhury2985 3 жыл бұрын
@@prashantshekhar1012 thank U so much for replying! Can we connect(gmeet) ASAP? plz let me know your email!
@IrinaLizunova-q4l
@IrinaLizunova-q4l 3 жыл бұрын
It's REALLY the best video about graphics on R. i loveeee it!!! thank you sooo much !!
@SmoothCode
@SmoothCode 3 жыл бұрын
This is the kind of coding tutorials I would pay for.
@SmoothCode
@SmoothCode 3 жыл бұрын
Awesome video! Please do more step-by-step R data visualization tutorials!
@filmonafewerki7884
@filmonafewerki7884 3 жыл бұрын
Bravo!!! Lol, thanks for sharing.
@ProfBoggs
@ProfBoggs 3 жыл бұрын
Thank you for posting a technique that divides the number of males in a cohort by TOTAL population, and number of females in a cohort by TOTAL population. I have seen numerous webpages and KZbin videos who divide male or female cohort by the total male or female population. Also, thank you for this coding demonstration. This is exactly what I needed.
@alifashraff8297
@alifashraff8297 3 жыл бұрын
Thanks bro, lu mmg mantap...
@eloyjuniorrezende2196
@eloyjuniorrezende2196 3 жыл бұрын
Top demais! voce foi bem em tudo até na música, pra acalmar a turma desesperada por informações! Thaks a lot
@juancarlosroa8761
@juancarlosroa8761 3 жыл бұрын
Amazing!!, Can I add geom_point on geom_sf() ?
@IrakliKavtaradzepsyche
@IrakliKavtaradzepsyche 3 жыл бұрын
Thank you very much! One question, when you export it as pdf, can you modify each element of the map in photo editing app (illustrator)?
@AndyArthur
@AndyArthur 3 жыл бұрын
You would be better off to export as svg for editing
@roshnipuli8553
@roshnipuli8553 4 жыл бұрын
where did you get the preciptation data from?
@emrecanaksakal8307
@emrecanaksakal8307 4 жыл бұрын
How can i add value for grid?
@Flavio_Marchi
@Flavio_Marchi 4 жыл бұрын
Muito bom! Me ajudou bastante esses mapas do Brasil.
@maksim0933
@maksim0933 4 жыл бұрын
Very nice code! Thanks! However, generally accepted for females - on right, males - on left. But this may vary in different scientific societies.
@ProfBoggs
@ProfBoggs 3 жыл бұрын
You are correct. At least in English-language demography publications, males are on the left and females are on the right.
@mubangansofu7469
@mubangansofu7469 2 жыл бұрын
Fantastic video.. please note tidyverse contains ggplot2 library so loading tidyverse is enough.
@igorakcio
@igorakcio 4 жыл бұрын
Thank you, very much. Your video allowed me to finaly understand and plot the choropleth
@jasonrobin7306
@jasonrobin7306 4 жыл бұрын
I don't understand how the url link works.
@maksim0933
@maksim0933 4 жыл бұрын
why viridis library not loaded in the beginning?
@maksim0933
@maksim0933 4 жыл бұрын
Great lesson) one little question: how to add a custom (not OSM) base map for aesthetic purposes?
@dilshadsaeed2857
@dilshadsaeed2857 4 жыл бұрын
when I run climate=raster::getData('worldclim', var='bio',res=2.5) I get error : Could not download file -- perhaps it does not exist Error in file(con, "r") : cannot open the connection In addition: Warning messages: 1: In utils::unzip(zipfile, exdir = dirname(zipfile)) : error 1 in extracting from zip file 2: In file(con, "r") : cannot open file 'C:/Users/Hi/Documents/wc2-5/bio1.hdr': No such file or directory
@johannamartinez5463
@johannamartinez5463 4 жыл бұрын
Qué buenos videos!!!!!!
@annestephen3174
@annestephen3174 4 жыл бұрын
Hello, How can i get the data you are using on this clip. Great Work.
@sergiocosta6151
@sergiocosta6151 4 жыл бұрын
The data is in the base package `datasets`. Just load the package and type `Orange` to see it, as shown in the video.
@epoxiconazole1
@epoxiconazole1 4 жыл бұрын
So many infos in one video !! Great. Thank you.
@joshuadelabruere4262
@joshuadelabruere4262 4 жыл бұрын
FYI the gather() and spread() from dplyr have been depreciated. Use pivot_longer() and pivot_wider() as these can accomplish the same result, with clearer syntax.
@sergiocosta6151
@sergiocosta6151 4 жыл бұрын
Thanks for the contribution, i accepted your pull request on github.
@jd-hb9pe
@jd-hb9pe 4 жыл бұрын
Brilliant video. Thanks Sergio!
@danielvalentins1756
@danielvalentins1756 4 жыл бұрын
Very beautiful map! there is a package called 'brazilmaps', with this package you don't need to download the shapefiles, take a look. Looking forward to more videos, good job!
@wenliiding6879
@wenliiding6879 4 жыл бұрын
trying URL 'biogeo.ucdavis.edu/data/climate/worldclim/1_4/grid/cur/bio_2-5m_bil.zip' Content type 'application/zip' length 129319755 bytes (123.3 MB) ======= downloaded 19.6 MB Error in utils::download.file(url = aurl, destfile = fn, method = "auto", : download from 'biogeo.ucdavis.edu/data/climate/worldclim/1_4/grid/cur/bio_2-5m_bil.zip' failed In addition: Warning messages: 1: In utils::download.file(url = aurl, destfile = fn, method = "auto", : downloaded length 20594688 != reported length 129319755 2: In utils::download.file(url = aurl, destfile = fn, method = "auto", : URL 'data.biogeo.ucdavis.edu/data/climate/worldclim/1_4/grid/cur/bio_2-5m_bil.zip': status was 'Failure when receiving data from the peer' It seems like that I could not download the data
@chrisharrod7771
@chrisharrod7771 4 жыл бұрын
I hit a bot of a problem with > rasdf <- as.data.frame(raster,xy=TRUE)%>%drop_na(raster) Produced the following: Error in drop_na(., raster) : could not find function "drop_na"...
@sergiocosta6151
@sergiocosta6151 4 жыл бұрын
load tidyverse package to enable drop_na() function
@antonelladiane
@antonelladiane 3 жыл бұрын
Otherwise na.omit(your dataframe)