<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Posts on Smokelyze</title>
    <link>https://smokelyze.org/post/</link>
    <description>Recent content in Posts on Smokelyze</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Thu, 15 Jan 2026 13:03:26 -0800</lastBuildDate>
    <atom:link href="https://smokelyze.org/post/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>R shiny [05]: Interactive maps using Leaflet</title>
      <link>https://smokelyze.org/2025/r-shiny-05-interactive-maps-using-leaflet/</link>
      <pubDate>Thu, 27 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://smokelyze.org/2025/r-shiny-05-interactive-maps-using-leaflet/</guid>
      <description>&lt;style&gt;&#xA;pre code {&#xA;    font-size: 14px;&#xA;}&#xA;&lt;/style&gt;&#xA;&lt;div id=&#34;leaflet&#34; class=&#34;section level2&#34;&gt;&#xA;&lt;h2&gt;Leaflet&lt;/h2&gt;&#xA;&lt;p&gt;The &lt;strong&gt;Leaflet&lt;/strong&gt; package in R is a powerful tool for creating interactive web maps directly from R code, leveraging the popular open-source &lt;strong&gt;JavaScript library Leaflet.js&lt;/strong&gt;&#xA;(&lt;a href=&#34;https://leafletjs.com/&#34; target=&#34;_blank&#34;&gt;here&lt;/a&gt;).&#xA;It allows users to overlay data points, polygons, raster images, and other geospatial data on customizable basemaps, supporting features like zooming, panning, popups, color scales, and layer controls. Leaflet integrates seamlessly with spatial objects in R (e.g., &lt;code&gt;sf&lt;/code&gt;, &lt;code&gt;sp&lt;/code&gt;, &lt;code&gt;raster&lt;/code&gt;, &lt;code&gt;terra&lt;/code&gt;), making it especially useful for visualizing spatial data in R Shiny apps, reports, and dashboards.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Smoke tool tutorial [04]: GAM previous - Layer map</title>
      <link>https://smokelyze.org/2025/smoke-tool-tutorial-04-gam-previous-layer-map/</link>
      <pubDate>Thu, 13 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://smokelyze.org/2025/smoke-tool-tutorial-04-gam-previous-layer-map/</guid>
      <description>&lt;style&gt;&#xA;pre code {&#xA;    font-size: 14px;&#xA;}&#xA;&lt;/style&gt;&#xA;&lt;p&gt;This tutorial is for the “PM2.5 and O3 smoke tool” app, available at (&lt;a href=&#34;https://westar.shinyapps.io/PMO3smokeTool/&#34; target=&#34;_blank&#34;&gt;https://westar.shinyapps.io/PMO3smokeTool/&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;[GAM previous]&lt;/code&gt; tab allows users to explore and understand previously developed GAMs for O3 prediction and related air quality analyses. It includes two main sub-tabs: &lt;code&gt;[Overview]&lt;/code&gt; and &lt;code&gt;[Layer map]&lt;/code&gt;.&#xA;Additionally, users can compare not only our GAM results but also findings from other studies on smoke contributions to O3 and PM2.5, derived using different methods.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Smoke tool tutorial [03]: GAM previous - Overview</title>
      <link>https://smokelyze.org/2025/smoke-tool-tutorial-03-gam-previous-overview/</link>
      <pubDate>Wed, 12 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://smokelyze.org/2025/smoke-tool-tutorial-03-gam-previous-overview/</guid>
      <description>&lt;style&gt;&#xA;pre code {&#xA;    font-size: 14px;&#xA;}&#xA;&lt;/style&gt;&#xA;&lt;p&gt;This tutorial is for the “PM2.5 and O3 smoke tool” app, available at (&lt;a href=&#34;https://westar.shinyapps.io/PMO3smokeTool/&#34; target=&#34;_blank&#34;&gt;https://westar.shinyapps.io/PMO3smokeTool/&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;[GAM previous]&lt;/code&gt; tab allows users to explore and understand previously developed GAMs for O3 prediction and related air quality analyses. It includes two main sub-tabs: &lt;code&gt;[Overview]&lt;/code&gt; and &lt;code&gt;[Layer map]&lt;/code&gt;.&#xA;Additionally, users can compare not only our GAM results but also findings from other studies on smoke contributions to O3 and PM2.5, derived using different methods.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Smoke tool tutorial [02]: GAM manual - GAM setup</title>
      <link>https://smokelyze.org/2025/smoke-tool-tutorial-02-gam-manual-gam-setup/</link>
      <pubDate>Tue, 11 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://smokelyze.org/2025/smoke-tool-tutorial-02-gam-manual-gam-setup/</guid>
      <description>&lt;style&gt;&#xA;pre code {&#xA;    font-size: 14px;&#xA;}&#xA;&lt;/style&gt;&#xA;&lt;p&gt;This tutorial is for the “PM2.5 and O3 smoke tool” app, available at (&lt;a href=&#34;https://westar.shinyapps.io/PMO3smokeTool/&#34; target=&#34;_blank&#34;&gt;https://westar.shinyapps.io/PMO3smokeTool/&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;[GAM manual]&lt;/code&gt; tab is designed to provide users with comprehensive tools to manually manage data collection and loading processes for building GAMs.&#xA;It includes two main sub-tabs: &lt;code&gt;[Data collection]&lt;/code&gt;, &lt;code&gt;[Load dataset]&lt;/code&gt;, &lt;code&gt;[GAM setup]&lt;/code&gt;, and &lt;code&gt;[GAM results]&lt;/code&gt;.&#xA;Please note that &lt;code&gt;[GAM setup]&lt;/code&gt; and &lt;code&gt;[GAM results]&lt;/code&gt; are normally hidden unless you run &lt;code&gt;[Load datset]&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Smoke tool tutorial [01]: GAM manual - Data collection</title>
      <link>https://smokelyze.org/2025/smoke-tool-tutorial-01-gam-manual-data-collection/</link>
      <pubDate>Mon, 10 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://smokelyze.org/2025/smoke-tool-tutorial-01-gam-manual-data-collection/</guid>
      <description>&lt;style&gt;&#xA;pre code {&#xA;    font-size: 14px;&#xA;}&#xA;&lt;/style&gt;&#xA;&lt;p&gt;This tutorial is for the “PM2.5 and O3 smoke tool” app, available at (&lt;a href=&#34;https://westar.shinyapps.io/PMO3smokeTool/&#34; target=&#34;_blank&#34;&gt;https://westar.shinyapps.io/PMO3smokeTool/&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;[GAM manual]&lt;/code&gt; tab is designed to provide users with comprehensive tools to manually manage data collection and loading processes for building GAMs.&#xA;It includes two main sub-tabs: &lt;code&gt;[Data collection]&lt;/code&gt;, &lt;code&gt;[Load dataset]&lt;/code&gt;, &lt;code&gt;[GAM setup]&lt;/code&gt;, and &lt;code&gt;[GAM results]&lt;/code&gt;.&#xA;Please note that &lt;code&gt;[GAM setup]&lt;/code&gt; and &lt;code&gt;[GAM results]&lt;/code&gt; are normally hidden unless you run &lt;code&gt;[Load datset]&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>R shiny [04]: Hide/Show login page</title>
      <link>https://smokelyze.org/2025/r-shiny-04-hide-show-login-page/</link>
      <pubDate>Mon, 10 Feb 2025 00:00:00 +0000</pubDate>
      <guid>https://smokelyze.org/2025/r-shiny-04-hide-show-login-page/</guid>
      <description>&lt;style&gt;&#xA;pre code {&#xA;    font-size: 14px;&#xA;}&#xA;&lt;/style&gt;&#xA;&lt;p&gt;As explained in the previous post, creating a simulated login page in R Shiny is straightforward.&#xA;This post demonstrates how to toggle the visibility of the login page,&#xA;allowing a seamless transition from the login page to the main page.&#xA;This content includes the necessary information for the &lt;code&gt;server&lt;/code&gt; section.&#xA;The main focus of this post is to explain the transition of the login page using &lt;code&gt;actionButton()&lt;/code&gt;. The part where the user enters an email and proceeds will not be covered in this post.&lt;/p&gt;</description>
    </item>
    <item>
      <title>R shiny [03]: Create login page</title>
      <link>https://smokelyze.org/2025/r-shiny-03-create-login-page/</link>
      <pubDate>Fri, 07 Feb 2025 00:00:00 +0000</pubDate>
      <guid>https://smokelyze.org/2025/r-shiny-03-create-login-page/</guid>
      <description>&lt;style&gt;&#xA;pre code {&#xA;    font-size: 14px;&#xA;}&#xA;&lt;/style&gt;&#xA;&lt;p&gt;Implementing a typical login page can be quite complex in R shiny.&#xA;Implementing such a typical login page requires handling user information and passwords,&#xA;which presents limitations when building it in R Shiny.&#xA;This post demonstrates how to create a “login page” in an R Shiny app.&#xA;More precisely, it might be more appropriate to call it a simulated login page.&lt;/p&gt;&#xA;&lt;p&gt;For example, you could create a feature that takes guests&#xA;from the login page to the main UI page by simply entering their email address.&#xA;Furthermore, you can even have your visitors receive a notification&#xA;via email as soon as they enter their email address.&lt;/p&gt;</description>
    </item>
    <item>
      <title>R shiny [02]: Dashboard UI</title>
      <link>https://smokelyze.org/2025/r-shiny-02-dashboard-ui/</link>
      <pubDate>Wed, 05 Feb 2025 00:00:00 +0000</pubDate>
      <guid>https://smokelyze.org/2025/r-shiny-02-dashboard-ui/</guid>
      <description>&lt;style&gt;&#xA;pre code {&#xA;    font-size: 14px;&#xA;}&#xA;&lt;/style&gt;&#xA;&lt;p&gt;R shiny is a very useful and versatile tool to build your own app using R.&#xA;This blog section will walk you through the step-by-step process of how the GAM tool app was built.&#xA;Please note that your R environment and package versions may differ from mine.&#xA;Today’s topic will cover how the basic UI was set up.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;div id=&#34;install-and-import-required-pacakges&#34; class=&#34;section level2&#34;&gt;&#xA;&lt;h2&gt;Install and import required pacakges&lt;/h2&gt;&#xA;&lt;p&gt;To begin, let’s set up a simple &lt;code&gt;shiny&lt;/code&gt; application with a basic UI and server structure.&#xA;Before creating the app, ensure you have the necessary libraries installed. If not, you can install them using:&lt;/p&gt;</description>
    </item>
    <item>
      <title>R shiny [01]: Getting started</title>
      <link>https://smokelyze.org/2025/r-shiny-01-getting-started/</link>
      <pubDate>Tue, 04 Feb 2025 00:00:00 +0000</pubDate>
      <guid>https://smokelyze.org/2025/r-shiny-01-getting-started/</guid>
      <description>&lt;style&gt;&#xA;pre code {&#xA;    font-size: 14px;&#xA;}&#xA;&lt;/style&gt;&#xA;&lt;div id=&#34;r-shiny&#34; class=&#34;section level2&#34;&gt;&#xA;&lt;h2&gt;R Shiny&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;R Shiny&lt;/strong&gt; is an open-source R package that allows users to build interactive web applications directly in R without requiring extensive knowledge of web development (HTML, CSS, or JavaScript). It is widely used for &lt;strong&gt;data visualization, dashboard creation, and interactive analytics&lt;/strong&gt;. Shiny applications run in a web browser and can be hosted &lt;strong&gt;locally&lt;/strong&gt;, on &lt;strong&gt;Shiny Server&lt;/strong&gt;, or deployed to &lt;strong&gt;ShinyApps.io&lt;/strong&gt; or other cloud platforms.&#xA;R Shiny is a game-changer for those who want to create &lt;strong&gt;interactive applications&lt;/strong&gt; and &lt;strong&gt;data-driven dashboards&lt;/strong&gt; without needing deep web development expertise. Whether you’re an analyst, researcher, or developer, Shiny provides a powerful and flexible way to bring your data to life.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
