Comments (4)
These bugs remain mysterious, as no one has yet found out how to get a new system to produce them.
The underlying function in this case is tracerplot
. You should be able to call it directly.
from rethinking.
Thanks a bunch, using the underlying function worked.
On Tue, Oct 18, 2016 at 3:19 AM, Richard McElreath <[email protected]
wrote:
These bugs remain mysterious, as no one has yet found out how to get a new
system to produce them.The underlying function in this case is tracerplot. You should be able to
call it directly.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#60 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV133-zSaap673PKzon72R2xn_Tf3RwTks5q1IEbgaJpZM4KZWQB
.
from rethinking.
I've encountered the same problem. I think there is an issue with the method definition, there is no plot.map2stan and therefore this class inherits from the default, which maybe does not support S4?
> loadedNamespaces()
[1] "Rcpp" "matrixStats" "mvtnorm" "lattice" "grDevices"
[6] "digest" "MASS" "plyr" "grid" "gtable"
[11] "rethinking" "stats4" "datasets" "StanHeaders" "coda"
[16] "scales" "ggplot2" "rlang" "utils" "lazyeval"
[21] "graphics" "labeling" "base" "tools" "loo"
[26] "munsell" "parallel" "rstan" "compiler" "stats"
[31] "inline" "colorspace" "tibble" "methods" "gridExtra"
> methods(plot)
[1] plot,ANY,ANY-method plot,color,ANY-method
[3] plot,profile.mle,missing-method plot,stanfit,missing-method
[5] plot.acf* plot.correspondence*
[7] plot.data.frame* plot.decomposed.ts*
[9] plot.default plot.dendrogram*
[11] plot.density* plot.ecdf
[13] plot.factor* plot.formula*
[15] plot.function plot.ggplot*
[17] plot.gtable* plot.hclust*
[19] plot.histogram* plot.HoltWinters*
[21] plot.isoreg* plot.lda*
[23] plot.lm* plot.loo*
[25] plot.mca* plot.mcmc*
[27] plot.mcmc.list* plot.medpolish*
[29] plot.mlm* plot.ppr*
[31] plot.prcomp* plot.princomp*
[33] plot.profile* plot.profile.nls*
[35] plot.raster* plot.ridgelm*
[37] plot.shingle* plot.spec*
[39] plot.stepfun plot.stl*
[41] plot.table* plot.trellis*
[43] plot.ts plot.tskernel*
[45] plot.TukeyHSD*
> showMethods("plot")
Function: plot (package graphics)
x="ANY", y="ANY"
x="color", y="ANY"
x="map2stan", y="missing"
(inherited from: x="ANY", y="ANY")
x="profile.mle", y="missing"
x="stanfit", y="missing"
> selectMethod(plot, "map2stan")
Method Definition (Class "derivedDefaultMethod"):
function (x, y, ...)
UseMethod("plot")
<bytecode: 0x00000000151ef860>
<environment: namespace:graphics>
Signatures:
x y
target "map2stan" "ANY"
defined "ANY" "ANY"
> getMethod(plot, "map2stan")
Error in getMethod(plot, "map2stan") :
no method found for function 'plot' and signature map2stan
from rethinking.
Hi, I get an error code with traceplot() as well. not sure if it is related:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘traceplot’ for signature ‘"mcmc"’
I tried to plot an MCMCregress model.
from rethinking.
Related Issues (20)
- Error in link(), R code 4.67 HOT 1
- Poisson response imputation compilation error
- Random Effect in Zero-Inflated Model
- Rethink package is NOT getting installed HOT 8
- Sampling issue for the Cat Adoptions Survival model.
- Random walk in ulam HOT 2
- problem in precis command
- Can multiple outcomes be regressed on the same linear model?
- ulam fits missing @stanfit slot? HOT 2
- WAIC not computing from ulam() model, even with log_lik = TRUE HOT 4
- Problem installing cmdstanr HOT 1
- ulam fits giving odd errors HOT 4
- errata 2nd Edition page 130
- log_lik fails with matrices in models fit by ulam HOT 6
- Where is sim_globe, and the rest of the code shown in the videos? HOT 2
- Panda_nuts Nut-Cracking Frequency? HOT 6
- The garden of forking data - 2 blue from 1? HOT 3
- quap allows incorrect(?) definition with categorical variable HOT 1
- Consistent syntax error on map2stan/ulam issues HOT 2
- Some typos here and there
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rethinking.