This Page Features MathJax Technology to Render Mathematical Formulae

download This Page Features MathJax Technology to Render Mathematical Formulae

of 14

Transcript of This Page Features MathJax Technology to Render Mathematical Formulae

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    1/14

     This page features MathJax technology to render mathematical formulae. If

    you are using a screen reader, please visit MathPlayer to download the plugin

    for your browser. Please note that this is an Internet Exploreronly plugin at

    this time.

    R Programming

    Top Navigation Bar

    •  Courses

    •  Adeel Khan

    !ignature Trac"

    R Programmingby #oger $. Peng, Ph$, Je% &ee", Ph$, 'rian (a%o, Ph$

    ! ea rc h t hi sc ou rs e ! ear ch

    Side Navigation Bar

      COURSE

    • Announcements

    • Video Lectures

    http://www.dessci.com/en/products/mathplayer/https://www.coursera.org/courseshttps://class.coursera.org/rprog-005/https://class.coursera.org/rprog-005/class/indexhttps://class.coursera.org/rprog-005/lecture/indexhttps://www.coursera.org/courseshttps://class.coursera.org/rprog-005/https://class.coursera.org/rprog-005/class/indexhttps://class.coursera.org/rprog-005/lecture/indexhttp://www.dessci.com/en/products/mathplayer/

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    2/14

    • Discussion Forums

     

    EERC!SES

    • "ui##es

    • Programming Assignments $% &% ' s(ir)

    • Programming Assignment *

      ABOUT T+E COURSE

    • S,))a-us

    • A-out t.e !nstructor

      CO//UN!T0 

    •  1oin a /eetup opens in ne( -ro(ser ta-

    • )elp *rticles

    • (ourse Materials Errors

    •  Technical Issues

    Feed-ac2 3 4ee2 $ "ui#)elp

     Than" you. +our submission for this ui- was received.

     +ou submitted this ui- on Sun $& 1u) *5$6 7879 A/ PDT.

     +ou got a score of $:;55 out of *5;55. +ou can attempt again,

    if youd li"e.

    https://class.coursera.org/rprog-005/forum/indexhttps://class.coursera.org/rprog-005/quiz/indexhttps://class.coursera.org/rprog-005/assignment/indexhttps://class.coursera.org/rprog-005/human_grading/indexhttps://class.coursera.org/rprog-005/wiki/syllabushttps://class.coursera.org/rprog-005/wiki/About_the_Instructorhttp://www.meetup.com/Coursera/http://help.coursera.org/https://class.coursera.org/rprog-005/forum/list?forum_id=10000&url=https%3A%2F%2Fclass.coursera.org%2Frprog-005%2Fquiz%2Ffeedback%3Fsubmission_id%3D9887%26sig_reload%3D1https://class.coursera.org/rprog-005/forum/list?forum_id=10001&url=https%3A%2F%2Fclass.coursera.org%2Frprog-005%2Fquiz%2Ffeedback%3Fsubmission_id%3D9887%26sig_reload%3D1https://class.coursera.org/rprog-005/help/quizzes?url=https%3A%2F%2Fclass.coursera.org%2Frprog-005%2Fquiz%2Ffeedback%3Fsubmission_id%3D9887%26sig_reload%3D1https://class.coursera.org/rprog-005/quiz/start?quiz_id=97https://class.coursera.org/rprog-005/forum/indexhttps://class.coursera.org/rprog-005/quiz/indexhttps://class.coursera.org/rprog-005/assignment/indexhttps://class.coursera.org/rprog-005/human_grading/indexhttps://class.coursera.org/rprog-005/wiki/syllabushttps://class.coursera.org/rprog-005/wiki/About_the_Instructorhttp://www.meetup.com/Coursera/http://help.coursera.org/https://class.coursera.org/rprog-005/forum/list?forum_id=10000&url=https%3A%2F%2Fclass.coursera.org%2Frprog-005%2Fquiz%2Ffeedback%3Fsubmission_id%3D9887%26sig_reload%3D1https://class.coursera.org/rprog-005/forum/list?forum_id=10001&url=https%3A%2F%2Fclass.coursera.org%2Frprog-005%2Fquiz%2Ffeedback%3Fsubmission_id%3D9887%26sig_reload%3D1https://class.coursera.org/rprog-005/help/quizzes?url=https%3A%2F%2Fclass.coursera.org%2Frprog-005%2Fquiz%2Ffeedback%3Fsubmission_id%3D9887%26sig_reload%3D1https://class.coursera.org/rprog-005/quiz/start?quiz_id=97

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    3/14

    !ntroduction

     This /rst ui- will chec" your ability to execute basic operations on ob0ects in

    # and to understand some basic concepts. 1or uestions 22345 you will need

    to load a dataset into # and do some basic manipulations in order to answer

    the uestions on the ui-.

     +ou may want to print a copy of the ui- uestions to loo" at as you wor" on

    the assignment. It is recommended that you save your answers as you go in

    the event that a technical problem should occur with your networ" connection

    or computer. 6ltimately, you must submit the ui- online to get credit7

    Data

     The -ip /le containing the data for uestions 22345 in this 8ui- can be

    downloaded here9

    • :ee" 2 8ui- $ata

    1or this assignment you will need to un-ip this /le in your wor"ing directory.

    "uestion $

    # was developed by statisticians wor"ing at

    Your Answer Score Explanation

     The University of Auckland (orrect 1.00 The R language was developed by Ross

    The University of New South Wales

     Harvard University

     Microsoft

    Total 1.00 / 1.00

    "uestion *

    https://d396qusza40orc.cloudfront.net/rprog%2Fdata%2Fquiz1_data.ziphttps://d396qusza40orc.cloudfront.net/rprog%2Fdata%2Fquiz1_data.zip

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    4/14

     The de/nition of free software consists of four freedoms ;freedoms 5 through

    ?T one of the freedoms that are part of the

    de/nition@

    Your Answer

     The freedom to restrict access to the source code for the software.

     The freedom to improve the program, and release your improvements to the public, so that the whole community benefi

     The freedom to redistribute copies so you can help your neighbor.

     The freedom to study how the program works, and adapt it to your needs.

    Total

    "uestion &

    In # the following are all atomic data types EA(EPT

    Your Answer Score

     numeric

     complex

     matrix (orrect 1.00

     character

    Total 1.00 / 1.00

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    5/14

    "uestion 6

    If I execute the expression x B C in #, what is the class of the ob0ect Dx as

    determined by the Dclass;= function@

    Your Answer

     complex

     matrix

     list

     numeric (orrect

    Total

    "uestion 7

    :hat is the class of the ob0ect de/ned by x B c;C, T#6E=@

    Your Answer Score Explanation

     numeric (orrect 1.00 The numeric class is the "lowest common denomina

     list

     matrix

     character

    Total 1.00 / 1.00

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    6/14

    "uestion E

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    7/14

     the length of a vector must be less than 32,768

    Total

    "uestion >

    !uppose I have a list de/ned as x B list;4, FaF, FbF, T#6E=. :hat does xGG4HH

    give me@

    Your Answer

     a list containing character vector with the letter "a".

     a character vector containing the letter "a".

     a list containing the number 2 and the letter "a".

     a character vector with the elements "a" and "b".

    Total

    "uestion :

    !uppose I have a vector x B 29C and a vector y B 4. :hat is produced by the

    expression x y@

    Your Answer

     an integer vector with elements 3, 2, 3, 4.

     a numeric vector with elements 3, 2, 3, 6.

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    8/14

     a numeric vector with elements 3, 4, 5, 6.

     an integer vector with elements 3, 2, 3, 6.

    Total

    "uestion $5

    !uppose I have a vector x B c;

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    9/14

     Month, Day, Temp, Wind

     1, 2, 3, 4, 5, 6

     Ozone, Solar.R, Wind, Temp, Month, Day (orrect 1.00

    Total 1.00 / 1.00

    "uestion $*

    Extract the /rst 4 rows of the data frame and print them to the console. :hat

    does the output loo" li"e@

    Your Answer

     

    ?-one !olar.# :ind Temp Month $ay 2 K 4C 25.K L2 K 2C 4 2 2

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    10/14

    Your Answer Score Explanation

     153 (orrect 1.00 You can use the ̀nrows()' function t

     45

     160

     129

    Total 1.00 / 1.00

    "uestion $6

    Extract the last  4 rows of the data frame and print them to the console. :hat

    does the output loo" li"e@

    Your Answer

     

    ?-one !olar.# :ind Temp Month $ay 24 22 CC K.L 4 45 2< 25 44< .5

    ?-one !olar.# :ind Temp Month $ay 24 2 2

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    11/14

    "uestion $7

    :hat is the value of ?-one in the CLth row@

    Your Answer Score Explanation

     63

     34

     18

     21 (orrect 1.00 The single bracket [ operator can be

    Total 1.00 / 1.00

    "uestion $9

    )ow many missing values are in the ?-one column of this data frame@

    Your Answer

     43

     9

     78

     37 (orrect

    Total

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    12/14

    "uestion E

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    13/14

     212.8 (orrect

     205.0

    Total

    "uestion E

  • 8/17/2019 This Page Features MathJax Technology to Render Mathematical Formulae

    14/14

     97

     18

     100

    Total