Articles by Shravan Vasishth

Generating data from a uniform distribution using R, without using R’s runif function

December 19, 2021 | Shravan Vasishth

Generating data from a uniform distribution using R, without using the runif function Generating data from a uniform distribution using R, without using the runif functionShravan Vasishth12/19/2021 One can easily generate data from a uniform(0,1) using the runif function in R:
runif(10)
##  [1] 0.25873184 0.06723362 0.07725857 0.65281945 0.43817895 0.35372059<br>##  [7] 0.14399150 0.16840633 0.24538047 0.95230596
But what if one doesn’t have ... [Read more...]

A common mistake in psychology and psycholinguistics: Part 2

August 13, 2021 | Shravan Vasishth

A Common Mistake in Data Analysis (in Psychology/Linguistics): Subsetting data to carry out nested analyses (Part 2 of 2) A Common Mistake in Data Analysis (in Psychology/Linguistics): Subsetting data to carry out nested analyses (Part 2 of 2)Shravan Vasishth8/8/2021 tl;drSubsetting data to carry out pairwise comparisons within one level of ... [Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)