Hefin Rhys
Hefin Rhys
  • Видео 9
  • Просмотров 1 044 666
Manipulating and exploring data with dplyr
A video tutorial on how to subset, transform and summarise your data using the dplyr package. Please view in HD by clicking on the cog (bottom right corner). Download the R script here: drive.google.com/open?id=1Lhicwq5dYajsTAu5Pi1TC-C6xl0x6yuW
Просмотров: 18 961

Видео

Cluster analysis
Просмотров 93 тыс.7 лет назад
Video tutorial on performing various cluster analysis algorithms in R with RStudio. Please view in HD (cog in bottom right corner). Download the R script here: drive.google.com/open?id=1KqtTDkCU2XsJi29m2S8sZ1oDBf-T5ZS2
Writing functions in R
Просмотров 41 тыс.7 лет назад
A video tutorial on how to write your own functions in R with RStudio. You should have watched the video on Conditional Statements and Loops first. Please view in HD by clicking on the cog (bottom right corner). Download the R script here: drive.google.com/open?id=1zqgWUbhf4ZnvtF-usbMBbXYg4HewskMk
Introduction to R and RStudio part 2
Просмотров 68 тыс.7 лет назад
Introductory video tutorial on using R and RStudio (part 2). Please view in HD (cog in bottom right corner). Link to Pokemon.xlsx file: drive.google.com/open?id=0B8z9m2r1A7uka2NPbUFybTZSbjg Link to Pokemon.csv file: drive.google.com/open?id=0B8z9m2r1A7ukY3hpcTRMR1NNNnc Link to R script: drive.google.com/open?id=1O-6H71SOjPEURcJoGm22n7CCYnLmBLYx
Conditional statements and loops in R
Просмотров 37 тыс.7 лет назад
Video tutorial on using ifelse, if and while conditional statements in R, as well as for loops, and the apply family of functions. Please view in HD (cog in bottom right corner). Download R script here: drive.google.com/open?id=1JR7H30pBWBBg-iENth4lIJNycjb-yKwq
Principal components analysis in R
Просмотров 159 тыс.7 лет назад
Video tutorial on running principal components analysis (PCA) in R with RStudio. Please view in HD (cog in bottom right corner). Download the R script here: drive.google.com/open?id=1tbiHCdPnptP4SzQVzH1-t5Q1EJ4Y2uBR
Logistic regression in R
Просмотров 28 тыс.7 лет назад
Video tutorial on building logistic regression models and cross-validating them in R with RStudio. Please view in HD (cog in bottom right corner). Download the R script here: drive.google.com/open?id=1qwhAPUJl0np6X0uVjOa_njQHQi9WS6Of
Introduction to R and RStudio
Просмотров 448 тыс.7 лет назад
Live introductory workshop on using R and RStudio. Please view in HD (cog in bottom right corner). Link to Pokemon.xlsx file: drive.google.com/open?id=0B8z9m2r1A7uka2NPbUFybTZSbjg Link to Pokemon.csv file: drive.google.com/open?id=0B8z9m2r1A7ukY3hpcTRMR1NNNnc Link to R script: drive.google.com/open?id=1O-6H71SOjPEURcJoGm22n7CCYnLmBLYx
Introduction to ggplot in R
Просмотров 153 тыс.7 лет назад
Introductory video tutorial on using the ggplot2 plotting system in R and RStudio. Please view in HD (cog in bottom right corner). Download the R script here: drive.google.com/open?id=1aWsugu7M4xswdHnIOJRmw-ZckHUfUMEw Download my "theme_hefin" from here: drive.google.com/open?id=1yli4Ouyn379EcZk94tlxFCZkzl7goy9u

