Hi man, you helped me so much in order to prepare a good quality graph for an Eolic Energy issue and off course you avoided me the job of developing that on Excel. Have a hug from Bogotá-Colombia
@ProfOlawaleAwe4 жыл бұрын
Thanks for your videos. You have really helped me a lot!
@paolobena3 жыл бұрын
Great tutorial!
@CanDoSo_org3 жыл бұрын
Very useful.
@emnakammoun68123 жыл бұрын
thank you very much. very helpful! how can I add error bars to a plot in R please?
@田你-r1f9 жыл бұрын
Thanks man help me a lot
@marinstatlectures9 жыл бұрын
you're welcome +田你 !
@mayankgambhir62737 жыл бұрын
Hi, Thanks for the video. I would like to know if it possible to use the formula for correlation within the text command itself and not hard code it. For example I would like to use something like labels = "r = cor(a, b)" instead of using labels = "r = 0.82". I tried using it at my local but i could only get either the value or the quoted text and not both. I tried different ways of achieving it but was not successful.
@joshua432148 жыл бұрын
Great video. How do you use the actual r value, so you do not have to manually input it. In Python, you would use something like "R = " + str(round(corr(LungCap,Age),2)) which would roundit to 2 decimal places. Also, can you input Latex into plots? In other words, can you do sub strings and exponents? In Python, you use the escape character to indicate a latex string.
@shreyansbathiyan80510 жыл бұрын
Hi, Very good videos..! I am wondering how can we memorize those commands and their attributes.. Framing logic seems easy but writing them in code needs to memorize all commands. Would you please guide on how to go through it.. Thanks in advance, -S
@marinstatlectures10 жыл бұрын
Hi Shreyans Bathiyan , thanks. how to remember something is quite personal, and what works for one person won't necessarily work for another. one suggestion i could make is to create a short document for yourself, with each command you learn and a brief outline of what it does, and how to use it. you could continually add to this document as you learn new R commands. hope that helps.
@shreyansbathiyan80510 жыл бұрын
Thnks...looking foward for more informative videos.
@marinstatlectures10 жыл бұрын
Thanks Shreyans Bathiyan , we're always working on something, and tend to get a lot more of them done in the summer time, when our schedules are less hectic.
@notventjan73296 жыл бұрын
Yes, that is what I'm doing.
@webverse344210 жыл бұрын
Really great tutorials !! No tutorials on NA values ..?? How to make R packages any resource on that...// thanks in advance !!
@marinstatlectures10 жыл бұрын
Hi Aakash saxena , most of the R commands allow you to use things like *na.omit* to omit NA values from the analysis, you can check out *?na.action* for some help on this from R. we are working on a series for more advanced ways of dealing with missing data, but this will be a few months before we are ready to release that. as for creating R packages, we don't plan on making any videos like that, but there are other good resources out there on the topic.
@webverse344210 жыл бұрын
okayez...thank you very much..!!
@Matdan153 жыл бұрын
Great video but how about if my X is char how to declare it
@yurimolotov33558 жыл бұрын
Thank you a lot for that video, but I want to ask, if I wrote wrong function on graph (added text on side 2 instead of side 3) is it way to remove it?
@marinstatlectures8 жыл бұрын
Hi +Yuri Molotau , you will just have to make the plot again. this is usually how things are done, you keep making a plot over again a few times, making small changes, until you get it to look just the way you want it to. the best thing to do is to use a script that you can just enter over and over again, continually making small changes to it.
@olinaz18393 жыл бұрын
How would you add graph captions in R?
@merumomo8 жыл бұрын
Great video! Now how do you add text if the plot was bar graph and x axis has a name for each bar graph?
@marinstatlectures8 жыл бұрын
Hi +merumomo , we have a video showing how to change the x-axis labels specifically for bar plots here (kzbin.info/www/bejne/e6HLkIxmd9J7i5I) , as well as a video showing how to change the x-axis labels for all types of plots (kzbin.info/www/bejne/ooGyhKqcrbKXacU) , so i will refer you to those, as they provide a more comprehensive explanation than i can in a comment section here.
@merumomo8 жыл бұрын
Thank you for your help!
@Cam-fz6iu6 жыл бұрын
What would you set your text(x=) argument to if the x-axis is a date value?
@marinstatlectures5 жыл бұрын
Hi, the "x" and "y" are the x-y coordinates of where you want the text to appear on the plot. if the x-axis is not numeric (but dates, or categories/factors, and things like this), most often x represents one of two things. either: 1) x will span from 0 to 1, with 0 being the furthest left on the plot, and 1 the furthest right on the plot....so the value of x is the relative position on the x-axis of where to have the text appear. or 2) the first category/factor-level of x will be position x=1, and the second category will be position x=2, and so on...and x is used this way. try out these two suggestions, and one of them should work out for you...
@imsujitpaul4 жыл бұрын
Hi, Mike I was going through a online R course and faces one problem, I couldn't find the solution. Could you please help?
@lastsak31859 жыл бұрын
Hello! First of all thanks for the videos and congrats for the effort! I need to represent 4 plots in 1 window. so i use par(mfrow=c(2,2). but i need a headline for the whole window. could you please tell me the command? i'm trying with mtext(text"blab bla",side=3, outer=T) . what am i doing wrong?
@marinstatlectures9 жыл бұрын
Thalis Tsaklas you're pretty much there, you just need to include one more argument in your *mtext* command. if you include a *line=-2* that should get you there. (i.e.) *mtext("Title you want", side=3, outer=T, line=-2)*. and you can play around with the value for the *line* argument to move the title up/down a bit, if the -2 isn't exactly where you want it to be.
@saadalhumaid39593 жыл бұрын
Good tutorial but how comes you mot discussing how to do meta analysis using r studio?
@zedor15536 жыл бұрын
can you do another video on how to align legends in plots where you want instead of "topright", etc.
@marinstatlectures6 жыл бұрын
Hi, we've already got that covered :) check out this video of ours to learn all about adding legends to plots (the x=, y= give the x/y coordinates of the upper left of the legend box): kzbin.info/www/bejne/o3OWmoambpKChsU
@igcn110 жыл бұрын
how to modify the previous text? say you want to put your text at the bottom initially, but after doing so, you find it is not as good and then you want to put it on the top?
@marinstatlectures10 жыл бұрын
HI igcn1 , you reproduce the plot. in R, there is not "editing" of an existing plot, you re-submit the plot command with the text in the new position that you want it to be, to produce a new plot.
@igcn110 жыл бұрын
thanks
@rszhu98258 жыл бұрын
Hi, Marin! Thanks a lot for your help to my studying R, but some Videos could not be watched, I wonder why? Some knowledge is very need. Could you help me! Thanks again. Kevin
@marinstatlectures8 жыл бұрын
Hi +Rs Zhu , I'm not sure why you are having issues viewing some videos...that will not be to do with the videos, but it will be an issue on your end. you may need to update some software, or something like that. hope you can figure it out soon.