[go: up one dir, main page]

Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebravom committed Aug 23, 2022
1 parent 42702be commit b4ab75c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions scripts/.Rhistory
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
dim(sim.height)
sim.height <- sapply( weight.seq , height.weight)
dim(sim.height)
library(rethinking)
data(rugged)
d <- rugged
d$log_gdp <- log(d$rgdppc_2000)
dd <- d[ complete.cases(d$rgdppc_2000) , ]
dd.trim <- dd[ , c("log_gdp","rugged","cont_africa") ]
str(dd.trim)
library(rethinking)
data(rugged)
Expand Down Expand Up @@ -510,3 +501,12 @@ install.packages("GGally")
install.packages("GGally")
install.packages("GGally")
ggcor
# we recommend running this is a fresh R session or restarting your current session
install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
cmdstanr::install_cmdstan()
install.packages(c("coda","mvtnorm","devtools","loo","dagitty","shape"))
devtools::install_github("rmcelreath/rethinking")
install.packages(c("coda", "mvtnorm", "devtools", "loo", "dagitty", "shape"))
cmdstanr::install_cmdstan()
install.packages(c("coda","mvtnorm","devtools","loo","dagitty","shape"))
devtools::install_github("rmcelreath/rethinking")
2 changes: 1 addition & 1 deletion scripts/rethinking_install.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOpt

cmdstanr::install_cmdstan()

install.packages(c("coda","mvtnorm","devtools","loo","dagitty","shape"))
install.packages(c("coda","mvtnorm","devtools","loo","dagitty","shape"), dependencies = TRUE)
devtools::install_github("rmcelreath/rethinking")

0 comments on commit b4ab75c

Please sign in to comment.