similar to: Error in terms.default()

Displaying 20 results from an estimated 7000 matches similar to: "Error in terms.default()"

2005 May 06
2
bivariate normal cdf
-- R Help List -- I am looking for a bivariate normal cdf routine in R. I have some fortran routines for this, which appear to be based on 15-point quadrature. Any guidance/suggestions on making these in loadable R-functions would be appreciated. Thanks, Dan =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Daniel A. Powers, Ph.D. Department of Sociology University of Texas at Austin
2007 Jul 11
1
make error R-5.1 on sun solaris
I hope this is enough information to determine the problem. Thanks in advance for any help. Configure goes ok (I think) ./configure --prefix=$HOME --without-iconv R is now configured for sparc-sun-solaris2.9 Source directory: . Installation directory: /home/dpowers C compiler: gcc -g -O2 Fortran 77 compiler: f95 -g C++ compiler: g++
2006 Oct 02
1
multilevel factor model in lmer
Hello -- I am curious if lmer can be used to fit a multilevel factor model such as a two-parameter item response model. The one parameter model is straightforward. A two-factor model requires a set of factor loadings multiplying a single random effect. For example, a logit model for the ith subject responding correctly to the jth item (j=1,..,J) is logit[p(ij)] = a1*item1(i) + ... + aJ *
2006 Feb 02
2
RHOME
R-help -- I built R-2.2.1 in my own directory on a sun (solaris). Now I would like the sysadmin to move the contents to /usr/local/lib and place the binary in /usr/local/bin. No problem. However, the RHOME variable defaults to the directory from which R was built so it is not usable by anyone but me or ROOT. I would like to avoid building this again if possible. Any ideas? Thanks, Dan
2003 Mar 08
3
where is kurtosis??
Dear friends, I try to get started with R and can’t estimate kurtosis of a random sample by using one command. I have installed R 1.6.2. Please help. Max --------------------------------- ur needs [[alternate HTML version deleted]]
2003 Mar 26
3
hist overlay...
thanks to all for the 2d scatter plot. i have one more. how do i plot 'hist(y1, col="red") and hist(y2,col="blue") in the same window? thanks again.
2003 Feb 19
1
assign value to slot of S4 object
Dear list, I noticed something while assigning a new value to the slot of an object of class S4. Apparently(*) this object is copied while the operation is performed. Is it really wished ? (or did I miss something ?) I use R-1.6.2: > R.version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status
2003 Sep 25
1
PlotMoth Refusing to Draw xlab
Occasionally I have had plotmath refuse to draw x-axis labels. This has happened when the label, created using expression(paste( ) ) as below, could be drawn easily in the available space. I have not reproduced that, but the following example with a clearly overly long label results in no xlab at all. I hoped that at least a truncated label would be plotted. This is probably related to my
2003 Sep 18
2
hist will not use parameter xaxs (PR#4219)
Full_Name: Mark Wall Version: 1.6.0 OS: linux Submission from: (NULL) (63.251.119.254) I want to plot a histogram of a *subset* of some data: >t = c(0:9) >hist(t,right=FALSE,breaks=10,xlim=c(0,5),xaxs="i") This means I should plot a histogram from 0 to 5 with breaks at 1,2,3,4. This should produce exactly 5 bars of frequency=1. Instead I get 5 and 1/4 bars. I do not want the
2003 Oct 02
3
indexing a vector
Dear All: I'd like to know how to sort and then index a vector of floats by several levels in R. For example >x<-rnorm(100) > MyLevels<-quantile(x,probs=c(0,.5,1)) > MyLevels 0% 50% 100% -2.11978442 -0.03770613 2.00186397 next i want to replace each x[i] in x by 1,2,3 or 4 depending on which quantile that x[i] falls. How do I do that in a
2003 Sep 29
2
parametric surfaces
Hi, does anyone know how to plot 3D parametric surface,e.g ellipsoid: x=a*cos(s)*cos(t), y=b*sin(s)*cos(t), z=sin(t); s in [0,2*pi], t in [-pi,pi]. Vytautas Maniusis, Vilnius University, Lithuania
2003 Feb 19
2
plotmath
There's something (probably a lot) missing in my understanding of plotmath. The LaTeX code for what I'm trying to produce is \log(-\log(\hat R)) My (probably hopeless) attempt at it uses nested group()s: expression(plain(log) * group("(", -plain(log)*group("(", \hat(R), ")"), ")")) Can anyone do it right for me, please? Thanks, Ted. Dr E.A.
2004 May 19
3
greek letters in plots
Hi, I want to write in x axis label "fitted value of lambda" (lambda in greek letter). xlab=expression(lambda) gives the "lambda", I tryed things like xlab=paste ("fitted value of ", expression(lambda)) but I didn't get the greek letter. Thanks in advance for any hint. Antonio Olinto ------------------------------------------------- WebMail Bignet - O seu
2004 May 11
2
How to draw holes generated by gpclib using plot function
Hi. I've tried to create a polygon with one hole by gpclib using following example script. holepoly <- read.polyfile(system.file("poly-ex/hole-poly.txt", package ="gpclib"), nohole = FALSE) area.poly(holepoly) plot(holepoly,poly.args=list(col="red",border="blue")) And I noticed plot function couldn't draw polygons with holes correctly.
2003 Apr 07
3
graphic question
Hi, I want to use R for some data mining project , and was wondering if it has any intercative graphical features? For example, is it possible to plot a histogram and be able to select a specific point on it and have all the data about it? or select a specific area in a curve and have all the data about it? or possibilities to zoom out and in? Thank you for your help, Mama Benchaffai School of
2003 Jul 31
6
how to make a plot without any axis-labeling
Hi. I got a problem, perhaps someone can help me....... every time, when I want to plot data, both axis are labeled by default like data[1,] and data[2,] how can I make a plot without ANY labeling? does anyone know that? thanks for helping Michael [[alternative HTML version deleted]]
2003 Feb 24
5
exact range of axes in plots
Hello. I was wondering how one can find the exact values of the range of an axis within a plot. In xlispstat it was (send plot :range 0). Thanks much, Jason
2003 Oct 23
2
GIS re-mapping / polygon overlap
In Germany the Unemployment Agency uses a sectioning of the german map that is different from the usual Administrative Boundaries. Some demographic data are available in Administrative Boundaries only, some in Unemployment Boundaries only. I would like to generate estimates in one boundary system of data availabe in the other boundary system, and would appreciate advice concerning the following
2003 Apr 23
3
Changing the size of the bounding box
Greetings all: I have to create a graph that has very specific dimensions for publication purposes. The graph is a semilog scaled graph and the axes must range from 1 to 1,000,000 on the y axis and 0 to 100 on the x axis. The x axis should be exactly 8 inches and the y axis should be exactly 5.25 inches. I've been able to set the plot area to 8 x 5.25 using the par(pin=c(8,5.25)). The
2003 Dec 05
3
.C() memory allocation
I would like to retrieve a vector of integers from a call to .C(), but I don't know its length in advance. How do I do this without making an ugly safe guess? My vector is called "sequences". I am passing the argument sequences = integer(0) in the call to .C(), then declaring the corresponding argument as int *sequences in my C code. I tried R_alloc()ing the storage in C and