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...
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
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
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.
Will try and see if any other way to get this achieved in plotly... ty Abi
I am getting an error in the tags section of the program (fluid row section). Can you share the fluid row section here?
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
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!
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?
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
I can not find part 2 of this video. please share the link
Sir, here you go...
th-cam.com/video/c2gVkPaNlPU/w-d-xo.html
Hope this helps.
@@abhinavagrawal6317 Thank you
Is there any way we can introduce zoom in and zoom out feature on a ggplot
Are you looking for a zoom in and reset of zoom on selected brushed points? or how?
@@abhinavagrawal6317 yes
Can we you this in plotly ?
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
@@abhinavagrawal6317 maybe we can use ggplotly for this.
@@kshitijkolasyes could work... try both ggplotly and plotly... I will also give my shot tomorrow... Ty Abi
@@abhinavagrawal6317 thank you
Any update?