Biology 2244A/B Lecture Notes - Type Variable

14 views6 pages
31 Jan 2020
Department
Professor

Document Summary

R function syntax: function(argument1, argument2, , example: mean(variable) If you need help with a specific function that you do not know how to perform, in the r prompt you can type: ?function, help(function) R packages: collections of specialized functions and data sets developed by r. they build and improve upon existing base r function and/or make new ones available. See https://cran. r- project. org/web/packages/ for a list of r packages. To use a function from an r package: step 1: install the r package(s) if not already installed. This is done using the install. packages(c ( package )) function: step 2: load the r package. This will need to be done every r session before you run any function from that package. Importing data into r: columns represent the variables, rows represent study participants. Step 1: make sure r is looking for the right folder: option 1: find out where r is looking and save your data there.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents