mhtess / rwebppl

RWebPPL, an R interface to Webppl http://webppl.org
22 stars 7 forks source link

Default model_var = "model", data_var = "data" #51

Closed mhtess closed 6 years ago

mhtess commented 7 years ago

These seem like reasonable default names that we can use. So the user can specify:

webppl(myProgram, inference_opts = list(...), data = data.frame(x = c(...), y = c(...))), with the model in Webppl called "model" and the data called "data", and everything should run fine.