Statistical Sciences 2864A/B Lecture Notes - Lecture 9: Markdown, Farad, Subset

16 views6 pages

Document Summary

Use logical operations to create subscript vectors. Use logical operators to create indexes that match the. Efficiency: avoiding using loop to access subsets of datasets. How to input the data and maneuver it and save it in a file. Too tedious to save one by one. Dump (opposite is source) the data into a file and save the data into a file. Sink function (used in the 80s not so much anymore) Y=f(x): x any object y any object. The inputs don"t need to be numbers, then can be functions, datasets, regression formulas, etc. A r function is an r object like as vector, list, data. frame, etc. An r function can be executed (others cannot) Argument because multiple inputs, list because we put them in a list. 3 parts: domain = argument lists, function = function body and return. Function body has a lot of lines of code. The body itself might have some return values.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents