Re: [R] what does this warnings mean? and what should I do?

2005-12-16 Thread Spencer Graves
from the model and go from there. hope this helps. spencer graves ronggui wrote: I use lmer to fit a mixed effect model.It give some warnings.what does this warnings mean? and what should I do? (fm2.mlm - lmer(qd ~ edu + jiankang + peixun +hunyin + cadcj + age + age2

Re: [R] lme intervals

2005-12-13 Thread Spencer Graves
)? If this does not meet your needs and you don't find the answer in the documentation for predict.lme, please provide self-contained, toy example of what you want, as suggested in the posting guide! www.R-project.org/posting-guide.html. hope this helps. spencer graves Michael

Re: [R] R-help: gls with correlation=corARMA

2005-12-11 Thread Spencer Graves
outside the unit circle. hope this helps. spencer graves [EMAIL PROTECTED] wrote: Dear Madams/Sirs, Hello. I am using the gls function to specify an arma correlation during estimation in my model. The parameter values which I am sending the corARMA function are from

Re: [R] lmer and glmmPQL

2005-12-10 Thread Spencer Graves
questions there. Certainly, I found it quite illuminating. Best Wishes, spencer graves Cox, Stephen wrote: Thanks for the reply Doug! A follow up question and comment ... 1) If I understand correctly, looking at a simple situation in which SITES are nested in ZONES

Re: [R] extend.series not zero padding

2005-12-09 Thread Spencer Graves
Aldrich, I simplified the example still further to make it easier for him to understand the issue. hope this helps. spencer graves Keith Chamberlain wrote: Dear List, I was trying to verify that I could use extend.series in the wavelets package and kept getting an error

Re: [R] Help

2005-12-08 Thread Spencer Graves
: Anectotal evidence suggests that questions that follow more closely the recommendations in the posting guide tend to get more useful answers quicker. hope this helps. spencer graves Sumanta Basak wrote: Hi R-Users, I apologize if it is too simple question for all. I have

Re: [R] about comparison of KURTOSIS in package: moments and fBasics

2005-12-08 Thread Spencer Graves
that post closer to the style recommended in this guide tend to get more useful replies quicker. hope this helps. spencer graves Baize, Harold wrote: Thanks to Spencer Graves for providing links to explain the various types of kurtosis reported by R packages

Re: [R] Time series influenced by half-time, intake and treatment...

