Skip to content
프로젝트

소개

R을 사용한 간단하고 확장 가능한 통계 모델링

과학 및 공학

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

greta is an R package for writing statistical models and fitting them by MCMC and optimisation

greta lets you write your own model like in BUGS, JAGS and Stan, except that you write models right in R, it scales well to massive datasets, and it’s easy to extend and build on.

See the website for more information, including tutorials, examples, package documentation, and the greta forum.

You can install the current release version of the package from CRAN:

install.packages("greta")

Or install the development version of greta from r-universe:

install.packages("greta", repos = c("https://greta-dev.r-universe.dev", "https://cloud.r-project.org"))

(Note - installing from r-universe is just like installing from CRAN, and should be faster and more convenient than installing from GitHub)

You can also install the development version of greta via GitHub:

remotes::install_github("greta-dev/greta")

Installing Python dependencies

greta uses Google's TensorFlow and tensorflow-probability Python packages under the hood. For most users there is nothing extra to install: the first time you use greta in a session, it automatically installs a compatible Python, TensorFlow, and TensorFlow Probability via uv. So library(greta) followed by your first model usually just works.

If you need a conda environment instead (for example on an offline network), or want to pin specific versions, use install_greta_deps() and then point greta at the environment with greta_set_python("conda"). By default it installs TF 2.21.0, TFP 0.25.0, and Python 3.12; choose versions via its deps argument and greta_deps_spec(). See the "Installing dependencies" vignette, ?install_greta_deps, or ?greta_set_python for more.

CRAN status R-CMD-check greta status badge Codecov test coverage

license doi joss

관련 프로젝트 살펴보기

불러오는 중…