• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Rstats 101

Learn R Programming Tips & Tricks for Statistics and Data Science

  • Home
  • About
    • Privacy Policy
  • Show Search
Hide Search

rstats101

How to create a nested dataframe with lists

rstats101 · November 27, 2024 ·

In this tutorial, we will learn how to create a nested dataframe using nest() function in tidyverse. A nested dataframe is a dataframe where one or more columns are list columns. In a simple dataframe, columns are simple/atomic vectors. However, column can contain other data … [Read more...] about How to create a nested dataframe with lists

Filed Under: rstats101, tidyr, tidyr unnest() Tagged With: nested dataframe with list

How to compute proportion with tidyverse

rstats101 · November 21, 2024 ·

In this tutorial, we will learn how to compute proportion with tidyverse. We will see three examples of caluculating proportion. In the first, we have counts of a single column and show how to calculate proportion. The second example shows how to compute proportion of variable … [Read more...] about How to compute proportion with tidyverse

Filed Under: rstats101 Tagged With: compute proportion with dplyr

How to Compute Z-Score of Multiple Columns

rstats101 · October 27, 2024 ·

In this post, we will learn how to compute Z-score of multiple variables (columns) at the same time using tidyverse in R using multiple approaches. First, we will show an example of computing Z-score of multiple columns, where all the columns in the dataframe is numeric and … [Read more...] about How to Compute Z-Score of Multiple Columns

Filed Under: R Function, rstats101, scale() Tagged With: compute Z-score

How to compute Z-score

rstats101 · September 30, 2024 ·

What is Z-score?

In this post, we will learn how to compute Z-score in R using two different approaches, first manually by using the z-score formula and then using scale() function available in base R. What is Z-score Z-score is a commonly used transformation technique to … [Read more...] about How to compute Z-score

Filed Under: rstats101, scale() Tagged With: compute Z-score

How to Compute Compound Interest with Tidyverse

rstats101 · September 27, 2024 ·

Computing Compound Interest Example

In this post, we will learn how to calculate compound interest in R using tidyverse framework. Getting an intuition behind how compound interest can influence investing returns is wxtremely useful in personal final. On a high level, compounding interest refers to the process of … [Read more...] about How to Compute Compound Interest with Tidyverse

Filed Under: Compound Interest, rstats101 Tagged With: Calculate Compound Interest

  • Page 1
  • Page 2
  • Page 3
  • Interim pages omitted …
  • Page 10
  • Go to Next Page »

Primary Sidebar

Recent Posts

  • How to create a nested dataframe with lists
  • How to compute proportion with tidyverse
  • How to Compute Z-Score of Multiple Columns
  • How to drop unused level of factor variable in R
  • How to compute Z-score

Categories

%in% arrange() as.data.frame as_tibble built-in data R colSums() R cor() in R data.frame dplyr dplyr across() dplyr group_by() dplyr rename() dplyr rowwise() dplyr row_number() dplyr select() dplyr slice_max() dplyr slice_sample() drop_na R duplicated() gsub head() impute with mean values is.element() linear regression matrix() function na.omit R NAs in R near() R openxlsx pivot_longer() prod() R.version replace NA replace NAs tidyverse R Function rstats rstats101 R version scale() sessionInfo() t.test() tidyr tidyselect tidyverse write.xlsx

Copyright © 2025 · Daily Dish Pro on Genesis Framework · WordPress · Log in

Go to mobile version