Displaying 20 results from an estimated 2000 matches similar to: "problem with plots with short example."
2011 Aug 11
1
R crashes when communicating with JAGS
There is a thread on this topic already:
http://finzi.psych.upenn.edu/Rhelp10/2010-August/250934.html
I'm rather mystified by a similar problem and wondering whether I've
overlooked something obvious. I'm running with latest versions of R and
all packages, and latest version of JAGS running under Windows 7.
Here's the problem. I have some source code. It's given below -
2011 Sep 10
1
dgamma in jags within r
I define priors in jags within r using a gamma distribution. I would
like to control the shape but I have problems. Any help will be usefull.
From help of dgamma
___________________
The Gamma distribution with parameters shape = a and scale = s has density
f(x)= 1/(s^a Gamma(a)) x^(a-1) e^-(x/s)
and rate=1/scale
From jags user manual
____________________
dgamma(r, mu) has a density of
2008 Jun 25
1
dgamma in WinBUGS and JAGS (rjags)
Hello,
In WinBUGS 1.4 manual
(http://www.mrc-bsu.cam.ac.uk/bugs/winbugs/manual14.pdf), the gamma
density is presented as dgamma(r,mu) where r and mu are the shape and
rate parameters, respectively. In JAGS (rjags) manual version 1.0.2,
May 9, 2008 (http://www-fis.iarc.fr/~martyn/software/jags/jags_user_manual.pdf),
on page 26 the gamma density is presented as dgamma(mu,r) instead of
dgamma(r,mu).
2006 Oct 26
2
Newbie: Better way to do compound conditionals in subset?
There must be a better way to select the rows after 22-Apr-2004 and
before 01-Sep-2004 with a temperature below 65 than this:
> before2sw1 <- subset(energy.data, as.Date(start, format="%d-%b-%y") <
as.Date("01-Sep-04", format = "%d-%b-%y"))
> before2sw2 <- subset(before2sw1, as.Date(start, format="%d-%b-%y") >=
2006 Oct 19
1
Newbie: Selecting data
I've been working with R for all of about 8 hours, so anyone with more
experience than this should be able to help me. General comments about
my methods of work are also welcomed.
I have a table that I've imported thusly:
> w <- read.table("woodford.data", header=T)
> w
start therms gas KWHs elect temp days
1 10-Jun-98 9 16.84 613 63.80 75 40
2
2010 Aug 30
1
R crashes when communicating with JAGS
Dear all,
I have a question regarding using JAGS and R. My problem is that every
single time I want to call JAGS from R the latter crashes (i.e. it
turns pale and the Windows tells me "R has stopped working".
Strangely, if there is a mistake in my jags code, this will be
reported without a crash. Only when the code is right and the model
should start to run, R stops working. I already
2008 Sep 19
1
reproduce this graph in ggplot2 (code and data included)
How can I reproduce this graph in ggplot2 (regression lines and data
point superimposed). Thanks, Juliet
filename="http://personality-project.org/r/datasets/heating.txt"
heating=read.table(filename,header=TRUE)
symb=c(19,25,3,23)
colors=c("black","red","green","blue")
2010 Feb 18
2
3D plot
Dearl list,
can anyone point me to a function or library that can create a graph similar to the one in the following powerpoint presentation?
http://bmi.osu.edu/~khuang/IBGP705/BMI705-Lecture7.ppt
(pages 36-37)
In order to try to explain the graph, the way I see it in R terms is something like this:
the "p-q" axis is a vector of positions (for example, seq(0,5000000,1))
the
2008 Dec 15
3
R2winbugs : vectorization
I'm new to bugs, so please bear with me. Can someone tell me if the
following two models are doing the same thing? The reason I ask is
that with the same data, the first (based on 4 separate coeffs
a1--a4) takes about 50 secs, while the second (based on a vectorized
form, a[]) takes about 300. The means are about the same, though
R-hat's in the second version are quite a bit better.
2014 Apr 02
1
RJAGS Installation Issues
Hello,
I am trying to install rjags on R 3.0.0 that is running on CentOS 6.4. Jags
is installed and seems to be working correctly.
I get the following error when trying to install from source or CRAN,
configure: error: "Problem with header file /usr/include/JAGS/Console.h "
See `config.log' for more details
JAGS was intalled with an rpm. Does not look like the rpm included
2010 May 04
1
errors when installing rjags
Hi,
With the sid package jags (2.0.0-1) and r-base-core (2.11.0-1), I cannot
install package rjags anymore (this used to work at some point; can't
recall exactly at what R/JAGS versions):
---<--------------------cut here---------------start------------------->---
R> install.packages("rjags", configure.args="--with-jags-modules=/usr/lib/JAGS/modules-2.0.0")
2010 May 27
3
rjags in Ubuntu 10.04
I've not been able to install rjags successfully in Ubuntu 10.04 :
** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'rjags', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared library
'/home/scott/R/i486-pc-linux-gnu-library/2.11/rjags/libs/rjags.so':
libjags.so.2: cannot open shared object file:
2005 Mar 04
5
bayesmix - What is or where can I find JAGS executable?
Hallo!
I want to use the package bayesmix. Trying the
examples I had no success. The reason is, I think:
> haveJAGS()
[1] FALSE
Have read of JAGS executable (I could not find
JAGS.exe in my R directory). What is JAGS? Where can I
find or download it?
Karl
2007 Dec 30
2
Trying to install rjags on Mac OS X 10.5
Greetings,
I wonder if anyone can offer any help or advice--even direction to an
appropriate source of advice. I am trying to install rjags 1.0.1 on Mac OS X
10.5 (see http://www-fis.iarc.fr/~martyn/software/jags/). I have R.app 2.6.1
installed.
JAGS 1.0.1 is apparently successfully installed. I (think I) know this because
when I type 'jags' into Terminal, I get the following:
2009 Jul 21
1
error when installing rjags
Hi All: I get the following error when trying to install the rjags package.
I've installed the
jags software and I'm using Fedora 10.0 and my sessionInfo is at the bottom
of this email.
I'm also sorry if this email ends up having control A's all over it. I still
haven't figured how to fix that. Thanks.
[1] "LOADING MASS LIBRARY"
checking for
2012 Jan 12
1
Can't install rjags on LinuxMint 12
Hi,
I'm trying to install rjags and R2jags with R version 2.14.1 (2011-12-22)
on
Linux Mint 12 machine using
software repository:
deb http://cran.fhcrc.org/bin/linux/ubuntu oneiric/
jags seems to install OK, but rjags gives a weird error about not finding
fprec symbol.
Here is a history of the problem including several attempts to work
around it.
(Because of Ben Bolker's recent
2017 Sep 29
1
problem with rjags installation in ubuntu 14.04
Hello folks
Earlier versions of jags and rjags installed on my system without any
difficulty, but I'm having trouble with jags version
4.3.0-1ubuntu2~ubuntu14.04.1~ppa1 (from Michael Rutter's R ppa) and
rjags version 4.6.
The call to install.packages() I always used successfully now produces
the error "cannot link to JAGS library in /usr/lib/x86_64-linux-gnu."?
shown below
2012 Sep 20
1
rjags install on Ubuntu 10.04
I have been having trouble with rjags on Ubuntu 10.04
> library(rjags)
Loading required package: coda
Loading required package: lattice
linking to JAGS 3.2.0
module basemod loaded
Error : .onLoad failed in loadNamespace() for 'rjags', details:
call: dyn.load(file)
error: unable to load shared object '/usr/lib/JAGS/modules-3/bugs.so':
/usr/lib/JAGS/modules-3/bugs.so:
2011 Apr 18
3
Request for jags package to be added to CRAN Debian/Ubuntu archives
May I request that Dirk's package for jags be added to the CRAN
archives for Debian and Ubuntu?
Installing the rjags package for R requires specific versions of jags
to be present on the system. The current version of rjags requires
jags version 2.2.0 or later but the version on the Ubuntu archives at
Canonical (i.e. not the CRAN archives) is 2.1.0-2
I can always install Dirk's package
2010 Jun 17
2
feature request: lzma compresion (7zip)
Hello,
many linux SW is starting to implement new lzma compresson instrad of old zlib (gzip) od bzip2.
lzma is default comrpession in very good compression SW 7-zip, which is faster and have higher compression ratio then bzip2 or rar.
Currently its probalby the best compressor in therms of compression and decompression speed / compression ratio.
In linux there is GNU lzma SW which implements