Joshua French
Joshua French
  • 196
  • 700 674
Parallel computing, progress bars, and apply functions in R
We discuss how to perform parallel computing and add progress bars in the context of vectorized apply functions. We provide several examples of this.
An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb.
More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb.
มุมมอง: 404

วีดีโอ

The mapply function explained and illustrated
มุมมอง 85ปีที่แล้ว
We discuss how to use the mapply function in R and provide examples of its use. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb.
The tapply function explained and illustrated
มุมมอง 102ปีที่แล้ว
We explain how to use the tapply function and provide some examples of its use. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb.
The lapply, sapply, and vapply functions in R
มุมมอง 253ปีที่แล้ว
We explain how to use the lapply, sapply, and vapply functions in R. We provide several examples of their use. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-control-st...
The apply function explained and illustrated
มุมมอง 57ปีที่แล้ว
We discuss the vectorized apply function for matrices, data frames, and arrays in R. We also provide several examples of its use. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/m...
Loops versus vectorization in R
มุมมอง 97ปีที่แล้ว
We discuss the difference between loops and vectorization in R and also how to benefit from vectorized operations. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-contro...
The bisection method using a while loop
มุมมอง 162ปีที่แล้ว
We implement the bisection method using a while loop in R. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb.
Basic while loops in R
มุมมอง 37ปีที่แล้ว
We describe what a while loop is and demonstrate how to create them in R. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb.
Tallying a frequency table using tapply in R
มุมมอง 87ปีที่แล้ว
We use the tapply function to create a frequency table in R. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb.
Bootstrap confidence interval example
มุมมอง 147ปีที่แล้ว
We describe bootstrap confidence intervals and explain how to construct them using the lapply function in R. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-control-stat...
The vectorized apply functions in R
มุมมอง 35ปีที่แล้ว
We provide an overview of the vectorized apply functions in R. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb.
Nested for loops
มุมมอง 37ปีที่แล้ว
We discuss what nested for loops are and provide an example based on computing distances between observations in R. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-contr...
Determining the K nearest neighbors (KNN) in R
มุมมอง 158ปีที่แล้ว
We illustrate how to find the K nearest neighbors of a set of observations in R. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb.
Q-q plot variability for loop example
มุมมอง 74ปีที่แล้ว
We introduce the idea of a q-q plot and discuss how to assess the variability of a q-q plot using simulated data and a for loop. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/ma...
Basic for loops in R
มุมมอง 104ปีที่แล้ว
We discuss what a for loop is and provide examples of how to implement a for loop in R. An interactive version of the source material is available at colab.research.google.com/github/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-apply.ipynb. More generally, the source material is available at github.com/jfrench/DataWrangleViz/blob/master/08-control-statements-iteration-appl...
What is iteration in programming?
มุมมอง 1.2Kปีที่แล้ว
What is iteration in programming?
Using the switch function in R
มุมมอง 113ปีที่แล้ว
Using the switch function in R
If, else if, and else statements in R
มุมมอง 64ปีที่แล้ว
If, else if, and else statements in R
Nested lists in R
มุมมอง 249ปีที่แล้ว
Nested lists in R
Subsetting a list in R
มุมมอง 30ปีที่แล้ว
Subsetting a list in R
Creating a list in R
มุมมอง 38ปีที่แล้ว
Creating a list in R
What is a list in R?
มุมมอง 31ปีที่แล้ว
What is a list in R?
Subsetting an array in R
มุมมอง 50ปีที่แล้ว
Subsetting an array in R
Creating an array in R
มุมมอง 86ปีที่แล้ว
Creating an array in R
What is an array in R?
มุมมอง 17ปีที่แล้ว
What is an array in R?
Optimizing matrix algebra operations in R
มุมมอง 52ปีที่แล้ว
Optimizing matrix algebra operations in R
Line of best fit matrix algebra example
มุมมอง 254ปีที่แล้ว
Line of best fit matrix algebra example
Square, identity, and inverse matrices
มุมมอง 15ปีที่แล้ว
Square, identity, and inverse matrices
Matrix transpose
มุมมอง 26ปีที่แล้ว
Matrix transpose
Elementwise matrix multiplication
มุมมอง 210ปีที่แล้ว
Elementwise matrix multiplication

