Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GozdeUgurK committed Nov 9, 2023
1 parent d21e451 commit 628e507
Show file tree
Hide file tree
Showing 11 changed files with 591 additions and 19 deletions.
1 change: 1 addition & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ book:
- index.qmd
- assignment1.qmd
- inclass1.qmd
- inclass2.qmd
page-footer:
center: "[MEF BDA 503](https://mef-bda503.github.io)"
sharing: [twitter, facebook]
Expand Down
4 changes: 2 additions & 2 deletions assignment1.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ t.test(x, mu = 5)
> myData = read.csv("/Users/gozde.ugur/Downloads/movies.csv")
> # Show only first 5 record
> comedy_filmler <- myData %>% filter(Genre == "Comedy")
>
> >
> ilk_5_kayit <- head(comedy_filmler, 5)
> # Show only selected columns
> secilen_sutunlar <- ilk_5_kayit[, c("Film", "Genre", "Year")]
> print(secilen_sutunlar)
>
> >
> ```
Binary file not shown.
18 changes: 12 additions & 6 deletions docs/assignment1.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

<meta name="author" content="Gözde Uğur">
<meta name="dcterms.date" content="2023-10-26">
<meta name="dcterms.date" content="2023-11-09">

<title>[STUDENT] Progress Journal - 1&nbsp; Assignment 1</title>
<style>
Expand Down Expand Up @@ -172,6 +172,12 @@
<a href="./inclass1.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">inclass1</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./inclass2.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">inclass2</span></span></a>
</div>
</li>
</ul>
</div>
Expand Down Expand Up @@ -218,7 +224,7 @@ <h1 class="title"><span class="chapter-number">1</span>&nbsp; <span class="chapt
<div>
<div class="quarto-title-meta-heading">Published</div>
<div class="quarto-title-meta-contents">
<p class="date">October 26, 2023</p>
<p class="date">November 9, 2023</p>
</div>
</div>

Expand Down Expand Up @@ -333,13 +339,13 @@ <h4 data-number="1.6.0.1" class="anchored" data-anchor-id="one-sample-t-testing"
One Sample t-test

data: x
t = -48.013, df = 99, p-value &lt; 2.2e-16
t = -60.107, df = 99, p-value &lt; 2.2e-16
alternative hypothesis: true mean is not equal to 5
95 percent confidence interval:
-0.09369424 0.31061130
-0.08989113 0.23541766
sample estimates:
mean of x
0.1084585 </code></pre>
mean of x
0.07276326 </code></pre>
</div>
</div>
</section>
Expand Down
29 changes: 20 additions & 9 deletions docs/inclass1.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

<meta name="author" content="Gözde Uğur">
<meta name="dcterms.date" content="2023-10-26">
<meta name="dcterms.date" content="2023-11-09">

<title>[STUDENT] Progress Journal - 2&nbsp; inclass1</title>
<style>
Expand Down Expand Up @@ -66,6 +66,7 @@
<script src="site_libs/quarto-search/fuse.min.js"></script>
<script src="site_libs/quarto-search/quarto-search.js"></script>
<meta name="quarto:offset" content="./">
<link href="./inclass2.html" rel="next">
<link href="./assignment1.html" rel="prev">
<script src="site_libs/quarto-html/quarto.js"></script>
<script src="site_libs/quarto-html/popper.min.js"></script>
Expand Down Expand Up @@ -171,6 +172,12 @@
<a href="./inclass1.html" class="sidebar-item-text sidebar-link active">
<span class="menu-text"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">inclass1</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./inclass2.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">inclass2</span></span></a>
</div>
</li>
</ul>
</div>
Expand Down Expand Up @@ -208,7 +215,7 @@ <h1 class="title"><span class="chapter-number">2</span>&nbsp; <span class="chapt
<div>
<div class="quarto-title-meta-heading">Published</div>
<div class="quarto-title-meta-contents">
<p class="date">October 26, 2023</p>
<p class="date">November 9, 2023</p>
</div>
</div>

Expand Down Expand Up @@ -237,13 +244,14 @@ <h3 data-number="2.0.1" class="anchored" data-anchor-id="amazon-products-dataset
intersect, setdiff, setequal, union</code></pre>
</div>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Using read.csv()</span></span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a>myData <span class="ot">=</span> <span class="fu">read.csv</span>(<span class="st">"/Users/gozde.ugur/Downloads/archive (3)/amazon_products.csv"</span>) </span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a>en_cok_satanlar <span class="ot">&lt;-</span> myData <span class="sc">%&gt;%</span> </span>
<span id="cb5-4"><a href="#cb5-4" aria-hidden="true" tabindex="-1"></a> <span class="fu">arrange</span>(<span class="fu">desc</span>(boughtInLastMonth)) <span class="sc">%&gt;%</span> <span class="co"># satisadedi sütununa göre azalan sırada sırala</span></span>
<span id="cb5-5"><a href="#cb5-5" aria-hidden="true" tabindex="-1"></a> <span class="fu">head</span>(<span class="dv">5</span>) <span class="co"># İlk 5 kaydı getirilk_5_kayit </span></span>
<span id="cb5-6"><a href="#cb5-6" aria-hidden="true" tabindex="-1"></a><span class="co"># Show only selected columns</span></span>
<span id="cb5-7"><a href="#cb5-7" aria-hidden="true" tabindex="-1"></a>top_5 <span class="ot">&lt;-</span> en_cok_satanlar[, <span class="fu">c</span>(<span class="st">"title"</span>,<span class="st">"stars"</span>, <span class="st">"price"</span> ,<span class="st">"boughtInLastMonth"</span>)]</span>
<span id="cb5-8"><a href="#cb5-8" aria-hidden="true" tabindex="-1"></a><span class="fu">print</span>(top_5)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a>myData <span class="ot">=</span> <span class="fu">read.csv</span>(<span class="st">"/Users/gozde.ugur/Downloads/archive (3)/amazon_products.csv"</span>) </span>
<span id="cb5-4"><a href="#cb5-4" aria-hidden="true" tabindex="-1"></a>en_cok_satanlar <span class="ot">&lt;-</span> myData <span class="sc">%&gt;%</span> </span>
<span id="cb5-5"><a href="#cb5-5" aria-hidden="true" tabindex="-1"></a> <span class="fu">arrange</span>(<span class="fu">desc</span>(boughtInLastMonth)) <span class="sc">%&gt;%</span> <span class="co"># satisadedi sütununa göre azalan sırala</span></span>
<span id="cb5-6"><a href="#cb5-6" aria-hidden="true" tabindex="-1"></a> <span class="fu">head</span>(<span class="dv">5</span>) <span class="co"># İlk 5 kaydı getirilk_5_kayit </span></span>
<span id="cb5-7"><a href="#cb5-7" aria-hidden="true" tabindex="-1"></a><span class="co"># Show only selected columns</span></span>
<span id="cb5-8"><a href="#cb5-8" aria-hidden="true" tabindex="-1"></a>top_5 <span class="ot">&lt;-</span> en_cok_satanlar[, <span class="fu">c</span>(<span class="st">"title"</span>,<span class="st">"stars"</span>, <span class="st">"price"</span> ,<span class="st">"boughtInLastMonth"</span>)]</span>
<span id="cb5-9"><a href="#cb5-9" aria-hidden="true" tabindex="-1"></a><span class="fu">print</span>(top_5)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code> title
1 Bounty Quick Size Paper Towels, White, 8 Family Rolls = 20 Regular Rolls
Expand Down Expand Up @@ -574,6 +582,9 @@ <h3 data-number="2.0.1" class="anchored" data-anchor-id="amazon-products-dataset
</a>
</div>
<div class="nav-page nav-page-next">
<a href="./inclass2.html" class="pagination-link">
<span class="nav-page-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">inclass2</span></span> <i class="bi bi-arrow-right-short"></i>
</a>
</div>
</nav>
</div> <!-- /content -->
Expand Down
Loading

0 comments on commit 628e507

Please sign in to comment.