Split Data Frame in R (3 Examples) | Divide (Randomly) by Row & Column | rbinom, nrow & c Functions

  Рет қаралды 10,325

Statistics Globe

Statistics Globe

Күн бұрын

Пікірлер: 32
@MrRamaeri
@MrRamaeri 3 жыл бұрын
you are very good at R. thank you, God bless you.
@StatisticsGlobe
@StatisticsGlobe 3 жыл бұрын
I appreciate that Ram, glad you think so! :)
@ghazalr9
@ghazalr9 Жыл бұрын
thank you!!✴
@matthias.statisticsglobe
@matthias.statisticsglobe Жыл бұрын
Hi Ghazal! Thanks for the response! Hope the tutorial was helpful! Regards
@ghazalr9
@ghazalr9 Жыл бұрын
Yes, it totally was!
@matthias.statisticsglobe
@matthias.statisticsglobe Жыл бұрын
@@ghazalr9 Great to hear!:) If you have further questions, please let us know!
@nasimaakter4164
@nasimaakter4164 3 жыл бұрын
Thanks a lot! really helpful video.
@StatisticsGlobe
@StatisticsGlobe 3 жыл бұрын
Glad it helped Nasima!
@donnarog4342
@donnarog4342 2 жыл бұрын
thanks for this. I have made a new binominal variable (names AD.2), and i want a new dataset in which that binominal variable has the value of 1 (1= true, 0 = false). But when i follow data_1a AD.2 not found. But AD.2 is visable in my dataset as a variable. Do you know how to solve this?
@StatisticsGlobe
@StatisticsGlobe 2 жыл бұрын
Hey Donna, does the following code work for you? data_1a
@murilosilveirayoutube
@murilosilveirayoutube 2 жыл бұрын
But what about when the lines are not underneath each other? I, for example, am trying to join the lines that go from 42 to 48. But I also want to join the line 52. In this case, it would look like this: 42,43,44,45,46,47,48,52 How do I get like this?
@StatisticsGlobe
@StatisticsGlobe 2 жыл бұрын
Hi Murilo, you can do this using the following code: data_new
@murilosilveirayoutube
@murilosilveirayoutube 2 жыл бұрын
@@StatisticsGlobe Thanks! 😊
@StatisticsGlobe
@StatisticsGlobe 2 жыл бұрын
You are welcome, glad it helped! :)
@ahmed007Jaber
@ahmed007Jaber 2 жыл бұрын
Thank u for this Is there a way to automatically split tables based on size of boxes in a presentation?
@StatisticsGlobe
@StatisticsGlobe 2 жыл бұрын
Hey Ahmad, you mean in a Powerpoint presentation or so? I think I would only show the head of the data sets using the head() function, but this strongly depends on the content of your data.
@ahmed007Jaber
@ahmed007Jaber 2 жыл бұрын
@@StatisticsGlobe i was thinking of inserting the full table in the slides but need to limit the number of rows in each slide
@StatisticsGlobe
@StatisticsGlobe 2 жыл бұрын
I see. In this case, I would use the head function to show only the top rows of each data frame.
@ozgeokul4037
@ozgeokul4037 3 жыл бұрын
Hey, great video. Can we divide data in two randomly but the 1 and 0's are equal number? Because even if the prob. is 0.5 they can still be not even.
@StatisticsGlobe
@StatisticsGlobe 3 жыл бұрын
Hey Özge, thank you, glad you liked the video! You can do that as shown below: dummy
@ozgeokul4037
@ozgeokul4037 3 жыл бұрын
@@StatisticsGlobe thank you so much 😍
@StatisticsGlobe
@StatisticsGlobe 3 жыл бұрын
You are very welcome Özge :)
@trilisser
@trilisser 4 жыл бұрын
Spliting data frame Is not your fame. I show you examples And you show me your bubbles. Data consist of 10 rows My nose is still grows. If you click on second frame, It'll drow my soul flame. Dummy indicator is equal a one My favourite hero is Jan Clod Van Dumb
@StatisticsGlobe
@StatisticsGlobe 4 жыл бұрын
Hahaha nice poem Artem!! :D
@adeelahmadnadeem1265
@adeelahmadnadeem1265 3 жыл бұрын
its nice video , but i need some help.
@StatisticsGlobe
@StatisticsGlobe 3 жыл бұрын
Thanks Adeel. What is your question?
@adeelahmadnadeem1265
@adeelahmadnadeem1265 3 жыл бұрын
@@StatisticsGlobe thanks for response , can you please share email id because i want to share my dataset related to my problem, it will be convenient for me, if you can. thanks
@StatisticsGlobe
@StatisticsGlobe 3 жыл бұрын
Due to time-constraints, I do not offer detailed 1-on-1 consultancy. However, I have recently created a Facebook discussion group where people can ask questions about R programming and statistics. Could you post your question there (this might also include an image of your data)? This way, others can contribute/read as well: facebook.com/groups/statisticsglobe
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 11 МЛН
ЗНАЛИ? ТОЛЬКО ОАЭ 🤫
00:13
Сам себе сушист
Рет қаралды 4 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 18 МЛН
Data wrangling with R in 27 minutes
27:19
Equitable Equations
Рет қаралды 27 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 812 М.
RStudio Tutorial for Beginners: Introduction to R Studio and Basics of R
49:45
Dynamic Data Script
Рет қаралды 721 М.
Splitting columns in R with the separate() command
5:02
Equitable Equations
Рет қаралды 11 М.
Tidying Data in R with "tidyr" | R Tutorial (2020)
18:14
RichardOnData
Рет қаралды 10 М.
I Studied Data Job Trends for 24 Hours to Save Your Career! (ft Datalore)
13:07
Thu Vu data analytics
Рет қаралды 265 М.
R vs Python
7:07
IBM Technology
Рет қаралды 333 М.
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 11 МЛН