Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kauedesousa committed Jul 1, 2021
1 parent 22c802a commit 761a120
Show file tree
Hide file tree
Showing 6 changed files with 178 additions and 178 deletions.
338 changes: 169 additions & 169 deletions data/potato.csv

Large diffs are not rendered by default.

Binary file modified output/potato_tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions scripts/01_select_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ dt1 <- f[[1]]
# select the variables in this file
names(dt1)

sel <- c("id", "package_item_A", "package_item_B", "package_item_C",
sel <- c("id", "package_project_name", "package_item_A", "package_item_B", "package_item_C",
"registration_REG_clm_start", "post-harvest1(5daysafterharvest)_ASS2e47a9554c06_clm_start",
"post-harvest1(5daysafterharvest)_ASS2e47a9554c06_char_yield_pos",
"post-harvest1(5daysafterharvest)_ASS2e47a9554c06_char_yield_neg")


dt1 <- dt1[,sel]

names(dt1) <- c("id", paste0("item_", LETTERS[1:3]),
names(dt1) <- c("id", "project_name", paste0("item_", LETTERS[1:3]),
"start", "end", "yield_pos", "yield_neg")

head(dt1)
Expand Down Expand Up @@ -123,15 +123,15 @@ dt2 <- f[[2]]

names(dt2)

sel <- c("id", "package_item_A", "package_item_B", "package_item_C",
sel <- c("id", "package_project_name", "package_item_A", "package_item_B", "package_item_C",
"registration_REG_clm_start", "post-harvest1(5daysafterharvest)_ASS9d462bb9245b_clm_start",
"post-harvest1(5daysafterharvest)_ASS9d462bb9245b_char_yield_pos",
"post-harvest1(5daysafterharvest)_ASS9d462bb9245b_char_yield_neg")


dt2 <- dt2[,sel]

names(dt2) <- c("id", paste0("item_", LETTERS[1:3]),
names(dt2) <- c("id", "project_name", paste0("item_", LETTERS[1:3]),
"start", "end", "yield_pos", "yield_neg")

head(dt2)
Expand Down
2 changes: 1 addition & 1 deletion scripts/03_potato.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ plot(tree)

summary(tree)

gosset:::plot_tree(tree, ci.level = .9)
gosset:::plot_tree(tree, ci.level = .84)

ggsave(filename = "output/potato_tree.png",
plot = last_plot(),
Expand Down
6 changes: 3 additions & 3 deletions scripts/sessioninfo/01_select_data_session_info.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
─ Session info ──────────────────────────────────────────────────────────────────────────────────────────────────
─ Session info ────────────────────────────────────────────────────────────────────────────────────────
setting value
version R version 4.1.0 (2021-05-18)
os macOS Big Sur 11.3.1
Expand All @@ -8,9 +8,9 @@
collate en_US.UTF-8
ctype en_US.UTF-8
tz Europe/Oslo
date 2021-06-30
date 2021-07-01

─ Packages ──────────────────────────────────────────────────────────────────────────────────────────────────────
─ Packages ────────────────────────────────────────────────────────────────────────────────────────────
package * version date lib source
abind 1.4-5 2016-07-21 [1] CRAN (R 4.1.0)
assertthat 0.2.1 2019-03-21 [1] CRAN (R 4.1.0)
Expand Down
2 changes: 1 addition & 1 deletion scripts/sessioninfo/03_potato_session_info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
collate en_US.UTF-8
ctype en_US.UTF-8
tz Europe/Oslo
date 2021-06-30
date 2021-07-01

─ Packages ────────────────────────────────────────────────────────────────────────────────────────────
package * version date lib source
Expand Down

0 comments on commit 761a120

Please sign in to comment.