Giter Site home page Giter Site logo

Comments (4)

rmcelreath avatar rmcelreath commented on July 22, 2024

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.

lptickman avatar lptickman commented on July 22, 2024

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.

KaiserDominici avatar KaiserDominici commented on July 22, 2024

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.

qqqilihq avatar qqqilihq commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.