ความคิดเห็น

  • @muffystopheles
    @muffystopheles 10 วันที่ผ่านมา

    Thank you so much for this video! I'm taking an Applied Statistics class and for some reason, linear regression just isn't clicking in my mind, but your presentation here makes it make so much more sense!

  • @asolisca
    @asolisca หลายเดือนก่อน

    Very very instructional Joshua, thank you so much!

  • @softdataconsult
    @softdataconsult หลายเดือนก่อน

    Thanks so much for this wonderful demonstration. I'm new to Github, please how do I change blog title text to another colour like blue or yellow?

  • @keziahsaligumba3184
    @keziahsaligumba3184 2 หลายเดือนก่อน

    Hello, can you help me? Whenever I render my qmd, it does not load any website

  • @sunidhijain4476
    @sunidhijain4476 2 หลายเดือนก่อน

    The dataset?

    • @jfrench
      @jfrench 2 หลายเดือนก่อน

      The penguins data set in the palmerpenguins R package.

  • @ldsharma6546
    @ldsharma6546 4 หลายเดือนก่อน

    Good morning sir, I have collected 800 soil samples from different districts of Manipur State in India. The soil samples were analysed for different forms of soil acidity. Sir I wish to prepare a soil acidity map of Manipur state using my data. Sir Could you share some of your knowledge to prepare.

  • @homecook-6130
    @homecook-6130 4 หลายเดือนก่อน

    How can I link the existing Quarto project on R to github? @Joshua French

  • @maniramraj4324
    @maniramraj4324 5 หลายเดือนก่อน

    Thanks for teaching

  • @maniramraj4324
    @maniramraj4324 5 หลายเดือนก่อน

    Thanks Joshua... i am able to understand very well about quarto website

  • @mcewenkhundi3991
    @mcewenkhundi3991 6 หลายเดือนก่อน

    Thanks

  • @JustinRoy-hv7bt
    @JustinRoy-hv7bt 6 หลายเดือนก่อน

    It does help to get away with my quiries ❤

  • @KwabenaGyamfi-sh9wb
    @KwabenaGyamfi-sh9wb 6 หลายเดือนก่อน

    Hello, Josh thanks for the instructions do you have similar instructions for how to create a book, and a journal? Thanks

  • @andrejzaslove3704
    @andrejzaslove3704 6 หลายเดือนก่อน

    Great video!

  • @WinnifredIk
    @WinnifredIk 7 หลายเดือนก่อน

    Thank you

  • @ayemanka
    @ayemanka 7 หลายเดือนก่อน

    10:03 hat beta 1 = sum(x i - overline x )(y i - overline y ) sum(x i - overline x )^ 2 = sum(x i - overline x )y i sum(x i - overline x )x i = sum x i y_{i} - 1/n * (Sigma*x_{i})(Sigma*y_{i}) sum x i ^ 2 - 1 n ( sum x i )^ 2 . 😢Plz can u explain how the first equal to hat beta 1 has been derived 😢😢 have been trying to figure out since morning 😭 can't find my way around it

  • @lizongzhang
    @lizongzhang 8 หลายเดือนก่อน

    very helpful🎉 thank you very much!

  • @christianchiroque8929
    @christianchiroque8929 8 หลายเดือนก่อน

    G O A T

  • @datahoffmann
    @datahoffmann 9 หลายเดือนก่อน

    Wonderful!

  • @r.barakat8758
    @r.barakat8758 9 หลายเดือนก่อน

    Hi Joshua, would you pls upload that pdf used in your videos? thanks in advance

  • @matthewson8917
    @matthewson8917 9 หลายเดือนก่อน

    Would it be possible to have multiple output directories, such as revealjs for one folder and html for another?

    • @jfrench
      @jfrench 9 หลายเดือนก่อน

      The answer should be yes, but I'm not sure you can do both at the same time. And you may need to do a "manual" version of this where you comment/uncomment parts of your YAML header to get the different behavior, requiring you to compile it two times.

  • @kyleGrealis
    @kyleGrealis 9 หลายเดือนก่อน

    Thank you for taking the time to make this little series. It was very helpful.

  • @user-bx1vx8yd1q
    @user-bx1vx8yd1q 9 หลายเดือนก่อน

    Thank you so much

  • @Piinnkbunnii
    @Piinnkbunnii 10 หลายเดือนก่อน

    Thanks so much!

  • @danishmahajan6901
    @danishmahajan6901 10 หลายเดือนก่อน

    Thanku so much sir, was looking for the proofs everywhere but I finally found it here.

  • @science9415
    @science9415 11 หลายเดือนก่อน

    Hi Joshua, Interesting video! I was experimenting with permutation tests in regression and found my p-values for coeffcients are simular to those generated by using a t distribution. The one exception seems to the p-values for the intercept term. Is there a reason for this? Do you know of any way to correct for it? Thanks.

  • @krithiraghavan8659
    @krithiraghavan8659 11 หลายเดือนก่อน

    extremely simple, and lucid! Thanks

  • @stepheneglen8705
    @stepheneglen8705 ปีที่แล้ว

    Thank you for taking the time to make these videos (and for sharing your content on github). I am now following along.

  • @theecanmole
    @theecanmole ปีที่แล้ว

    Concise and clear explanation. Thank you.

  • @readytolearn77
    @readytolearn77 ปีที่แล้ว

    thanks

  • @lxk19901
    @lxk19901 ปีที่แล้ว

    this is very clear, thank you for spending time creating the video

    • @jfrench
      @jfrench ปีที่แล้ว

      Thanks for the encouragement!

  • @mohtashimali2675
    @mohtashimali2675 ปีที่แล้ว

    i love you

  • @Tinyppman
    @Tinyppman ปีที่แล้ว

    my dog just shat in my bed

  • @BrookeMckenzie-l9m
    @BrookeMckenzie-l9m ปีที่แล้ว

    Thank you so much for your dedication to teaching young minds!!!!!!!!!!!!

  • @3.1415vp
    @3.1415vp ปีที่แล้ว

    Thanks bro

  • @sassyjenniekim9708
    @sassyjenniekim9708 ปีที่แล้ว

    why would you round that up if the next number to that decimel value is below 5?

    • @lotusbogus
      @lotusbogus ปีที่แล้ว

      You always round up even if decimal is lower than 5 so 4.2 is rounded up to 5 and 6.1 is 7 and so on.

  • @SiyaShenoi
    @SiyaShenoi ปีที่แล้ว

    Thanks for this! If I want to make additional changes to my website how would push those to the repo so it updates?

  • @mry_elii
    @mry_elii ปีที่แล้ว

    thank you so much!!!!

  • @saving2411
    @saving2411 ปีที่แล้ว

    감사합니다 ㅠㅠ 덕분에 이해했습니다!!!!

  • @mubashirkhan9511
    @mubashirkhan9511 ปีที่แล้ว

    🤔 3:00 I didn't understood one thing that why did we round off 13.3 to 14 we would have round it to 13.

  • @Marcusram
    @Marcusram ปีที่แล้ว

    godlike

  • @collinsogalloh8357
    @collinsogalloh8357 ปีที่แล้ว

    I dont understand those your tally and observations...how

  • @lamondmwanza3194
    @lamondmwanza3194 ปีที่แล้ว

    You're the best 🙌🙌🙌🫡🫡🫡

  • @willdecker4695
    @willdecker4695 ปีที่แล้ว

    What does "deploy is waiting for github-pages deployment approval" mean? I have completed all the same steps outlined in your videos but reach this point as part of the actions and I wait upwards of 10-15 minutes with no deployment of the page.

    • @jfrench
      @jfrench ปีที่แล้ว

      Hi Will, you shouldn't need to do anything under Actions, only the Pages settings.

    • @willdecker4695
      @willdecker4695 ปีที่แล้ว

      @@jfrench Thanks for the reply. I figured out the issue...I was using regular markdown files (.md) and not quarto files (.qmd) and fixing this seemed to allow my page to deploy!

  • @onthutemotlhabane5697
    @onthutemotlhabane5697 ปีที่แล้ว

    Great Content. I have a question though. If you're not given the value for number of classes. how do we calculate that part??

    • @violetserenityy
      @violetserenityy ปีที่แล้ว

      You always should be gIven that, it’ll either be bin width or some categorical number that tells you how many groups.

  • @kamilyakgz4783
    @kamilyakgz4783 ปีที่แล้ว

    Thank you very much. Very useful.

  • @Khizar_Ansari
    @Khizar_Ansari ปีที่แล้ว

    R=48-18=30 m=5 h=30/5=6 If I make 5 classes of height 6 then I do not get the highest value in the last class Limit. Please tell me how to solve this

  • @NoraAlmesaffer-mi8sn
    @NoraAlmesaffer-mi8sn ปีที่แล้ว

    Thanks for the big help 😊

  • @louortiz115
    @louortiz115 ปีที่แล้ว

    you're doing the lords work joshua!!!! thank you for this! Do you have a link to the files you're presenting on these videos?

    • @jfrench
      @jfrench ปีที่แล้ว

      The complete list for all videos is here: github.com/jfrench/DataWrangleViz. You can download the specific html file you want here: raw.githubusercontent.com/jfrench/DataWrangleViz/master/04-data-frame-manipulation.nb.html

  • @larissaives9338
    @larissaives9338 ปีที่แล้ว

    Okay and now how do I get this onto the site hosted at github?

    • @jfrench
      @jfrench ปีที่แล้ว

      th-cam.com/video/uimdXPZc40I/w-d-xo.html