CougRstats Blog
Home
Archives
Links icon
Visit us at wsu.edu Follow us on Twitter View past talks on YouTube
About
English
  • Using Python in R Studio with Reticulate

    Apr 21, 2021 · 6 min read · R Python reticulate  ·
    Share on:
    Using Python in R Studio with Reticulate

    By Sarah Murphy Download all code used below from the GitHub repository! There are four ways to use Python code in your R workflow: Python code blocks in R Markdown Interactively in the console Importing Python packages and using the commands within your R scripts Importing Python scripts and using user-defined …

    Read More
  • Feature Engineering with Sliding Windows and Lagged Inputs

    Feb 18, 2021 · 1 min read · time series  ·
    Share on:

    This week Bryan Shalloway presented a talk about feature engineering with sliding windows and lagged inputs. You can find a post on his personal blog about the topic here, and the link to the corresponding GitHub repository here.

    Read More
  • Introduction to mapping in R

    Feb 10, 2021 · 15 min read · ggplot2 mapping sf  ·
    Share on:

    By Matt Brousil In this post I'll walk through some of the basics for getting started importing, formatting, and creating maps with spatial data in R. Many students and researchers I know (myself included) have taken GIS coursework and are familiar with tools like ArcMap, but want to work with their data in R. R …

    Read More
  • ggplot2 tutorial

    Oct 16, 2020 · 9 min read · ggplot2  ·
    Share on:

    By Mikala Meize Libraries used 1library(tidyverse) 2library(ggthemes) The ggplot() function, which is used in this tutorial is housed within the tidyverse library. The ggthemes library is something we'll use later on in the tutorial. There are several ways to set up a plot using ggplot(). The first is to simply run: …

    Read More
  • An introduction to linear models with R

    Sep 25, 2020 · 18 min read · linear regression multiple regression  ·
    Share on:

    By Mikala Meize Libraries used 1library(QuantPsyc) 2library(lmtest) 3library(palmerpenguins) Linear model information Linear models are generally coded in this format: model.name <- modeltype(outcome ~ predictor, data, specifications) The following code will apply specifically to Ordinary Least Squares (OLS) …

    Read More
  • An Introduction to data.table using sythetic lat/lon data

    Apr 15, 2020 · 11 min read · data.table  ·
    Share on:

    By Nicholas A. Potter This is a short introduction to using data.table based on my work with climate data. Initial setup Let's begin by generating some data to work with. We'll use the following packages: 1# If you don't have the packages below, install with: 2#install.packages(c("data.table", …

    Read More
  • Sharing and cleaning data

    Apr 1, 2020 · 5 min read · cleaning formatting janitor sharing code  ·
    Share on:

    By Abigail Hudak Overview The goal of this document is to share some tips and ideas about structuring and cleaning data for sharing and collaborating. None of the concepts are comprehensive, but I hope you find some useful tips. Cleaning data Favorites of janitor The package janitor is awesome for data cleaning. …

    Read More
  • Intro to Shiny

    Mar 11, 2020 · 1 min read · shiny  ·
    Share on:

    By Matt Brousil For the blog post accompanying this week's Intro to Shiny talk, please visit our previous post about Shiny: https://cougrstats.netlify.app/post/how-to-shiny-2/

    Read More
  • An introduction to working with lists using purrr

    Feb 19, 2020 · 11 min read · advanced loops purrr tidyverse  ·
    Share on:

    By Matt Brousil This week I'm going to walk through some examples of applying functions to every item in one (or more) lists. Basically this gives an overview answering the question: "If I have a list of data, how do I loop through that list manipulating and running analyses on its data without using for() …

    Read More
  • SEM Lesson for R Working Group

    Dec 3, 2019 · 7 min read · Structural Equation Modeling  ·
    Share on:

    By Ben Lee Data for this walkthrough are available here. Why Use an SEM? Autocorrelation is everywhere in Ecological data, and fundamentally violates the assumptions of univariate linear models. Path analysis allows us to partition the variance of responses through a series of linear models. In our example, we'll be …

    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • »
    • »»

CougRstats Blog

Welcome to the blog for the WSU R working group. Join us!
Stats | Modeling | Data Science | Team Science
Read More

Featured Posts

  • Raster parallel process in R
  • Using Python in R Studio with Reticulate
  • Non-metric Multidimensional Scaling (NMDS) in R

Recent Posts

  • Raster parallel process in R
  • Using Python in R Studio with Reticulate
  • Feature Engineering with Sliding Windows and Lagged Inputs
  • Introduction to mapping in R
  • Research profiles with Shiny Dashboard: A case study in a community survey for antimicrobial resistance in Guatemala

Categories

PACKAGE-INTRODUCTIONS 21 RESEARCH-PROFILES 10 INTRODUCTION-TO-R 6

Tags

GGPLOT2 6 TIDYVERSE 5 DATE/TIME 4 MAPPING 4 SHINY 4 HTML 3 JANITOR 3 RSTUDIO 3 ADVANCED 2 BEGINNER 2 COLLABORATION 2 COWPLOT 2 DATA-FORMATTING 2 DPLYR 2
All Tags
ACF1 ADVANCED2 APPLY1 ARIMA1 ASTSA1 BEGINNER2 BEST-PRACTICES1 CLEANING1 CLUSTERING1 CODE-PROFILING1 COLLABORATION2 COWPLOT2 DATA-CARPENTRY1 DATA-FORMATTING2 DATA-WRANGLING1 DATA.TABLE1 DATE1 DATE/TIME4 DISCRIMINANT-ANALYSIS1 DOWNLOADER1 DPLYR2 FORCASTING1 FOREACH1 FORMATTING1 FUNCTIONS1 GGPLOT26 GGPUBR1 GGREPEL1 GIS1 GLMULTI1 GRID1 GUEST-SPEAKER1 HTML3 INDEX1 INSTALL2 INTERACTIVE1 JANITOR3 LAPPLY1 LINEAR-REGRESSION1 LOOPS1 LUBRIDATE1 MAPPING4 MAPVIEW1 MODEL-SELECTION1 MRT1 MULTIPLE-REGRESSION1 MULTIVARIATE1 NCDF1 NMDS1 NONLINEAR-REGRESSION1 PACF1 PARALLEL1 POSIXCT1 POSIXLT1 PROC1 PURRR1 PYTHON2 R1 R-MARKDOWN1 R/PYTHON2 RASTER2 REGRESSION1 REPRODUCIBILITY1 RESEARCH-PROFILES1 RESOURCE2 RETICULATE1 RMARKDOWN1 RSTUDIO3 RVEST2 SF2 SHAPEFILES1 SHARING-CODE1 SHINY4 SNOW1 SOFTWARE-CARPENTRY1 SPATIAL-DATA1 SPDATA1 SPDATALARGE1 SPECIES1 SPEED1 STRUCTURAL-EQUATION-MODELING1 TEXT-ANALYSIS1 TIDYVERSE5 TIME-SERIES2 TMAP1 VEGAN1 VENOM1 WEB-INTERFACE1 WEBSCRAPING2 ZOO1
[A~Z][0~9]

Twitter Activity

    Tweets by CougRstats
CougRstats Blog

Copyright 2021- 2025 COUGRSTATS BLOG. All Rights Reserved