• 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

T-test on real data using tidyverse

rstats101 · August 28, 2024 ·

In this post, we will learn how to perform t-test on a real dataset and use tidyverse framework to access results from t-test. Check out the post how to do t-test to learn base R approach to t-tes. We will use Palmer penguin dataset, a real world dataset, to show how to … [Read more...] about T-test on real data using tidyverse

Filed Under: rstats101, t.test(), tidyverse Tagged With: t-test with tidyverse

How to perform t-test in R

rstats101 · August 27, 2024 ·

Applying t-test on two groups with clear difference in mean values

In this post, we will learn how top perform t test in R and understand when and why to use it. A t-test is one of the commonly used statistical tests, when one is interested in comparing two groups of measures and determine if there is a significant difference between the mean … [Read more...] about How to perform t-test in R

Filed Under: rstats101, t.test() Tagged With: t test in R

How to convert a list to a dataframe

rstats101 · August 23, 2024 ·

In this tutorial, we will learn 3 different ways to convert a list object into a dataframe in R. First we will show how to use the base R function as.data.frame() to convert a list to a dataframe. Then we will show examples using map_df() function in purrr package in tidyverse … [Read more...] about How to convert a list to a dataframe

Filed Under: as.data.frame, dplyr bind_rows(), map_df, rstats101 Tagged With: convert list to dataframe

runif()- generate uniform random numbers

rstats101 · July 22, 2024 ·

One way to generate uniformly distributed numbers in R is use the runif() function. runif is short for “random uniform”. R has other random number generating functions. For example rnorm generates random normal numbers. runif() takes three arguments, thrst is n - number of … [Read more...] about runif()- generate uniform random numbers

Filed Under: rstats101 Tagged With: runif function in r

How to Find difference between two dates as days, weeks, months and years

rstats101 · July 19, 2024 ·

In this tutorial we will learn how to find the difference between two date objects in R in terms of days, months, and years. We will learn how to use time_length() function available in tidyverse as part of lubridate package to get the difference as dyas, weeks, months, and … [Read more...] about How to Find difference between two dates as days, weeks, months and years

Filed Under: rstats101, time_length() function Tagged With: time difference as years

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • 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