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)
- Feature request: Add a template for shifted lognormal distribution HOT 2
- Does the rethinking package work using the newest version of R - 4.2.2? HOT 1
- Nevermind HOT 2
- Eliminating variable breaks ulam model HOT 2
- Smooth functions of a variable - modeling syntax HOT 2
- Problem with R code 9.14 on Mac OS
- problems loading rethinking HOT 1
- Zero Inflated Negative Binomial Model HOT 1
- difference in n_eff of population mean depending on model specification HOT 3
- Comparison length > 1 in `cv_data_slice`.
- character limit in translating to stan with ulam()? HOT 3
- Problem with defining imputed variable as a vector in generated stan code HOT 2
- link() not handling id variable values not in original data HOT 2
- Gamma parameterisation
- sim() from model with missing value imputation breaks with error "function merge_missing not found" HOT 2
- 'reject' stan command conflicts with UCBadmit data
- Chapter 16 Lynx Hare Model Change with Stan 2.33.0? HOT 10
- How to construct a spline model using ulam() HOT 4
- cannot install rethinking HOT 1
- Error in link(), R code 4.67 HOT 1
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.