Комментарии

  • @csabacrisan9412
    @csabacrisan9412 29 дней назад

    is very helpful, but is it only on my computer that the writing in the video is impossible to read?

  • @ejiet-igolatemmanuel7376
    @ejiet-igolatemmanuel7376 4 месяца назад

    Excellent study material. BUT BECAME BLURRED FROM 6.45 TO ABOUT 16.05 MINUTES. Please how can I study the entire video clearly? Thank you for such a summary.

  • @izzuddinabdullah880
    @izzuddinabdullah880 7 месяцев назад

    I have a question, what if i want want to perform PCA on data that have not just different scale, but also different unit, such as data that involves environmental parameters such as temperature, humidity, light intensity, etc. Will scaling the data can solve this? Thank you

    • @hefinrhys8572
      @hefinrhys8572 7 месяцев назад

      Hi, yes this is a common situation. Scaling our variables means we can use them to find meaningful principal components, irrespective of their different measurement scales. Try running PCSLA on your data set with and without scaling the variables, you'll likely see a big difference. Scaling is valid (and important) for vaeiables with different measurement scales.

  • @uma9183
    @uma9183 7 месяцев назад

    use remote sensing data

  • @uma9183
    @uma9183 7 месяцев назад

    Sir, please make a videos regulary

  • @uselessminority6071
    @uselessminority6071 8 месяцев назад

    great tutorial, although some functions are not up to date anymore (like plot for boxplot is now boxplot etc.)

  • @TEBAKBENDA
    @TEBAKBENDA Год назад

    attend to learn

  • @kasia9904
    @kasia9904 Год назад

    when i generate the PCA with the code explained @ 20:46 my legend appears as a gradient rather than the separate values (as in your three different species appearing in red, blue green. how can i change this?

  • @tonyrobinson9046
    @tonyrobinson9046 Год назад

    Outstanding. Thank you.

  • @nrlzt9443
    @nrlzt9443 Год назад

    really love your explanantion! thank you so much for your video, really helpful and i can understand it! keep it up! looking forward to your many more upcoming videos

  • @user-kb6ui2sh5v
    @user-kb6ui2sh5v Год назад

    really useful video thank you, I've just started my MSc project using PCA, so thank you for this. I will be following subsequent videos.

  • @kevinroberts5703
    @kevinroberts5703 Год назад

    thank you so much for this video. incredibly helpful.

  • @djangoworldwide7925
    @djangoworldwide7925 Год назад

    Great tutorial but it leaves me with the question, what do i do with it? Is this just the begining of a K means classification that gives me an idea of the proper k?

  • @djangoworldwide7925
    @djangoworldwide7925 Год назад

    Fantastic. Subscribed!

  • @noahmutunga1708
    @noahmutunga1708 Год назад

    Many thanks for creating this. I found it very useful.

  • @mohsenvigeh
    @mohsenvigeh Год назад

    Great! There are many practical points.

  • @christianberntsen3856
    @christianberntsen3856 Год назад

    10:21 - When using "prcomp", the calculation is done by a singular value decomposition. So, these are not actually eigenvectors, right?

    • @hefinrhys8572
      @hefinrhys8572 Год назад

      SVD still finds eigenvectors as it's a generalization of eigen-decomposition. This might be useful: web.mit.edu/be.400/www/SVD/Singular_Value_Decomposition.htm

    • @christianberntsen3856
      @christianberntsen3856 Год назад

      @@hefinrhys8572 Thank you answering! I will look into it.

  • @mohammadtuhinali1430
    @mohammadtuhinali1430 2 года назад

    Many thanks for your efforts to make this complex issue much easier for us. Could you enlight me to understand group similarly and dissimilarity using pca?

  • @alessandrorosati969
    @alessandrorosati969 2 года назад

    How is it possible to generate outliers uniformly in the p-parallelotope defined by the coordinate-wise maxima and minima of the ‘regular’ observations in R?

  • @sajidfaisal3283
    @sajidfaisal3283 2 года назад

    You are really doing amazing videos with providing the class codes, that's totally amazing. Why are not you continuing your video?

  • @lisakaly6371
    @lisakaly6371 2 года назад

    In fact I found out how to overcome the multicolinearity , by using the eigen values of PC1 and PC2! I love PCA!

  • @lisakaly6371
    @lisakaly6371 2 года назад

    Thank you for this great video. can you show how to seek multicolinearity or treat multicolinearity with PCA ? I have a data set with 40 variables with high intercorrelation because of cross reactivity . VIF and matrix correlation doesnt work probably because of multiple comparison ....:(((

  • @chris-qm2tq
    @chris-qm2tq 2 года назад

    Excellent walkthrough. Thank you!

  • @mikeybratkovic
    @mikeybratkovic 2 года назад

    Wow! Absolute great video, well explained + really helpful tipps and tricks! Thank you for that!

  • @vagabond197979
    @vagabond197979 2 года назад

    Added to my stats/math playlist! Very useful.

  • @roshansharma3407
    @roshansharma3407 2 года назад

    please explain Scatterplot using DAPC also

  • @parth1211
    @parth1211 2 года назад

    Ty for the quality content brother , I am beginner that's been very helpful can you please provide more videos 🙂 thankyou

  • @parth1211
    @parth1211 2 года назад

    Why not uploading more videos brother?

  • @firdaussaleh5519
    @firdaussaleh5519 2 года назад

    How apply conditional vlookup in r program?

  • @HarmonicaTool
    @HarmonicaTool 2 года назад

    5 year old video still one of the best I found on the topic on YT. Thumbs up

  • @Margoth195
    @Margoth195 2 года назад

    Sir, you are a saint! Thank you thank you thank you!!! Not only did you make this easy but you gave me peace of mind. If we ever meet in person, I hope you will give me the honor of buying you a drink.

  • @ailen5197
    @ailen5197 2 года назад

    Great video! How can I have the package ggplot2 in the new R version?

    • @hefinrhys8572
      @hefinrhys8572 2 года назад

      Hiya, you just need to run install.packages("ggplot2") in R :) Thanks!

  • @aminsajid123
    @aminsajid123 2 года назад

    Amazing video! Thanks for the explaining everything very simply. Could you please do a video on PLS-DA?

  • @Moe5Tavern
    @Moe5Tavern 2 года назад

    I wish you had made a career out of RUclips tutorials, this is the best R tutorial I've found. You seem to understand very well what is important to know for beginners and convey it beautifully. Thank you so much!

  • @brunocamargodossantos5049
    @brunocamargodossantos5049 2 года назад

    Thanks for the the video, it helped me a lot!! Your explanation is very didactic!

  • @suavejoshokoye9456
    @suavejoshokoye9456 2 года назад

    Your videos are Gems!!

  • @federicogarland272
    @federicogarland272 2 года назад

    Thank you so much, I've watched almost all your videos and am now able to use R for useful data processing tasks in my work field which is agriculture. You're great at explaining, cheers!

  • @mario17-t34
    @mario17-t34 2 года назад

    Thanks much Hefin!!!

  • @minhtrungdang1853
    @minhtrungdang1853 2 года назад

    Thank you for the video. I have a question regarding the option of exporting or saving graph as Jpeg or PNJ. How can we keep the font size exactly the same after saving pic. I did set up fig.height and fig.witdth in '''{r}, but the title of the graph misses some characters of the end. Thank you !

  • @rafaborkowski580
    @rafaborkowski580 2 года назад

    How can I upload my data into RStudio to work with ?

  • @avnistar2703
    @avnistar2703 2 года назад

    Can you run PCA on factor variables coded as 0 vs 1. 1 meaning presence of something?

    • @hefinrhys8572
      @hefinrhys8572 2 года назад

      There are some answers here that might help: stats.stackexchange.com/questions/5774/can-principal-component-analysis-be-applied-to-datasets-containing-a-mix-of-cont But I would ask what your goal is with this. Are you looking to uncover some underlying latent variables in your data? In which case factor analysis may be the way to go. If it's just to reduce dimensionality to uncover clusters/patterns in the data, then PCA might work, but it will treat those 0/1 variables as continuous, which might not yield the results you're hoping for.

  • @federicogarland272
    @federicogarland272 2 года назад

    thank you very much

  • @glawtonmoore
    @glawtonmoore 2 года назад

    GRE = graduate record exam - a standards base testing, evaluating preparedness for grad school

  • @Axle_Tavish
    @Axle_Tavish 2 года назад

    Explained everything one might need. If only every tutorial on RUclips is like this one!

  • @stefankazakov5302
    @stefankazakov5302 2 года назад

    Nice explained! Thank you!

  • @fasihakhan5319
    @fasihakhan5319 2 года назад

    Giving commanding is tough....

  • @fsxaviator
    @fsxaviator 2 года назад

    Where did you define PC1 and PC2 (where you use them in the ggplot)? I'm getting "Error: object 'PC1' not found"

  • @yibletdagnachew1755
    @yibletdagnachew1755 2 года назад

    Wow, Thank you!!! Please some more

  • @lindseykoper761
    @lindseykoper761 2 года назад

    Thank you so much for your videos!! Your videos are the best I have seen hands down :) All of your explanations and step by step through R are what I needed to work on my research. One area I am having trouble with (since I am not a statistician) is making sure I run my data through all the necessary statistical tests before running the PCA. My data is similar to the iris dataset (skull measurements categorized by family and subfamily levels) but I am seeing different sources run different tests before the PCA (ANOVA vs non-parametric tests). If anything, would you be able to recommend some good sources for me to refer to? Thank you! I really appreciate it!

  • @jakubkaczynski4747
    @jakubkaczynski4747 2 года назад

    superb!