2005-12-07 Thread Spencer Graves
mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Spencer Graves, PhD Senior Development Engineer PDF Solutions, Inc. 333 West San Carlos Street Suite 700 San Jose, CA 95110, USA [EMAIL PROTECTED

Re: [R] Ancova and lme use

2005-12-07 Thread Spencer Graves
. Anecdotal evidence suggests that posts that are more consistent with this posting guide generally get more useful replies quicker. bon chance. spencer graves [EMAIL PROTECTED] wrote: Dear R-users, We expect to develop statistic procedures and environnement

Re: [R] Tidal Time Series Analysis in R

2005-12-07 Thread Spencer Graves
. hope this helps. spencer graves William H. Asquith wrote: I am looking at using R to analyze time series data containing a tidal component. I need to remove the tidal signal to extract the time series of the phenomena I seek to study. A browse of R-project search

Re: [R] LME data with complicated random correlational structures

2005-12-06 Thread Spencer Graves
. spencer graves Keith Chamberlain wrote: Dear List, This is my first post, and I'm a relatively new R user trying to work out a mixed effects model using lme() with random effects, and a correlation structure, and have looked over the archives, R help on lme, corClasses, etc extensively

Re: [R] squared coherency and cross-spectrum

2005-12-05 Thread Spencer Graves
this helps. spencer graves Ling Jin wrote: Hi All, I have two time series, each has length 354. I tried to calculate the coherency^2 between them, but the value I got is always 1. On a website, it says: Note that if the ensemble averaging were to be omitted, the coherency (squared

[R] Understanding nonlinear optimization and Rosenbrock's banana valley function?

2005-12-04 Thread Spencer Graves
problems? Thanks. spencer graves # nlm. - function(f=fgh, p=c(-1.2, 1), gradtol=1e-6, steptol=1e-6, iterlim=100){ # R code version of nlm # requiring analytic gradient and hessian # # Initial evaluation f.i - f(p) f0 - f.i+1 # Iterate

Re: [R] Simulate Correlated data from complex sample

2005-12-04 Thread Spencer Graves
} or rmvnorm{mvtnorm} for each, combining them as you've outlined below. Does this make sense? spencer graves Doran, Harold wrote: Dear List: I have created some code to simulate data from a complex sample where 5000 students are nested in 50 schools. My code returns

Re: [R] Understanding nonlinear optimization and Rosenbrock's banana valley function?

2005-12-04 Thread Spencer Graves
, spencer graves Gabor Grothendieck wrote: Henry Wolkowicz (google his page for lots of optimization references) mentioned to me that that function is a standard example to show that first order methods (e.g. steepest descent) can fail by repeatedly crossing back and forth over

Re: [R] about comparison of KURTOSIS in package: moments and fBasics

2005-12-03 Thread Spencer Graves
distribution and then use maximum likelihood. hope this helps. spencer graves P Ehlers wrote: (Haven't seen an anwer to this yet; maybe I missed it.) klebyn wrote: Hello I do not know very much about statistics (and English language too :-( ), then I come in search

Re: [R] Loop within nlme

2005-12-02 Thread Spencer Graves
of simple, reproducible example will, I believe, more likely receive a useful response quickly than questions that are more difficult for readers of this listserve to parse. hope this helps. spencer graves Scott Story wrote: I am trying to mimic the SAS code below in R

Re: [R] Question on KalmanSmooth

2005-12-01 Thread Spencer Graves
is totally constant independent of the data (except in the presence of missing values), at least from what I've seen. Perhaps someone else will be able to enlighten both of us. Thanks for raising this question. Spencer Graves Kjetil Brinchmann Halvorsen wrote: I am

Re: [R] GLMM: measure for significance of random variable?

2005-12-01 Thread Spencer Graves
-project.org/posting-guide.html'. It's much easier for someone else to diagnose a problem if they can replicate it on their own computer in a matter of seconds. hope this helps. spencer graves nina klar wrote: Hi, I have three questions concerning GLMMs. First, I ' m

Re: [R] Constraints in Quadprog

2005-12-01 Thread Spencer Graves
on this problem. Thank you, Serguei Kaniovski __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Spencer Graves, PhD Senior

Re: [R] How to solve allocation problem in lme() analysis?

2005-12-01 Thread Spencer Graves
with lme until I got that book and started reading it. hope this helps. spencer graves Petar Milin wrote: Hello! I am running analysis on the data from 4 experiments, with approximately 4600 rows (cases). My working model is: fitA1 = lme(RT~F1+F2+L,random=~1|Experiment

Re: [R] glmmPQL

2005-11-30 Thread Spencer Graves
the time to test a simple, self-contained example than to try to replicate your problem from scratch. hope this helps. spencer graves [EMAIL PROTECTED] wrote: Hi, My name is José María Gómez, and I am pretty new in R. Thus, I apologize deeply if my questions are extremmely

Re: [R] Solution to non-linear equation problem

2005-11-30 Thread Spencer Graves
as suggested in the posting guide! http://www.R-project.org/posting-guide.html might elicit more informative responses. spencer graves Scott Story wrote: Thanks to Gabor, Duncan, and Peter. I knew the answer had something to do with solving for a and b in terms of mean

Re: [R] fixed, random effects with variable weights

2005-11-30 Thread Spencer Graves
describes how to use it to walk line by line through the function flagged for debugging. You can query the status of any variable at any point, change variables, etc. Hope this helps. spencer graves Raphael Schoenle wrote: Hi everyone, I have tried to solve a simple problem

Re: [R] spatial-time smoothing

2005-11-29 Thread Spencer Graves
(multidimensional interpolation). hope this helps. spencer graves Andrea Aimi wrote: Hi all, I'm looking for to interpolate hourly temperature date collected from more than 140 automatic weather station (irregularly spaced) using 4 independent variable: 1-2) geografic

Re: [R] How to test a time series fit the Poisson or other process?

2005-11-29 Thread Spencer Graves
. hope this helps. spencer graves p.s. If you'd like more information from this listserve, PLEASE do read the posting guide! www.R-project.org/posting-guide.html. I believe that people who follow that guide generally get quicker, more useful replies. This is especially true for those

Re: [R] anova.gls from nlme on multiple arguments within a function fails

2005-11-28 Thread Spencer Graves
, especially anova.lm worked. Also, there should be a way to use something like assign to work around this problem, but nothing I tried worked. I know this is not a complete reply, but I hope it helps. spencer graves Markus Jantti wrote: Dear All -- I am trying to use within

Re: [R] anova.gls from nlme on multiple arguments within a function fails

2005-11-28 Thread Spencer Graves
Dear Prof. Ripley: Thanks very much. I tried several superficially similar things but not either of the solutions you suggest. Best Wishes, spencer graves Prof Brian Ripley wrote: The error is in anova.gls(): traceback() would have told you that was involved

Re: [R] Looking for constrained optimisation code

2005-11-28 Thread Spencer Graves
Have you considered migrating the constraints into the objective function, then cranking up the penalty for constraint violation once you have a more or less feasible solution? spencer graves Hong Ooi wrote

Re: [R] repeated values, nlme, correlation structures

2005-11-21 Thread Spencer Graves
that information. If the results were promising, I might generate more than two sets of assignments, involving other people in that task. Bon Chance Spencer Graves Patrick Giraudoux wrote: Dear listers, My request of last week seems not to have drawn someone's attention. Suppose

Re: [R] Largest allowable matrix

2005-11-21 Thread Spencer Graves
or the file has problems. # In either case, this helps me plan what to do next. hope this helps. spencer graves Prof Brian Ripley wrote: On Mon, 21 Nov 2005, Uwe Ligges wrote: Barry Baker wrote: Hello, I am a new R user and have two datasets that I would like

Re: [R] Newton-Raphson

2005-11-21 Thread Spencer Graves
/posting-guide.html. It may increase the speed and utility of responses.) hope this helps. spencer graves p.s. See also uniroot. One common meaning of the word score in statistics in the first derivative of a log(likelihood). If you also have that log(likelihood), then optim

Re: [R] strategies to obtain convergence using nlme

2005-11-20 Thread Spencer Graves
; if the class of model is nlsList, it uses nlme.nlsList. Hope this helps. spencer graves Bill Shipley wrote: Hello. I am working on an analysis involving the nonlinear mixed model function (nlme) in R. The data consist of measures of carbon fixation by leaves as a function

Re: [R] repeated values, nlme, correlation structures

2005-11-20 Thread Spencer Graves
who die before the end of the experiment. To answer these questions, I'd use Monte Carlo, as I suggested above. Best Wishes, Spencer Graves Patrick Giraudoux wrote: Spencer Graves a écrit : You are concerned that, using the mean of each age category

Re: [R] repeated values, nlme, correlation structures

2005-11-20 Thread Spencer Graves
have yet to do. Best Wishes, Spencer Graves Patrick Giraudoux wrote: Looks fine... and at least accessible to my current understanding and capacity. I wonder if this kind of problem/method would not make a pure Bayesian very excited (I know one quite obsessional about

Re: [R] Specify Z matrix with lmer function

2005-11-19 Thread Spencer Graves
With this information, I then tried, 'getMethod(lmer, formula)', which gave me the desired source code. I could then copy it into a script file, walk through it line by line, and learn something. hope this helps. spencer graves Mark Lyman wrote: Is there a way to specify a Z matrix using

Re: [R] Can someone Help in nls() package

2005-11-19 Thread Spencer Graves
the problem. If optim also generated an error like Missing value or an infinity produced, I might modify 'f' to print its arguments and output. From that, I can usually figure out what I want to do about that. hope this helps. spencer graves Raja Jayaraman wrote: Hello R

Re: [R] nlminb failed to converge with lmer

2005-11-17 Thread Spencer Graves
seconds, and this in turn icreases the chances you will receive a quick, useful reply. (See also the posting guide! www.R-project.org/posting-guide.html.) Good Luck! spencer graves Jérôme Lemaître wrote: Dear all, I'm building binomial mixed-model using lme4 package. I'm

Re: [R] Linear model mixed with an ARIMA model

2005-11-17 Thread Spencer Graves
Have you considered using corARMA with, e.g., lme in library(nlme), as described in Pinheiro and Bates (2000) Mixed-Effects Models in S and S-PLUS (Springer, esp. table 5.3)? hope this helps. spencer graves p.s. You might get quicker and more useful replies if you

Re: [R] nlme questions

2005-11-17 Thread Spencer Graves
you get it; it is excellent for things like this. I'm sorry I couldn't help more. spencer graves Christian Mora wrote: Dear R users; Ive got two questions concerning nlme library 3.1-65 (running on R 2.2.0 / Win XP Pro). The first one is related

[R] no package 'Matrix' at the repositories

2005-11-11 Thread Spencer Graves
I installed lme4, maps, mapproj, CircStats, scatterplot3d, gregmisc, Hmisc without problems. To confirm, 'library(lme4)' produced the following error: Error: package 'Matrix' required by 'lme4' could not be found What do you suggest? Spencer Graves p.s. I get

Re: [R] no package 'Matrix' at the repositories

2005-11-11 Thread Spencer Graves
Thank you all for your replies and for all your hard work to make R what it is. The wise course for me is probably to use R 2.1.1 when I need the Matrix package until this issue gets fixed. Best Wishes, spencer graves Duncan Murdoch wrote: On 11/11/2005 9:13 AM

Re: [R] nlme error message

2005-11-07 Thread Spencer Graves
the same error message to Initialize. By comparing the example that worked with the superficially identical case that didn't, I found the difference. hope this helps. spencer graves ### You need repeated measures for a random effect to make any sense

Re: [R] Help on model selection using AICc

2005-11-07 Thread Spencer Graves
, especially comments by Prof. Ripley, if you haven't already. You can find numerous comments by looking for AICc, AIC.c, stepAIC.c, and Burnham and Anderson with RSiteSearch. Buena Suerte Spencer Graves [EMAIL PROTECTED] wrote: Hi, I'm fitting poisson regression models

Re: [R] multidimensional integration not over a multidimensionalrectangle

2005-11-07 Thread Spencer Graves
) Approximating Integral via Monte Carlo and Deterministic Methods (Oxford). hope this helps. spencer graves Lynette Sun wrote: Hi, anyone knows about any functions in R can get multidimensional integration not over a multidimensional rectangle (not adapt). For example, I

Re: [R] question on adding confidence intervals

2005-11-06 Thread Spencer Graves
Have you considered arima and predict.Arima? spencer graves Renuka Sane wrote: I am trying to do a forecasting exercise for a series, x. My forecast model consists of the following I first regress log(x) on time and dummy variables for each month. lm(log(x) ~ time

Re: [R] coding nesting in data for nlme example of Wafer data set.

2005-11-06 Thread Spencer Graves
question with a self-contained example in a few lines of R code that illustrate the problem you are having (as suggested in the posting guide www.R-project.org/posting-guide.html). Doing so might increase your chances of getting a quick and useful reply. spencer graves Bill Shipley

Re: [R] information matrix in random effects model

2005-11-06 Thread Spencer Graves
, useful reply by considering the suggestions in the posting guide, www.R-project.org/posting-guide.html. hope this helps. spencer graves Ingmar Visser wrote: I use the lme function from the nlme library (or alternatively from the Matrix library) to estimate a random

Re: [R] Help with Subtracting an effect from a Mixed Model

2005-11-06 Thread Spencer Graves
-contained toy example that illustrates your question. If someone can copy a few lines of code from your email into R and try a few things in a couple of minutes, I believe it will increase the chances that you will get quick, useful answers. hope this helps. spencer graves

Re: [R] nlme error message

2005-11-06 Thread Spencer Graves
, + correlation=cs2) (I've made similar mistakes and had great difficulty finding the problem.) spencer graves J.Fu wrote: Dear Friends, I am seeking for any help on an error message in lme functions. I use mixed model to analyze a data with compound symmetric correlation structure

Re: [R] how to optimise cross-correlation plot to study time lag between time-series?

2005-11-06 Thread Spencer Graves
) produced 5 hits between them, and my cursory review of them didn't lead to immediate enlightenment. If such a function exists, it's available under a different name. There may be better techniques available today, but I'm not familiar with them. spencer graves Jan Verbesselt wrote: Dear

Re: [R] predictive interval in nlme

2005-11-05 Thread Spencer Graves
list but it is not very close to the top.' It also might be interesting and useful to check the accuracy of the conditioning using Monte Carlo. Spencer Graves Cunningham Kerry wrote: Suppose I have the following data: y x id 44 0 104 48 58 104 48 55 204 47 105 204 41

Re: [R] nlme Singularity in backsolve at level 0, block 1

2005-11-05 Thread Spencer Graves
the singularities.) Hope this helps. spencer graves Elizabeth Lawson wrote: Hi, I am hoping some one can help with this. I am using nlme to fit a random coefficients model. It ran for hours before returning Error: Singularity in backsolve at level 0, block 1 The model

Re: [R] Confidence Intervals for Mixed Effects

2005-11-05 Thread Spencer Graves
. spencer graves Michel Friesenhahn wrote: I'm fairly new to R and am wondering if anybody knows of R code to calculate confidence intervals for parameters (fixed effects and variance components) from mixed effects models based on Sattherthwaite's method? I'm also interested

Re: [R] aov() and lme()

2005-11-05 Thread Spencer Graves
and, failing that, will get quicker and more useful replies from this list. Viel Glueck spencer graves Jan Wiener wrote: Sorry for reposting, but even after extensive search I still did not find any answers. using: summary(aov(pointErrorAbs~noOfSegments*turnAngle+Error

Re: [R] syntax of nlme with nesting

2005-11-05 Thread Spencer Graves
-project.org/posting-guide.html. This might help in other ways. Good Luck, spencer graves Bill Shipley wrote: This may appear too elementary to some on this list, but not to me. My apologies if this is the case. I have mastered the lme function but the nlme function has me

Re: [R] AR(1) with NLME

2005-11-04 Thread Spencer Graves
can copy from your email into R, try a few things, and craft a response in a minute or two. Doing that will likely increase the speed and utility of replies. Best Wishes, Spencer Graves Robert Schneider wrote: I am trying to calibrate a non linear mixed model with a AR(1

Re: [R] ML optimization question--unidimensional unfolding scalin g

2005-11-03 Thread Spencer Graves
small and building larger, i.e., start with 3 nodes, then add a fourth, etc.? spencer graves Liaw, Andy wrote: Alternatively, just type debug(optim) before using it, then step through it by hitting enter repeatedly... When you're done, do undebug(optim). Andy From: Spencer

Re: [R] FIGARCH

2005-11-03 Thread Spencer Graves
and others who do not qualify for the free version must purchase the Windows version of Ox ... . See http://finzi.psych.upenn.edu/R/library/fSeries/html/A3-GarchOxModelling.html;. I don't know if this will help you. Best Wishes, Spencer Graves Sumanta Basak wrote

Re: [R] ML optimization question--unidimensional unfolding scaling

2005-11-02 Thread Spencer Graves
email into R and try a couple of things in less than a minute, I think you might get more useful replies quicker. Best Wishes, Spencer Graves Peter Muhlberger wrote: Hi Spencer: Thanks for your interest! Also, the posting guide was helpful. I think my problem might

Re: [R] linear mixed effect model with ordered logit/probit link?

2005-10-31 Thread Spencer Graves
. Best Wishes, spencer graves byoung-inn bai wrote: Hello, I'm working on the multiple categorical data (5-points scale) using linear mixed effect model and wondering if anyone knows about or works on the linear mixed effect model with ordered logit or probit link. I found

Re: [R] lmer / variance-covariance matrix random effects

2005-10-30 Thread Spencer Graves
35.858 5.9882 Residual:653.589 25.5654 Hope this helps. spencer graves Roel de Jong wrote: Hello, has someone written by chance a function to extract the variance-covariance matrix from a lmer-object? I've noticed the VarCorr function, but it gives

Re: [R] Candlestick chart? (was: Rmetrics fMultivar how to?)

2005-10-22 Thread Spencer Graves
to at least get the same data. I know there are procedures in Rmetrics for downloading data, but I don't remember how to do it just now, and I don't have time at the moment to research that. Good Luck, spencer graves Benedict P. Barszcz wrote: Hi Everybody, I am a total beginner

Re: [R] random coefficient multinomial logistic regression (was: request)

2005-10-21 Thread Spencer Graves
. spencer graves nmi13 wrote: Dear All, Can someone please tell me if there is a provision in R to fit a random coefficient multinomial logistic regression. Thanks in advance for your help and suggestions. Regards Murthy.N.M __ R-help

Re: [R] panel data unit root tests

2005-10-20 Thread Spencer Graves
suggested the nlme package (http://finzi.psych.upenn.edu/R/Rhelp02a/archive/26962.html). You could construct nested models to compare the corAR1 correlation structure with first differences. hope this helps. spencer graves jukka ruohonen wrote: Hi, The question

Re: [R] Analyses of covariation with lme() or lm()

2005-10-18 Thread Spencer Graves
than m2 and m4. Does this help? spencer graves CG Pettersson wrote: Hello all! I have a problem that calls for a better understanding, than mine, of how lme() uses the random part of the call. The dataset consists of eleven field trials (Trial) with three

Re: [R] TRAMO-SEATS confusion?

2005-10-16 Thread Spencer Graves
. spencer graves p.s. Sundar Dorai-Raj and I are planning to develop a package to accompany Ruey Tsay (2005) Analysis of Financial Time Series, 2nd ed. (Wiley). As part of this effort, we plan to invite people to send us R code for how they would reproduce various analyses in that book

Re: [R] repeated measures with random effects

2005-10-16 Thread Spencer Graves
-- in less than, say, 40 seconds, I might have more useful comments for you and might have replied sooner. spencer graves juli g. pausas wrote: Dear all, I'm interested in analysing a reapeated measure desing where plant height (H) was measured 3 times (Time). The experimental design

Re: [R] plot.augPred sorted and labelled according second factor

2005-10-16 Thread Spencer Graves
you seemed to be requesting. Your request seems reasonably clear and concise, and it should have (I think) a relatively simple solution, but I can't find it at the moment. Good Luck, spencer graves Christoph Lehmann wrote: Hi using this code example: library

Re: [R] Need help on ARIMA (time series analysis)

2005-10-16 Thread Spencer Graves
of a standard example like lh, fitting to, e.g., windows of length 30 in this series of 48 observations, explaining also very briefly what you are trying to accomplish with the loop. spencer graves park wrote: Hi, I am so novice in using R. I have some problems in my R script

Re: [R] acf.plot() question

2005-10-16 Thread Spencer Graves
sense, since the lower left lags are negative, to have the label in the lower left the same as in the upper right. However, it doesn't disturb me greatly as it is. spencer graves DeBarr, Dave wrote: When I run the acf() function using the acf(ts.union(mdeaths, fdeaths)) example

Re: [R] functions available for use with aggregate?

2005-10-12 Thread Spencer Graves
], tstDF[1], + function(z)max(z)/min(z)) x y 1 1 -0.2931474 2 2 -1.9090787 3 3 -0.4016093 4 4 1.5147327 spencer graves Sundar Dorai-Raj wrote: t c wrote: What are the functions available for use with “aggregate”? Where can a reference to them be found

Re: [R] need suggestion about building formual

2005-10-11 Thread Spencer Graves
. spencer graves Simple wrote: Thanks for your kind respond. Although the answer didn't solve my question clearly,maybe I still not understand the art of R. I'm sorry that I had not talked the problem clearly, maybe a example with more detail will be suitable as suggested in the the posting

Re: [R] symbol print-name too long

2005-10-11 Thread Spencer Graves
.) spencer graves Afshartous, David wrote: All, I've coded a function and it works manually if I copy it line by line into R. However, when I try to load (copy and paste) the entire function into R, I get the following error after the listed line of code: + N.j.list = lapply

Re: [R] ML optimization question--unidimensional unfolding scaling

2005-10-11 Thread Spencer Graves
, please provide more detail -- but as tersely as possible. The posting guide is, I believe, quite useful (www.R-project.org/posting-guide.html). spencer graves Peter Muhlberger wrote: I'm trying to put together an R routine to conduct unidimensional unfolding scaling analysis using

Re: [R] log4j

2005-10-11 Thread Spencer Graves
I just got 145 hits from RSiteSearch(debugger). Does this help? spencer graves Omar Lakkis wrote: Is there a log4j, or similar, package for R? __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Multiple expressions, when using substitute()

2005-10-10 Thread Spencer Graves
be able to construct it using mtext, but I couldn't get the desired result using legend. hope this helps. spencer graves John Maindonald wrote: expression() accepts multiple expressions as arguments, thus: plot(1:2, 1:2) legend(topleft, expression(y == a * x

Re: [R] Glmm for multiple outcomes

2005-10-09 Thread Spencer Graves
: 60, groups: subj, 3 Fixed effects: Estimate Std. Error DF t value Pr(|t|) (Intercept) 0.35 0.151459 58 2.3109 0.02442 * x0.03 0.042661 58 0.7814 0.43777 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 spencer graves

Re: [R] Error using a data frame as the start parameter in mle()

2005-10-09 Thread Spencer Graves
-guide.html). I believe people who follow that guide on average get more useful answers quicker. Viel Glück! spencer graves Coryn Bailer-Jones wrote: Dear R-Users, I am trying to use mle() to optimize two (or more) parameters, but I want to specify those parmeters

Re: [R] quasi-random vector according to an independent graph

2005-10-08 Thread Spencer Graves
better solutions. Also, if you get stuck in the process, please report to the list your progress and where you are stuck. Good Luck, spencer graves Jinfang Wang wrote: Hi I was waiting for more advices and prepared to summarize to reduce the mail traffic. I

Re: [R] Matrix calculations in R--erroneous?

2005-10-07 Thread Spencer Graves
like this. Of course, if there are only very few 0's, then it hardly matters. However, if there are quite a few, then you need something like this. hope this helps. spencer graves Peter Muhlberger wrote: Hi Thomas: Thanks! Yes, the function (yMat2[5,9]-yMat1[5,9

Re: [R] Different sings for correlations in OLS and TSA

2005-10-06 Thread Spencer Graves
are to commended for providing a good, reasonably complete example. If it had been shorter, it might have received more comments sooner. If this does not answer your question or you have another, please let us know. spencer graves Michael Tiemann wrote: Dear list, I am

Re: [R] Inverse autocorrelation function?

2005-10-06 Thread Spencer Graves
Project for Stastical Computing is NOT a completed product but a project perpetually under renewal and extension. As such, it has many contributed packages and is happy to accept more. Spencer Graves David Hartley wrote: In time series analysis it is helpful to plot

Re: [R] Problem reading in external data and assigning data.frames within R

2005-10-05 Thread Spencer Graves
(xnew -- edit(data.frame()). is equivalent to: (xnew -(- edit(data.frame())). make sense? spencer graves Nathan Dieckmann wrote: Hey there, I apologize if this is an irritatingly simple question ... I'm a new user. I can't understand why R flips the sign of all data values when

Re: [R] Access to particular predict value

2005-10-02 Thread Spencer Graves
If you would still like help from this list, please provide a very simple reproducible example to help what you tried that didn't quite work. There are several functions that use inverse distance weighting (IDW) and kriging for geostatistical computations. spencer graves

Re: [R] R-code for binormla distribution

2005-10-02 Thread Spencer Graves
What are you trying to do that requires binormal probabilities other than pmvnorm? spencer graves Nabil Channouf wrote: Dear users, does any one have a code (S or R) to compute the binormal distribution (or the upper its quadrant area) other than the pmvnorm. Thanks

Re: [R] R-code for binormla distribution

2005-10-02 Thread Spencer Graves
-guide.html. spencer graves Nabil Channouf wrote: Dear Mr. Graves, i'm trying to write my own function with R, because we do not have the package that contains pmvnorm and i need to compute the upper quadrant area of the bivariate standard normal, or at least to know the details

Re: [R] Local install of a contributed package under Linux (was: R-code for binormla distribution)

2005-10-02 Thread Spencer Graves
. Spencer Graves Nabil Channouf wrote: Mr Graves, we are working with linux and it is so complicated to install any thing, it should be via the informaticians of the department and we have to make a request and wait. I will ask them to do it on monday. Thank you so much Spencer

Re: [R] quasi-random vector according to an independent graph

2005-09-29 Thread Spencer Graves
, and my efforts using RSiteSearch exposed several things that might be useful but none that seemed to me to be obvious answers to your question. Sorry I could not be more helpful. spencer graves Jinfang Wang wrote: Dear R-users, Is anyone aware of any function/package

Re: [R] How to get the rowindices without using which?

2005-09-29 Thread Spencer Graves
generally get quicker and better answers than those who don't. spencer graves Martin Lam wrote: Hi, I was wondering if it is possible to get the rowindices without using the function which because I don't have a restriction criteria. Here's an example of what I mean: # take 10

Re: [R] Producing empirical bayes estimates in disease mapping for lognormal model

2005-09-29 Thread Spencer Graves
-project.org/posting-guide.html. I believe that people who do usually get better answers quicker. spencer graves Oarabile Molaodi wrote: I'm trying to produce empirical bayes estimates based on the lognormal model in disease mapping Is there a way this can be done in R? thanks Oarabile

Re: [R] regsubsets selection criterion

2005-09-29 Thread Spencer Graves
searching, I learned that ?plot.regsubsets includes an argument scale=c(bic, Cp, adjr2, r2). From this, I infer that you have your choice of these four criteria. hope this helps. spencer graves Samuel Bertrand wrote: Hello, I am using the 'regsubsets' function (from leaps

Re: [R] need suggestion about building formual

2005-09-29 Thread Spencer Graves
-project.org/posting-guide.html. It can help increase the chances of a quick and useful reply. spencer graves Simple wrote: hi, I'm an newbie for R,I want do some fitting in R. I wander if it is possible to write a few of equations but only one formual when fitting

Re: [R] multidimensional integration

2005-09-29 Thread Spencer Graves
, more useful answers.) spencer graves Marcel Prokopczuk wrote: dear all, i have the following problem: i want to integrate a two-dimensional function. unfortunately R crashes when i try to use adapt() and i get a nice windows message with some hex-code. do anybody of you knows how

Re: [R] Install and load packages

2005-09-28 Thread Spencer Graves
this. spencer graves Caio Lucidius Naberezny Azevedo wrote: Dear R-users, I would like to know what are the commands to install (from a local zip file) a package and then to load it. Thaks all, Bests, Caio Perco a consciencia, mas não importa, encontro

Re: [R] suggest some books or materials for matrices basics , its partitions, iterations, clusturing

2005-09-27 Thread Spencer Graves
to both is yes, submit another post (after reading the posting guide, www.R-project.org/posting-guide.html, which should increase the chances that you will get a quick, useful reply). spencer graves booop booop wrote: Dear sir, Could anybody kindly suggest me some good e-books(which

Re: [R] anova on binomial LMER objects

2005-09-25 Thread Spencer Graves
to figure out how to find the source. A response from Brian Ripley to a question from me a couple of days ago provides a nice summary of how to do that, but I don't have time to check that now. Sorry I couldn't help more. spencer graves Robert Bagchi wrote: Dear R users, I

Re: [R] accessing source code in R packages

2005-09-22 Thread Spencer Graves
used? For example, I recently needed to access numbers associated with an object of class lmer. Sundar suggested I use with 'getMethod(show, summary.lmer)'. However, this doesn't work with the example below. Thanks, spencer graves Francisco J. Zagmutt wrote

Re: [R] accessing source code in R packages

2005-09-22 Thread Spencer Graves
Dear Prof. Ripley: Thanks. This looks like a very useful summary. spencer graves Prof Brian Ripley wrote: The original reply was deliberately (I guess) vague. (I've removed the history, as attributions had already been removed, in violation of copyright law. If you cite someone, you MUST

Re: [R] how to keep very small or large number?

2005-09-22 Thread Spencer Graves
? (The posting guide www.R-project.org/posting-guide.html might help.) spencer graves Cunningham Kerry wrote: When I was computing some joint probabilities, I found that R reported most of the results to to -Inf and thus didn't record the value. I guess it is b/c the joint log(probability

<    1   2   3   4   5   6   7   8   9   10   >