Displaying 20 results from an estimated 600 matches similar to: "animations?"
2006 Nov 05
1
lme4 install error
Dear all,
I'm trying to install lme4 (after having installed R 2.4.0 from source, and
having installed the latest Matrix package). lme4 fails with the following
message:
pedigree.o definition of _lme4_xSym in section (__DATA,__common)
pedigree.o definition of _lme4_ySym in section (__DATA,__common)
make: *** [lme4.so] Error 1
ERROR: compilation failed for package 'lme4'
** Removing
2003 Jun 28
2
Truncating y axis
Hi folks,
I want to have a y-axis using matplot where the y axis is truncated as
shown schematically below:
(msecs)
3000 | x
~
~
800 | x
|
| x
|
----|----|----|-----------------
1 2 3
Position
The ~ is supposed to stand for a curved line showing a break. The issue is
that I want to plot the points shown by the
2002 Jul 25
3
Barplot coloring question
Hi all,
I have the following dataset, call it test.data (30 columns, and one row
named "0"):
ADVP ADVP AP AP CONJ CONJ CP CP DU DU INF INF MWU
MWU NP NP PP PP PPRT PPRT REL REL SMN SMN SSB SSB SV1
SV1 TI TI
0 96.85 2.05 89.07 2.54 70.91 2.37 94.92 3.46 82.31 11.33 40.96 2.25 98.06
3.43 90.77 17.63 86.60 10.78 60.27 1.32 93.27 0.97 77.60
2001 Nov 29
2
plotting (a) confidence intervals (b) standard error
Hi all,
I'm building a plot of the values in tmeant (below) against positions 1 to
5, using matplot.
tmeant looks like this:
case1 case2
pos1 861.8466 818.5909
pos2 961.2841 976.3466
pos3 878.6080 1262.8523
pos4 950.8011 1129.6080
pos5 968.1080 1063.3920
I also have lower (object tl) and upper (object tu) bounds on the
confidence intervals as follows:
tl:
pos1
2001 Dec 15
1
subset error message
Hello everybody,
I'm trying to subset a data frame "foo", which looks like this:
sent cond raw V1
10 2 A 614 7
11 2 A 724 6
12 2 A 641 5
13 2 A 665 9
33 5 B 510 7
34 5 B 659 7
35 5 B 607 6
37 5 B 467 8
38 5 B 586 9
39 5 B 523 10
57 8 C 858 8
58 8 C 513 9
59 8 C
2002 Jan 04
1
plotting maps?
I thought I had plotted a map of oregon and washington and overlayed some
points using R. Is that possibe since I can't seem to find the source file I
used or commands for plotting maps and points?
If not, sorry for the bother...
Thanks,
Jeff.
Jeff D. Hamann
Hamann, Donald & Associates, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
Bus. 541-753-7333
Cell. 541-740-5988
jeff_hamann
2003 Aug 15
1
rterm not shutting down from ESS on Win32
I've been having problems with Rterm.exe not shutting down when I exit an R
(1.7.0 and 1.7.1) session from within emacs when using ESS. I've just
upgraded to 5.1.24 and still have the same problems. I'm running ntemacs and
winxp. I don't recall having these troubles with version 1.6.2 of R.
Jeff.
---
Jeff D. Hamann
Hamann, Donald and Associates, Inc.
PO Box 1421
Corvallis, Oregon
2002 May 04
1
lattice help....
I'm trying to create some trellis plots (like the last plot in the lattice
demo). When I run the demo( "lattice" ), the demo runs just fine, but when I
cut and paste some or all of the demo code into a r file of mine (and
nothing else), I can't see anything on a device and it doesn't look like any
of the demo is being run. Has anyone else seen this?
Jeff.
Jeff D. Hamann
2002 Oct 08
1
dyn.load and c-function
I've got a c function in a dll and have been able to call it from R. The
function is :
void __stdcall testfunc2(
unsigned long *a,
double *b,
unsigned long *c,
double *result )
{
*result = 0;
*result = (*a) * (*b) * (*c);
}
and the R code to call the function is as follows:
dyn.load("c:/openfvs/biometrics/debug/biometrics.dll" )
tf2 <- function(
2002 Jan 16
1
getting the response (dependent) from formula?
I'm trying to build a vector (fitting systems of equations) and I'm having a
little trouble getting the response variables from a list of formulas...
bdgmodel <- lbdg ~ d1sqr + ld1 + lhg
hgmodel <- lhg ~ ht2 + lht + whc
inst <- ~ d1sqr + ld1 + ht2 + lht + whc
systemeq <- list( bdgmodel, hgmodel )
# manually generate the y matrix...
y <- cbind( matrix( lbdg ),
2002 Apr 05
2
weighted 2 or 3 parameter weibull estimation?
I've figured out how to use optim (barely) to estimate 2 parameter =
weibull distributions. I can't get over how easy this is. What I need to =
do is use a weight in the observations.....
For example,=20
the tree diameters and weights are are=20
4.70 , 100
6.00, 98
7.10, 75.0
8.10, 86.3
8.60, 80.456
8.90, 20.5
9.50, 16.6
11.40, 12.657
11.80, 12.47
14.50,
2001 Nov 13
2
how do I install add on packages?
I'm having some trouble installing the add on packages.
I would like to install the RMySQL_0.4-3.tar.gz add on package. I've
downloaded it and unzipped the package. The INSTALL file says
R CMD INSTALL [-l<alternate-dir>] RMySQL_<version>.tar.gz
does this mean in the R system enter the following?
> INSTALL -l /root/RMySQL_0.4-3.tar.gz (?)
when I do this I get...
Error:
2002 May 15
1
can't get rcmd to work on windows2k....
I'm trying to make sure my R package will install properly (build help
files, etc) and when I try to run the rcmd check (or any rcmd option) I get
the following error. Does dcf.pm stand for perl module? If not, why do I get
this message?
C:\systemfit\r_code>rcmd check --help
Can't locate R/Dcf.pm in @INC (@INC contains: c
\PROGRA~1\r\rw1041\share\perl; /usr/lib/perl5/5.6.1/cygwin-multi
2001 Dec 08
1
plotting values "by"
I would like to produce a set of values, on the same chart, from an sql
table that is structured like...
species dbh ht expf
DF 1.2 8.9 10.0
DF 2.4 17.3 12.4342
DF 3.1 20.9 56.76
PP 2.3 16.9 100.0
PP 12.8 97.3 40.3
PP 8.2 63.0 98.34
.
.
.
SS blah, blah, blah...
is it possible to, using a single command in the plot command to plot the
different groups on the same plot or will I have to iterate
2002 Feb 28
1
trying to build matrix for tests...
Okay, I stumped. I'm trying to build a matrix or data.frame that consists of
values by group. For example,
resid, group
574 0.536196370873122 E
575 0.93191093696265 E
576 -1.27116094894117 A
577 -1.05159666055027 A
578 0.398273458301184 D
579 0.586373126102573 E
580 0.806575304513802 E
581 0.897258393118338 E
582 0.342393324256838 D
583 0.781245511773227 E
I
2001 Dec 09
1
trouble with plotting
I'm trying to use the lattice package (and have run into the message before)
where I will get the following when trying to plot....
Error in clearpage() : Error: X11 cannot allocate additional graphics
colors.
Consider using X11 with colortype="pseudo.cube" or "gray".
What do I need to do to get rid of this so that I can use the graphics
libraries to their fullest
2003 Sep 30
1
can't get names from vector in nlm calls
I've been trying to figure out how to get the names of the parameter vector
variables when inside the function that nlm calls to return the objective
function value:
knls <- function( theta, eqns, data, fitmethod="OLS", instr=NULL, S=NULL )
{
## print( names( theta ) ) # returns NULL
## get the values of the parameters
for( i in 1:length( theta ) )
2001 Mar 20
5
animation?
I was wondering if anyone out there has created a series of images (e.g.
jpegs) using R, then animated them on a web page. I have looked around a
bit and it seems fairly complicated. One approach that seems sensible is
to use a java script that displays the list of images. I have only used
html on web pages before so I don't know how to use java...
Ideally the final result is easily ported to
2001 Nov 27
2
overlaying qqnorm plots...
I know this topic has had plenty of discussion in the last couple of days,
but....
I've been trying to compare the effects of different fitted methods for
systems of equations (OLS, SUR, 2SLS, 3SLS ) and would like to compare the
residual plots (easy) and the qqnorm/qqplot of the fits for the different
fitted methdos. For example,
qqnorm( residuals( lm( q ~ p + f + a ) ) )
par( new = TRUE )
2001 Nov 17
1
xyplot link missing
Hi,
I am trying to install the nlme package, but during installation I get
the message
<snip>
pdSymm text html latex example
plot.ACF text html latex example
missing link(s): xyplot
plot.Variogram text html latex example
missing link(s): xyplot
plot.augPred