mirror of
https://github.com/Zenithsiz/ist-pe-proj.git
synced 2026-02-03 05:57:12 +00:00
Improved some formatting and added linter options.
This commit is contained in:
parent
84d1569272
commit
8d02f82b59
1
.lintr
Normal file
1
.lintr
Normal file
@ -0,0 +1 @@
|
||||
linters: with_defaults(line_length_linter=line_length_linter(120))
|
||||
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -1,3 +1,3 @@
|
||||
{
|
||||
"cSpell.words": ["ddesemp", "ggplot", "ggsave", "readxl"]
|
||||
"cSpell.words": ["ddesemp", "ggplot", "ggsave", "readxl", "xlab", "ylab"]
|
||||
}
|
||||
|
||||
@ -22,12 +22,8 @@ tpp_sd <- sd(df$tpp)
|
||||
|
||||
df_adjusted <- data.frame(
|
||||
tempo = df[, c("tempo")],
|
||||
ddesemp = lapply(df[, c("ddesemp")], function(ddesemp) {
|
||||
(ddesemp - ddesemp_mean) / ddesemp_sd
|
||||
}),
|
||||
tpp = lapply(df[, c("tpp")], function(tpp) {
|
||||
(tpp - tpp_mean) / tpp_sd
|
||||
})
|
||||
ddesemp = lapply(df[, c("ddesemp")], function(ddesemp) (ddesemp - ddesemp_mean) / ddesemp_sd),
|
||||
tpp = lapply(df[, c("tpp")], function(tpp) (tpp - tpp_mean) / tpp_sd)
|
||||
)
|
||||
|
||||
# Then plot them and save the output
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user