R Shiny Tutorial | brushedPoints | interactive plots | select data points on ggplot using brush(1)

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • R Shiny Tutorial | Shiny and brushedPoints | select data points on ggplot using brush (1)
    Best viewed in full screen
    Link to the code files
    github.com/aag...

ความคิดเห็น • 28

  • @bharathnaidu107
    @bharathnaidu107 5 ปีที่แล้ว

    Hi Abhinav. Thank you for the amazing video. However, I have a small doubt. I have 21 variables in my dataset.
    when I select some points using plot_brush, all the 42 variables(the actual dataset 21 variables and selected datapoint variables 21) are getting overlapped. Is there any way I can avoid this problem?
    Regards,
    Bharath

    • @abhinavagrawal6317
      @abhinavagrawal6317  5 ปีที่แล้ว

      Hello Bharath,
      Is there a way you can share a sample dataset and reproducible code with me so I can run in studio, reproduce the situation and help you with a solution or possibilities?
      ty
      Abi
      my gmail as follows :
      aagarw30

  • @kshitijkolas
    @kshitijkolas 4 ปีที่แล้ว

    I am trying to find brush like feature for plotly output, is is possible? I am developing a shiny app in which I want user to be able to select some points on the rendered plot and to be able to delete those points on the graph which is plotted by plotly package.

    • @abhinavagrawal6317
      @abhinavagrawal6317  4 ปีที่แล้ว

      Will try and see if any other way to get this achieved in plotly... ty Abi

  • @shriramsivaraman3269
    @shriramsivaraman3269 6 ปีที่แล้ว

    I am getting an error in the tags section of the program (fluid row section). Can you share the fluid row section here?

    • @abhinavagrawal6317
      @abhinavagrawal6317  6 ปีที่แล้ว

      Hello, link to code file is given in description section. Hope that helps. If still throws up error or need help reach me on Gmail. Will try to look into it and assist. Ty Abi

    • @shriramsivaraman3269
      @shriramsivaraman3269 6 ปีที่แล้ว

      Thank you so much for your assistance! I will look up the code in github and if I am getting error again, I will try to reach you via gmail. Thanks much!

    • @shriramsivaraman3269
      @shriramsivaraman3269 6 ปีที่แล้ว

      Hi Abhinav, the table i got has more than 20 columns, which makes it hard to display side by side with actual and highlighted data set. Is there a way to limit the columns to display?

    • @abhinavagrawal6317
      @abhinavagrawal6317  6 ปีที่แล้ว +3

      Hello , something like data[1:n] should help. Where n is the nth column you might want. This is one way to define the column range in R. Example : mtcars[1:4] , will subset the data and show you data with columns 1 thru 4. Hope this helps. ty Abi

  • @kshitijkolas
    @kshitijkolas 4 ปีที่แล้ว

    I can not find part 2 of this video. please share the link

    • @abhinavagrawal6317
      @abhinavagrawal6317  4 ปีที่แล้ว +1

      Sir, here you go...
      th-cam.com/video/c2gVkPaNlPU/w-d-xo.html
      Hope this helps.

    • @kshitijkolas
      @kshitijkolas 4 ปีที่แล้ว

      @@abhinavagrawal6317 Thank you

  • @kshitijkolas
    @kshitijkolas 4 ปีที่แล้ว

    Is there any way we can introduce zoom in and zoom out feature on a ggplot

    • @abhinavagrawal6317
      @abhinavagrawal6317  4 ปีที่แล้ว

      Are you looking for a zoom in and reset of zoom on selected brushed points? or how?

    • @kshitijkolas
      @kshitijkolas 4 ปีที่แล้ว

      @@abhinavagrawal6317 yes

  • @kshitijkolas
    @kshitijkolas 4 ปีที่แล้ว

    Can we you this in plotly ?

    • @abhinavagrawal6317
      @abhinavagrawal6317  4 ปีที่แล้ว

      Hello Kshitij,
      Based on my understanding, this feature is for ggplot. I will try with plotly once and can share my findings with you.
      ty
      Abi

    • @kshitijkolas
      @kshitijkolas 4 ปีที่แล้ว

      @@abhinavagrawal6317 maybe we can use ggplotly for this.

    • @abhinavagrawal6317
      @abhinavagrawal6317  4 ปีที่แล้ว

      @@kshitijkolasyes could work... try both ggplotly and plotly... I will also give my shot tomorrow... Ty Abi

    • @kshitijkolas
      @kshitijkolas 4 ปีที่แล้ว

      @@abhinavagrawal6317 thank you

    • @kshitijkolas
      @kshitijkolas 4 ปีที่แล้ว

      Any update?