<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Posts | Thi Hao Pham</title>
    <link>https://thihaopham.netlify.app/post/</link>
      <atom:link href="https://thihaopham.netlify.app/post/index.xml" rel="self" type="application/rss+xml" />
    <description>Posts</description>
    <generator>Wowchemy (https://wowchemy.com)</generator><language>en-us</language><lastBuildDate>Sat, 08 Apr 2023 00:00:00 +0000</lastBuildDate>
    <image>
      <url>https://thihaopham.netlify.app/media/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_3.png</url>
      <title>Posts</title>
      <link>https://thihaopham.netlify.app/post/</link>
    </image>
    
    <item>
      <title>How to create a website by using R blogdown and hugo theme</title>
      <link>https://thihaopham.netlify.app/post/create_website/</link>
      <pubDate>Sat, 08 Apr 2023 00:00:00 +0000</pubDate>
      <guid>https://thihaopham.netlify.app/post/create_website/</guid>
      <description>&lt;p&gt;In this post, I want to share with you how to create a website for free by using R blogdown.&lt;/p&gt;
&lt;p&gt;If you are totally new with R studio, github, git,&amp;hellip;let&amp;rsquo;s get started by installing somethings.&lt;/p&gt;
&lt;h1 id=&#34;1-install-things&#34;&gt;1. Install things&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Install R studio&lt;/li&gt;
&lt;li&gt;Create Github account (free)&lt;/li&gt;
&lt;li&gt;Install git&lt;/li&gt;
&lt;li&gt;Download blogdown package, and devtools (if needed)&lt;/li&gt;
&lt;li&gt;Download hugo package&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&#34;2-set-up-your-pre-born-website&#34;&gt;2. Set up your pre-born website&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;You go to your Github account: in the overview tab, click &amp;ldquo;New&amp;rdquo; to create a new repository that will store all content of your R documents related to your website. After you click &amp;ldquo;Create repository&amp;rdquo;, you will see that repository apprears as one of the project in you Github page, you click to &amp;ldquo;Code&amp;rdquo; and copy the url link.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You go to R: File -&amp;gt; New project -&amp;gt; Version control -&amp;gt; Git -&amp;gt; paste the link that you&amp;rsquo;ve just copied. Then a (semi-)empty project is created.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the console, you check the version of hugo by type: hugo_version() -&amp;gt; enter. It&amp;rsquo;s very important, you will know why later.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go to themes.gohugo.io to choose the theme that you like. Clicking to the link will lead you to that theme page. If you see the buttom &amp;ldquo;Homepage&amp;rdquo; click to it. If you don&amp;rsquo;t, search google: &amp;ldquo;[name_of_your_chosen_theme] github&amp;rdquo;. Then go to its Github repository. Copy the whole name of the theme (line on the top which includes author&amp;rsquo;s name/theme&amp;rsquo;s name)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go to R studio. In the console, you type blogdown::new_site(theme = &amp;ldquo;it-gro/hugo-theme-w3css-basic&amp;rdquo;. Remove exceeded spaces. Then press enter. When it finish, you have a webpage built in your local computer.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Tell R/Git who you are:
Go to Tools -&amp;gt; Shell. If you don&amp;rsquo;t find &amp;ldquo;shell&amp;rdquo; in tools, no worries, just go to terminal (the tab next to console).
You type: git config &amp;ndash;global user.name &amp;ldquo;put_your_Github_username&amp;rdquo;. Then hit enter&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You type: git config &amp;ndash;global user.email &amp;ldquo;put_your_email_you_used_for_github&amp;rdquo;. Then hit enter&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Now you commit everything you&amp;rsquo;ve just added to github. STill in the terminal, you type: git add -A.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the Git window, you see all boxes are checked. Click &amp;ldquo;commit&amp;rdquo;, type comments, click &amp;ldquo;commit&amp;rdquo;. when it&amp;rsquo;s done, close that small window. Then click &amp;ldquo;push&amp;rdquo;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&#34;3-set-up-your-website-in-netlify&#34;&gt;3. Set up your website in Netlify:&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;On your account page, click tab &amp;ldquo;Sites&amp;rdquo; -&amp;gt; &amp;ldquo;add new site&amp;rdquo; -&amp;gt; &amp;ldquo;import an existing project&amp;rdquo; -&amp;gt; &amp;ldquo;github&amp;rdquo; -&amp;gt; choose your github project&lt;/li&gt;
&lt;li&gt;Click &amp;ldquo;show advance&amp;rdquo; -&amp;gt; click &amp;ldquo;new variable&amp;rdquo;. In the &amp;ldquo;key&amp;rdquo; box, you type: &amp;ldquo;HUGO_VERSION&amp;rdquo;. In the &amp;ldquo;Value&amp;rdquo; box, you paste the version of hugo.&lt;/li&gt;
&lt;li&gt;Click &amp;ldquo;deploy&amp;rdquo;. When a new page appears, you click to &amp;ldquo;deploy new site&amp;rdquo;. Then you&amp;rsquo;re almost done.&lt;/li&gt;
&lt;li&gt;If you want to change domain, go to deploy setting, change the domain.&lt;/li&gt;
&lt;li&gt;If links in your website don&amp;rsquo;t appear in the way the should, go back to R studio, look for config.toml file. The first line (commonly), replace the baseurl link by your actual web link, save it, and commit it. Your&amp;rsquo;re done.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That&amp;rsquo;s it. Let try it and good luck!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you have any questions along the way, just google and seek for answers in Github. I think ChatGPT may not be very helpful in this case.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Additional materials:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&#34;https://www.youtube.com/watch?v=9Jqvaoeh1W4&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://www.youtube.com/watch?v=9Jqvaoeh1W4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.youtube.com/watch?v=8xbxXR_Iu5Y&amp;amp;list=PLpZT7JPM8_GbPiX4ibrP7ogl7GyEofZMj&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://www.youtube.com/watch?v=8xbxXR_Iu5Y&amp;list=PLpZT7JPM8_GbPiX4ibrP7ogl7GyEofZMj&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
    </item>
    
    <item>
      <title>Summarized Zotero hacks</title>
      <link>https://thihaopham.netlify.app/post/zotero_hacks/</link>
      <pubDate>Fri, 07 Apr 2023 00:00:00 +0000</pubDate>
      <guid>https://thihaopham.netlify.app/post/zotero_hacks/</guid>
      <description>&lt;p&gt;In this post, I want to share with you how to use Zotero effectively for organizing your references. Additionally, if you use R markdown for writing reports/ manuscripts, using Zotero is a must for citing references quickly and easily.&lt;/p&gt;
&lt;h1 id=&#34;1-install-zotero-and-related-things&#34;&gt;1. Install Zotero and related things&lt;/h1&gt;
&lt;p&gt;First of all you need to&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install Zotero: &lt;a href=&#34;https://www.zotero.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://www.zotero.org/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Install Zotero connector (with the brower you use): &lt;a href=&#34;https://www.zotero.org/download/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://www.zotero.org/download/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Install useful plugins (Zotfile, Better BibTeX): &lt;a href=&#34;https://www.zotero.org/support/plugins&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://www.zotero.org/support/plugins&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&#34;2-organize-your-zotero&#34;&gt;2. Organize your Zotero&lt;/h1&gt;
&lt;p&gt;I highly recommend you to set-up your Zotero before you start adding references.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Creating groups in your Zotero library according to your projects.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set location of pdf files and their (new) names: This step is very important. When Zotero download pdf files, it will store those files in separate folders (one article in one folder) in the C:\User\admin\Zotero with random &amp;amp; non-sense names. However, I&amp;rsquo;m sure that you want to locate all those pdf files in folders where you can easily find and work with. You click Tools -&amp;gt; Zotfile References&amp;hellip;, then:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In the General settings tab, the lower part (Location of file), choose &amp;ldquo;Custom Location&amp;rdquo;, then choose where you want to keep your pdf file. I highly recommend you choose an online path (Google drive/ OneDrive), so you can access to your pdf files anywhere.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Then check the underneath line &amp;ldquo;Use subfolder defined by:&amp;hellip;&amp;rdquo;. This is to organize your pdf files into different folders. In the box next to it you can indicate how you want to name your subfolder: %y: &lt;em&gt;by year&lt;/em&gt;; %w: &lt;em&gt;by journal&lt;/em&gt;; and importantly %c: by name of your Zotero group. Before % sign, you need to put &lt;code&gt;\&lt;/code&gt; (for Window) or &lt;code&gt;/&lt;/code&gt; (for Mac). For example, I use Window so I would add: &lt;code&gt;\%c&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In Renaming rules (will automatically remain the pdf file according to the rule you set): set the rule as you like&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Other tabs: you can check if you want to change anything. Otherwise, we&amp;rsquo;re fine as it is now.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;DONE! Now we are going to ask Zotero to work for us&amp;hellip;&lt;/strong&gt;&lt;/p&gt;
&lt;h1 id=&#34;3-make-use-of-zotero-to-improve-your-workflow&#34;&gt;3. Make use of Zotero to improve your workflow&lt;/h1&gt;
&lt;h2 id=&#34;31-easily-add-your-references&#34;&gt;3.1. Easily add your references&lt;/h2&gt;
&lt;p&gt;There are multiple way that you can add your reference to Zotero. Regardless of the way you do, the citation will be added automatically.&lt;br&gt;
Zotero can find PDF files for you if you want and if PDFs are openly available, or you can always add PDF later. This feature is similar to EndNote.&lt;/p&gt;
&lt;h3 id=&#34;311-add-individual-citation&#34;&gt;3.1.1. Add individual citation:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Directly from the website: just click to the Zotero add-in icon on the right corner of your webpage. When you only have 1 paper on the webpage, Zotero-add-in icon looks like a paper-icon&lt;/li&gt;
&lt;li&gt;Indirectly via identify number (PMID, DOI,&amp;hellip;): Click to the icon &amp;ldquo;Add item(s) by identifier&amp;rdquo; in the tab-bar of Zotero&lt;/li&gt;
&lt;li&gt;Drag and drop the pdf file to Zotero&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;312-add-multiple-citations&#34;&gt;3.1.2. Add multiple citations:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Directly from the website: Same as above. When you only have 1 paper on the webpage, Zotero-add-in icon looks like a folder-icon. This is super useful when you do a systematic review, you run your search, PubMed or EMBASE returns a list of retrieved papers, you just need to add all of them to Zotero folder :)&lt;/li&gt;
&lt;li&gt;Via identify number (PMID, DOI,&amp;hellip;): Paste multiple identifiers to the box &amp;ldquo;Add item(s) by identifier&amp;rdquo;. Zotero can identify a few hundred of DOIs per time, but much less with PMID.&lt;/li&gt;
&lt;li&gt;Drag and drop the pdf files to Zotero. If you want, you can use Zotero to rename (i.e., author_year_title) your pdfs&lt;/li&gt;
&lt;li&gt;Import your existing library (BibTeX, RIS, Zotero, Mendeley, or Endnote file): In Zotero, choose File -&amp;gt; Import. If you want to download available pdf: Select all citations (Ctrl A) -&amp;gt; right mouse click -&amp;gt; Find available pdfs.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;32-easily-fix-your-previously-poor-organized-setup&#34;&gt;3.2. Easily fix your previously poor-organized setup&lt;/h2&gt;
&lt;p&gt;If you have been using Zotero for a while but in an unstructured way, you can still fix it. You can start with setting location for pdf files, then:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Rearrange your Zotero library&amp;rsquo;s structure: Create (sub)groups. Moving references to the right (sub)groups&lt;/li&gt;
&lt;li&gt;Relocate your pdf files: select all citations in your chosen (sub)groups -&amp;gt; right mouse click -&amp;gt; Manage attachments -&amp;gt; rename and move. Zotero (+Zotfile) will rename your pdf files, cut and paste them to the new location that you&amp;rsquo;ve just set. Amazing!!!&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;33-deduplication&#34;&gt;3.3. Deduplication&lt;/h2&gt;
&lt;p&gt;Zotero can recognize duplicates and merge them when you want. On your left hand side, click &amp;ldquo;Duplicate items&amp;rdquo;, click to one of the duplicated items, on your right side, select the item that you want to keep, then click &amp;ldquo;merge&amp;rdquo;.&lt;/p&gt;
&lt;h2 id=&#34;34-edit-your-references&#34;&gt;3.4. Edit your references:&lt;/h2&gt;
&lt;h3 id=&#34;341-edit-the-citation&#34;&gt;3.4.1. Edit the citation&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;You can change the title to &amp;ldquo;Title case&amp;rdquo; or &amp;ldquo;Sentence case&amp;rdquo; by selecting the citation -&amp;gt; right click to the title -&amp;gt; choose the option you want&lt;/li&gt;
&lt;li&gt;Add note/tag: Choose the action you want on your right hand side. It&amp;rsquo;s useful when you work in a shared project, you can add your name to the tag to mention you&amp;rsquo;ve added the ref, or add the status of your work on that reference&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;342-edit-the-pdf&#34;&gt;3.4.2. Edit the pdf&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Highlight: use different color for different purpose. For example: yellow for evidence, blue for refs, &amp;hellip;Then you can choose to only show blue or yellow highlighed parts&lt;/li&gt;
&lt;li&gt;Export your highlighted parts: Right click to the pdf file (underneath the reference), choose &amp;ldquo;Add notes from annotations&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;35-zotero-suggests-keywords-for-your-manuscriptreport&#34;&gt;3.5. Zotero suggests keywords for your manuscript/report&lt;/h2&gt;
&lt;p&gt;On the bottom left corner, you see a list of automatic tags in your library. You may want to select some of those for your manuscript :D&lt;/p&gt;
&lt;h2 id=&#34;36-collaborate-with-your-colleagues-in-zotero-library&#34;&gt;3.6. Collaborate with your colleagues in Zotero library&lt;/h2&gt;
&lt;p&gt;You can share your Zotero library with your colleages easily. Your team members can add/edit references. By adding your/ your colleagues&amp;rsquo; name in tags/notes, the team knows who added/edited the refs.&lt;/p&gt;
&lt;h3 id=&#34;361-create-a-new-zotero-group&#34;&gt;3.6.1 Create a new Zotero group:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;You create an account on &lt;a href=&#34;https://www.zotero.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://www.zotero.org/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Log in to your account&lt;/li&gt;
&lt;li&gt;Click to &amp;ldquo;Group&amp;rdquo; tab -&amp;gt; create a new group -&amp;gt; Set a name and choose &amp;ldquo;public&amp;rdquo; or &amp;ldquo;private&amp;rdquo; as you like.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;362-move-your-existing-library-folder-from-personal-library-to-group-library&#34;&gt;3.6.2 Move your existing library (folder) from personal library to group library:&lt;/h3&gt;
&lt;p&gt;Drag and drop your existing folder from personal library to group library. However, doing that way will not move all pdf attachments. That&amp;rsquo;s why I highly recommend that you organize your group library well at the beginning.&lt;/p&gt;
&lt;p&gt;Then you/your team members can work with the group library in the same way as personal library.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note: There are thousands of hacks out there so I will update this post every now and then. That&amp;rsquo;s it for now, I hope that you find this post useful!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Additional materials:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&#34;https://ikashnitsky.github.io/2019/zotero/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://ikashnitsky.github.io/2019/zotero/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.youtube.com/@research_craft&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://www.youtube.com/@research_craft&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
    </item>
    
    <item>
      <title>Create a mindmap in a minute using markdown or Rmarkdown</title>
      <link>https://thihaopham.netlify.app/post/mindmap/</link>
      <pubDate>Sun, 26 Mar 2023 00:00:00 +0000</pubDate>
      <guid>https://thihaopham.netlify.app/post/mindmap/</guid>
      <description>&lt;p&gt;In this post, I want to share with you how to create a mindmap easily using markdown or Rmarkdown.&lt;/p&gt;
&lt;h1 id=&#34;using-markdown&#34;&gt;Using markdown&lt;/h1&gt;
&lt;p&gt;What you need to do is only inserting a code block &lt;code&gt;markmap&lt;/code&gt; (meaning markdown + mindmap) as below:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;
&lt;code&gt;
```markmap
- A tree
  - Branch 1
    - [Leave 1 with a link to a website](https://markmap.js.org/)
    - Leave 2
      which is very long
    - Leave 3 with `a code here`
  - Branch 2
    - Leave a with an equation: $x = {a\over b}$
    - ~~Leave b which is not needed anymore~~
```
&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Then you will get the mindmap as below:&lt;/p&gt;
&lt;div class=&#34;markmap&#34; style=&#34;height: 500px;&#34;&gt;

&lt;pre&gt;- A tree
  - Branch 1
    - [Leave 1 with a link to a website](https://markmap.js.org/)
    - Leave 2
      which is very long
    - Leave 3 with `a code here`
  - Branch 2
    - Leave a with an equation: $x = {a\over b}$
    - ~~Leave b which is not needed anymore~~&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Please not that Mindmap can be written in markdown, but needs to be supported by a flexible platform, for example Wowchemy hugo template with a webpage output.&lt;/p&gt;
&lt;h1 id=&#34;using-rmarkdown&#34;&gt;Using Rmarkdown&lt;/h1&gt;
&lt;p&gt;Mindmap feature has not been incoporated into Rmarkdown yet, unfortunately &amp;hellip; However, a package named &amp;ldquo;mindr&amp;rdquo; can help to convert Markdown (&amp;rsquo;.md&amp;rsquo;) or R Markdown (&amp;rsquo;.Rmd&amp;rsquo;) texts, R scripts, and directory structures, into mind map widgets or files (&amp;rsquo;.mm&amp;rsquo;), and vice versa. You just need to make sure that you choose the output: html_document.
How to do so? After installing &amp;ldquo;mindr&amp;rdquo; package, you can search &amp;ldquo;markmap&amp;rdquo; in Help tab to know how. In summary, there are 2 steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Create a source text which could be an .Rmd or .md or R script file with the structure below (only text, no YAML):&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;
&lt;code&gt;
```
# Branch 1
  ##  Leave 1
  ##  Leave 2
# Branch 2
  ##  Leave a
  ##  Leave b
```
&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Name the file as you want, for example: &amp;ldquo;input_text.Rmd&amp;rdquo; and keep it in the same directory as your second file below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Create a normal .Rmd file with HTML output. Then insert the code below:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;
&lt;code&gt;
```{r} 
input_txt &lt;- readLines(&#34;input_text.Rmd&#34;, encoding = &#34;UTF-8&#34;)
markmap(input_txt, root = &#34;A tree&#34;)
```
&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;That&amp;rsquo;s it. Let try it and good luck!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Additional materials:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://wowchemy.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://wowchemy.com/&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://www.youtube.com/watch?v=t1a_9xfX6J8&amp;amp;t=44s&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://www.youtube.com/watch?v=t1a_9xfX6J8&amp;t=44s&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://markmap.js.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://markmap.js.org/&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://cran.r-project.org/web/packages/mindr/mindr.pdf&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://cran.r-project.org/web/packages/mindr/mindr.pdf&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://app.datacamp.com/workspace/w/26603c9c-e3cf-4cc8-a61e-4bf82719bbd1/edit&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://app.datacamp.com/workspace/w/26603c9c-e3cf-4cc8-a61e-4bf82719bbd1/edit&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
</description>
    </item>
    
    <item>
      <title>My first Shiny Dashboard</title>
      <link>https://thihaopham.netlify.app/post/shiny/</link>
      <pubDate>Sat, 01 Jan 2022 21:13:14 -0500</pubDate>
      <guid>https://thihaopham.netlify.app/post/shiny/</guid>
      <description>&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;
&lt;p&gt;This Shiny flex dashboard is used to demonstrate how a markov model can be generated using R and how the result can be presented in an interactive way. Users are able to change the input parameters and observe the change of the results immediately.&lt;/p&gt;
&lt;p&gt;The example used in this web app is from a publication Briggs et al. (1998). It can be found here: &lt;a href=&#34;https://pubmed.ncbi.nlm.nih.gov/10178664/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://pubmed.ncbi.nlm.nih.gov/10178664/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All calculations in this exercise were done by using basic formulas in R. Pre-build R packages for Health Economics were not applied. The results from this web app are comparable with the results drawn using Excel.&lt;/p&gt;
&lt;h1 id=&#34;shiny-dashboard&#34;&gt;Shiny dashboard&lt;/h1&gt;
&lt;p&gt;Please click to the link below to access to the dashboard. Try it out!&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://e50943-hao-pham.shinyapps.io/1stDashboard_HaoPham/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://e50943-hao-pham.shinyapps.io/1stDashboard_HaoPham/&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>
