Skip to content

Commit

Permalink
Check SpParamsMED
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcaceres committed Sep 12, 2024
1 parent 0d15f9e commit d30c4eb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Binary file modified data-raw/InitialSpParamsMED.xlsx
Binary file not shown.
8 changes: 7 additions & 1 deletion data-raw/ReloadParameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ usethis::use_data(SpParamsDefinition, overwrite = T)



# SpParamsMED -------------------------------------------------------------
# SpParamsMED [MODE A] -------------------------------------------------------------
SpParamsMED <-as.data.frame(readxl::read_xlsx("data-raw/InitialSpParamsMED.xlsx",
sheet="InitialSpParamsMED", na = "NA"), stringsAsFactors=FALSE)

Expand Down Expand Up @@ -89,6 +89,12 @@ openxlsx::saveWorkbook(wb,"data-raw/SpParamsMED.xlsx", overwrite=TRUE)
rm(SpParamsMED)


# SpParamsMED [MODE B] -------------------------------------------------------------
SpParamsMED <-as.data.frame(readxl::read_xlsx("data-raw/SpParamsMED.xlsx",
sheet="SpParamsMED", na = "NA"), stringsAsFactors=FALSE)
usethis::use_data(SpParamsMED, overwrite = T)


## Trait family means
trait_family_means = read.csv2("data-raw/trait_family_means.csv", dec=".")
usethis::use_data(trait_family_means, internal=TRUE, overwrite=TRUE)
Expand Down
Binary file modified data-raw/SpParamsMED.xlsx
Binary file not shown.
Binary file modified data/SpParamsMED.rda
Binary file not shown.

0 comments on commit d30c4eb

Please sign in to comment.