Search_Engine/test/mdogucu_ics_uci_edu/8f20f5aed4203fb9f7a021acd7b20e854a80b7ae7416c1690c246b22b1aadc99.json
2022-05-27 06:29:48 -07:00

1 line
8.1 KiB
JSON

{"url": "https://mdogucu.ics.uci.edu/teaching/stats67-fa19/slide/slide-1l-intro-toolbox.html", "content": "<!DOCTYPE html>\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"\" xml:lang=\"\">\r\n <head>\r\n <title>Opening the Tool Box</title>\r\n <meta charset=\"utf-8\" />\r\n <meta name=\"author\" content=\"Dr.\u00a0Dogucu\" />\r\n <meta name=\"date\" content=\"2019-10-02\" />\r\n <link rel=\"stylesheet\" href=\"slide-styles.css\" type=\"text/css\" />\r\n </head>\r\n <body>\r\n <textarea id=\"source\">\r\nclass: center, middle, inverse, title-slide\r\n\r\n# Opening the Tool Box\r\n### Dr.\u00a0Dogucu\r\n### 2019-10-02\r\n\r\n---\r\n\r\n\r\nlayout: true\r\n \r\n&lt;div class=\"my-header\"&gt;&lt;/div&gt;\r\n\r\n&lt;div class=\"my-footer\"&gt; \r\n Copyright &amp;copy; &lt;a href=\"https://mdogucu.ics.uci.edu\"&gt;Dr. Mine Dogucu&lt;/a&gt;. All Rights Reserved.&lt;/div&gt; \r\n\r\n---\r\n\r\n## Our Tool Box \r\n\r\n- Canvas (which you have already used for reading questions)\r\n- Piazza\r\n- RStudio Cloud\r\n- Gradescope\r\n\r\n---\r\n\r\n## Piazza\r\n\r\n- Log on to Piazza. \r\n- If you have used Piazza before show your tips and tricks to anyone else in your group.\r\n- Read the posts that are already there. \r\n\r\n---\r\n\r\n\r\n## Join RStudio Cloud\r\n\r\nWe have to make sure everybody completes these steps before we move on\r\n\r\n- Join RStudio Cloud via the link provided on the white board.\r\n- On the left banner in the Spaces section click the space for our course stats67-fa19.\r\n\r\n---\r\n\r\n## Make a copy of today's project\r\n\r\n- Whenever you start any project for the first time, make a copy for yourself. Only make a copy the first time you work on a project. You can come back and your project will still be there for you to continue working on it. \r\n\r\n&lt;img src = \"img/cloud-copy.png\" class=\"center-image\"&gt; &lt;/img&gt;\r\n\r\n- Once you make a copy, it may take time to deploy project. Give it some time. Refresh the page if needed. \r\n\r\n- Once your project has loaded click on the .Rmd file on the lower right panel to open it. If you have completed these steps make sure that those around you have also completed them.\r\n\r\n\r\n---\r\n\r\n\r\n# What is R Markdown?\r\n\r\nWe will have a more sophisticated definition of R Markdown later but for now you can think of it as a file that can have R code and text. \r\n\r\nR code files (i.e. R scprits) have .R extension. \r\nMarkdown files which are text files in essence have .md extension. \r\nR Markdown files that have both R and md components have .Rmd extension. \r\n\r\nFor instance all of this presentation is written in R Markdown because I can write text and R code at the same time such as the one below\r\n\r\n---\r\n\r\n\r\n# What is R Markdown?\r\n\r\nFor instance all of this presentation is written in R Markdown because I can write text and R code at the same time. This is what R code looks like \r\n\r\n\r\n```r\r\nprint(\"hello world\")\r\n```\r\n\r\n```\r\n## [1] \"hello world\"\r\n```\r\n\r\n---\r\n\r\n# Knitting\r\n\r\nThe way to \"run\" or \"process\" a R Markdown document is called _knitting_\r\n\r\nNow that you have your .Rmd file open go ahead and Knit your document by \r\n\r\n- Clicking the Knit button or\r\n\r\n- Using short cut Ctrl (Cmd on Mac) + Shift + K \r\n\r\nSaving documents - Every time you knit it saves\r\n\r\nNote that you have different knit options such as knitting to HTML or pdf. We will use pdf because it is easier to upload to Gradescope.\r\n\r\n---\r\n\r\n## Demo\r\n\r\nDemo on RStudio Cloud\r\n\r\n---\r\n\r\n## Recap\r\n\r\nWe have learned that we can insert R code chunk to an R Markdown file by \r\n\r\n- Clicking Insert &gt; R or\r\n- using shortcuts Ctrl+Alt+I (Windows) &amp;\tCommand+Option+I (Mac)\r\n\r\n---\r\n\r\n\r\n## Your Turn\r\n\r\n&lt;iframe width=\"560\" height=\"315\" align =\"middle\" src=\"https://www.youtube.com/embed/bLF6sAAMb4s?start=3\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen&gt;&lt;/iframe&gt;\r\n\r\n---\r\n\r\n\r\n## Your Turn\r\n\r\nYou have been provided with `bechdel` dataframe object in your project. Get to know the dataframe and answer the questions. \r\n\r\n---\r\n\r\n\r\n## Getting Ready for Submission\r\n\r\n\r\n- At the top of the .Rmd document you will see a part where my name is written. Replace it with full names of your group members separated by commas. Be careful about the quotation.\r\n\r\n- Knit your document as a .pdf one last time. \r\n\r\n- On the files panel, in the lower right, you should see your pdf file. Check the pdf file. Click on More &gt; Export &gt; Download. You now have downloaded your pdf file to your computer.\r\n\r\n\r\n---\r\n\r\n## Submission\r\n\r\n- Log onto Gradescope and upload it. \r\n\r\n- Gradescope may ask you which page has which questions, provide this information.\r\n </textarea>\r\n<style data-target=\"print-only\">@media screen {.remark-slide-container{display:block;}.remark-slide-scaler{box-shadow:none;}}</style>\r\n<script src=\"https://remarkjs.com/downloads/remark-latest.min.js\"></script>\r\n<script>var slideshow = remark.create();\r\nif (window.HTMLWidgets) slideshow.on('afterShowSlide', function (slide) {\r\n window.dispatchEvent(new Event('resize'));\r\n});\r\n(function(d) {\r\n var s = d.createElement(\"style\"), r = d.querySelector(\".remark-slide-scaler\");\r\n if (!r) return;\r\n s.type = \"text/css\"; s.innerHTML = \"@page {size: \" + r.style.width + \" \" + r.style.height +\"; }\";\r\n d.head.appendChild(s);\r\n})(document);\r\n\r\n(function(d) {\r\n var el = d.getElementsByClassName(\"remark-slides-area\");\r\n if (!el) return;\r\n var slide, slides = slideshow.getSlides(), els = el[0].children;\r\n for (var i = 1; i < slides.length; i++) {\r\n slide = slides[i];\r\n if (slide.properties.continued === \"true\" || slide.properties.count === \"false\") {\r\n els[i - 1].className += ' has-continuation';\r\n }\r\n }\r\n var s = d.createElement(\"style\");\r\n s.type = \"text/css\"; s.innerHTML = \"@media print { .has-continuation { display: none; } }\";\r\n d.head.appendChild(s);\r\n})(document);\r\n// delete the temporary CSS (for displaying all slides initially) when the user\r\n// starts to view slides\r\n(function() {\r\n var deleted = false;\r\n slideshow.on('beforeShowSlide', function(slide) {\r\n if (deleted) return;\r\n var sheets = document.styleSheets, node;\r\n for (var i = 0; i < sheets.length; i++) {\r\n node = sheets[i].ownerNode;\r\n if (node.dataset[\"target\"] !== \"print-only\") continue;\r\n node.parentNode.removeChild(node);\r\n }\r\n deleted = true;\r\n });\r\n})();</script>\r\n\r\n<script>\r\n(function() {\r\n var links = document.getElementsByTagName('a');\r\n for (var i = 0; i < links.length; i++) {\r\n if (/^(https?:)?\\/\\//.test(links[i].getAttribute('href'))) {\r\n links[i].target = '_blank';\r\n }\r\n }\r\n})();\r\n</script>\r\n\r\n<script>\r\nslideshow._releaseMath = function(el) {\r\n var i, text, code, codes = el.getElementsByTagName('code');\r\n for (i = 0; i < codes.length;) {\r\n code = codes[i];\r\n if (code.parentNode.tagName !== 'PRE' && code.childElementCount === 0) {\r\n text = code.textContent;\r\n if (/^\\\\\\((.|\\s)+\\\\\\)$/.test(text) || /^\\\\\\[(.|\\s)+\\\\\\]$/.test(text) ||\r\n /^\\$\\$(.|\\s)+\\$\\$$/.test(text) ||\r\n /^\\\\begin\\{([^}]+)\\}(.|\\s)+\\\\end\\{[^}]+\\}$/.test(text)) {\r\n code.outerHTML = code.innerHTML; // remove <code></code>\r\n continue;\r\n }\r\n }\r\n i++;\r\n }\r\n};\r\nslideshow._releaseMath(document);\r\n</script>\r\n<!-- dynamically load mathjax for compatibility with self-contained -->\r\n<script>\r\n(function () {\r\n var script = document.createElement('script');\r\n script.type = 'text/javascript';\r\n script.src = 'https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML';\r\n if (location.protocol !== 'file:' && /^https?:/.test(script.src))\r\n script.src = script.src.replace(/^https?:/, '');\r\n document.getElementsByTagName('head')[0].appendChild(script);\r\n})();\r\n</script>\r\n </body>\r\n</html>\r\n", "encoding": "utf-8"}