This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"editor.rulers": [ | |
{ | |
"_comment1": "JSON does not handle comments, it must also be data", | |
"_comment2": "This editor ruler adds a vertical line to VSCode to know when to move code to a new line", | |
"_comment3": "Add this to your settings.json", | |
"column": 79, | |
"color": "#FF00FF" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(plyr) | |
library(ggplot2) | |
# Simulate data | |
numSubs = 40 | |
x = runif(numSubs, 0, 30) | |
x = c(x, x + abs(rnorm(numSubs, 2))) | |
y = 2 + x - 0.02*x^2 + rnorm(2*numSubs, 0, 1) |