Summary
Keywords
Full Transcript
Importing Data, Checking the Imported Data and Working with Data in R; learn how to import a dataset into R, How to make sure data was imported correctly into R and How to begin to work with the imported data in R; Find the free Dataset here: (https://bit.ly/2rOfgEJ) 👍🏼Best Statistics & R Programming Language Tutorials: ( https://goo.gl/4vDQzT ) ►► Like to support us? You can Donate (https://bit.ly/2CWxnP2), Share our Videos, Leave us a Comment and Give us a Like or Write us a Review! Either way We Thank You! ►In this R video tutorial, we will learn to use read.table function (which reads a file in table format and creates a data frame from it, with cases corresponding to lines and variables to fields in the file), and some of the arguments such as header argument and sep argument. ►We will learn to use file.choose function to choose a file interactively ►We will discuss how to use Menu options in RStudio to import data into R ►and we will also learn how to check the imported data to make sure it was imported correctly into R using the dim function to retrieve dimension of an object and specify the number of rows and columns of the imported data, the head function in R (head() function), which returns the first or last parts of a vector, matrix, table, data frame and will let us see the first several rows of the data, the tail function in R (tail() function) to see the last several rows of the data in R, the double square brackets in R to subset data (brackets lets you select or subset data from a vector, matrix, array, list or data frame) , and the names function in R to get the names of an object in R. ►►Practice with Dataset: https://statslectures.com/r-scripts-datasets ►► Watch More: ►Export Data from R (CSV , TXT and other formats): https://bit.ly/2PWS84w ►Getting Started with R (Series 1): https://bit.ly/2PkTneg ►Graphs and Descriptive Statistics in R (Series 2): https://bit.ly/2PkTneg ►Probability distributions in R (Series 3): https://bit.ly/2AT3wpI ►Bivariate analysis in R (Series 4): https://bit.ly/2SXvcRi ►Linear Regression in R (Series 5): https://bit.ly/1iytAtm ►ANOVA Concept and with R https://bit.ly/2zBwjgL ►Linear Regression Concept and with R https://bit.ly/2z8fXg1 ► Intro to Statistics Course: https://bit.ly/2SQOxDH ◼︎ Table of Content 0:00:07 How to read a dataset into R? we will use read.table function to read a dataset into R and save it as an object 0:00:27 How to access the help menu in R 0:01:02 How to let R know that the first row of our data is header? we can use header argument to let R know that the first row of our data is header 0:01:14 How to let R know how the observations are separated? we will use sep argument to let R know how the observations are separated 0:02:03 How to specify the path to a file in R? we can use file.choose function to specify the path to the file in R 0:03:15 How to use Menu options in R Studio to import data into R 0:05:23 How to prepare the Excel data for importing into R 0:06:15 How to know the dimensions (the number of rows and columns) of the data in R? we will use the dim function to know the dimensions of the data in R 0:06:35 How to see the first several rows of the data? the head function in R let us see the first several rows of the data 0:06:45 How to see the last several rows of the data in R? the tail function in R let us see the last several rows of the data 0:07:18 How to check if the data was read correctly into R? we can use the square brackets and subsetting data to verify that our data was read correctly into R 0:08:21 How to check the variable names in R? in this video, we will use the names function to check the variable names in R This video is a tutorial for programming in R Statistical Software for beginners, using RStudio. Follow MarinStatsLectures Subscribe: https://goo.gl/4vDQzT website: https://statslectures.com Facebook:https://goo.gl/qYQavS Twitter:https://goo.gl/393AQG Instagram: https://goo.gl/fdPiDn Our Team: Content Creator: Mike Marin (B.Sc., MSc.) Senior Instructor at UBC. Producer and Creative Manager: Ladan Hamadani (B.Sc., BA., MPH) These videos are created by #marinstatslectures to support some courses at The University of British Columbia (UBC) (#IntroductoryStatistics and #RVideoTutorials for Health Science Research), although we make all videos available to the everyone everywhere for free. Thanks for watching! Have fun and remember that statistics is almost as beautiful as a unicorn!
