Experimental design, power and statistics for in vivo behavioural scientists
  • Downloding and installing R
  • Designing Experiments
  • Power Analysis
  • Planning Data Analysis
  • Data analysis
Importing data into R is really easy, provided it is in the right format. Make sure that you have looked at the section of this site on planning your data analysis!

Open R, and type this into the console (I have called the file 'datafile', but you can call it whatever your like, of course):
Picture
When you click 'Return' on the keyboard, this will bring up a directory search box, where you can find the file you want to work with!

Next, you need to attach the data file so that R knows that you will be using it:
Picture
And that is it! You are ready to start your data analysis in R.
Start data analysis
Return to previous page
Powered by Create your own unique website with customizable templates.