R is a programming language and software environment for statistical computing and graphics supported by the R Foundations of Statistical Computiong. R Studio is an integrated development environment (IDE) for R. and R Markdown is the formatting syntax for authoring HTML, PDF, and MS word Document in R Studio.
R Console executed commands for R, Rscript is just a plain text file with R Commands in it and R Markdown is the formatting syntax for authoring HTML, PDF, and MS Word Documents in R Studio.
homework will be done in R Markdown
Note: The below code is math mode. You can see the formula in the HTML or PDF.
\[ \tan(1) - (67.2^{0.5} * 19) \]
\[ \lvert -0.3^{0.82} + \cos(\pi/\sqrt{2}) \rvert - 0.585479 \]
-154.1962 ## [1] -154.1962
0.3928179## [1] 0.3928179
tan (5)## [1] -3.380515
tan ( 5)## [1] -3.380515
tan ( 5)## [1] -3.380515
Note: The below code is math mode. You can see the formula in the HTML or PDF. \[ tan(0.5) \] \[ tan 0.5 \] \[ ton(0.5) \] \[ tan0.5 \]
the first entry gave us a correct answer the other three gave an error message. the tan 0.5 gave an erron of unexpected numeric constant, the ton(0.5) said could not find function “ton” and that tan0.5 said object ’tan0.5’not found
Please turn–in your homework via Sakai by saving and submitting an R Markdown PDF or HTML file from R Pubs!