Re: [R] Dream of a wiki GUI for R

2008-10-23 Thread Xiaoxu LI
I should have read the following page on R_Extension_for_MediaWiki http://mars.wiwi.hu-berlin.de/mediawiki/sk/index.php/R_Extension_for_MediaWiki_v0.06#New_tags_and_attributes Has anybody seen an ... online example page in English? I really wish wiki.r-project.org be equipped with parameter input

[R] SVM, feature selection and parameter tuning

2008-10-23 Thread Stefan Koenig
Hi, Does anyone know why the package MCRestimate is not part of the BioConductor 2.2 anymore? I am looking for package doing support vector machine analyses including (i) variable/feature selection and (ii) parameter tuning in one learning period. Many thanks, Stefan -- Ist Ihr Browser Vist

Re: [R] Dream of a wiki GUI for R

2008-10-23 Thread Philippe Grosjean
Xiaoxu LI wrote: I should have read the following page on R_Extension_for_MediaWiki http://mars.wiwi.hu-berlin.de/mediawiki/sk/index.php/R_Extension_for_MediaWiki_v0.06#New_tags_and_attributes Has anybody seen an ... online example page in English? I really wish wiki.r-project.org be equipped

[R] What editors can I get R in Mac OS X to talk to?

2008-10-23 Thread Mike Williamson
All, Apologies if this was already answered... I couldn't find an answer that specifically addressed Mac OS instead of either windows or linux. I use "aquamacs emacs" as my text editor. It is essentially Xemacs with a GUI that looks closer to standard Mac GUIs, as far as I can tell. I insta

Re: [R] What editors can I get R in Mac OS X to talk to?

2008-10-23 Thread baptiste auguie
Hi, I use Textmate, but every now and then I like to try out aquamacs. I've just downloaded it from < http://aquamacs.org/ >, where ESS is part of the package. It runs flawlessly for me, out of the box. I just opened a r file, clicked the big R icon, then simply highlighted part of the cod

Re: [R] Spatstat help - quadratcount query

2008-10-23 Thread Gough Lauren
Hi, No the output isn't the same as the original spatstat output, I changed it from scientific to numerical notation in excel. I realised last night that it was probably a rounding issue and have just performed the same analysis (in a much more long-winded way) in arcmap and got the same result

Re: [R] [R-SIG-Finance] forecasting earnings, sales and gross margin of a company...

2008-10-23 Thread Rory.WINSTON
Dealing with accounting data is, in statistical terms, an ill-posed problem - there is not much data and quite a few dimensions. That said, there is a lot of research out there on applying statistical techniques to accounting data for the purposes of prediction and classification. But most predi

[R] Automating citations in Sweave

2008-10-23 Thread ONKELINX, Thierry
Dear all, Is there an elegant way to add citations of packages when using Sweave? Ideally I'd like a function which creates a Bibtex-file with the packagenames as keys. The idea is to use \cite{packagename} or \cite{R} in LaTeX. I know you can get the Bibtex entry with toBibtex(citation("packagen

[R] distribution fitting

2008-10-23 Thread Tortonesi Mauro
Dear R-help readers, I am writing to you in order to ask you a few questions about distribution fitting in R. I am trying to find out whether the set of event interarrival times that I am currently analyzing is distributed with a Gamma or General Pareto distribution. The event arrival granularity

Re: [R] suboptimal lp solutions

2008-10-23 Thread Selwyn McCracken
Thanks to Peter and Mark for your replies - I am obviously not setting up the inputs correctly. On Thu, Oct 23, 2008 at 3:02 AM, <[EMAIL PROTECTED]> wrote: > Hi Selwyn: To follow up on Peter's reply, you're either not setting up the > problem to do what you want it to do or you're not understand

[R] distribution fitting

2008-10-23 Thread Tortonesi Mauro
Dear R-help readers, I am writing to you in order to ask you a few questions about distribution fitting in R. I am trying to find out whether the set of event interarrival times that I am currently analyzing is distributed with a Gamma or General Pareto distribution. The event arrival granularity

[R] xy.coords in text

2008-10-23 Thread Xavier Robin
Hello, I want to add text annotation about correlation on "pairs" plots. I found that I could pass a function to the "panel" argument of pairs : panel.annot <- function(x, y, ...) { points(x, y, ...) c <- cor.test(x, y) legend("topleft", legend=substitute(rho == r, list(r=sprintf("%

[R] Reversing xlim qplot

2008-10-23 Thread stephen sefick
I would like to be able to reverse the xlim on qplot this is the code that I am using qplot(a[,"River.Mile"], a[,26] ,ylab=colnames(a)[26], xlab="RiverMile", xlim=rev(c(60, 216)))+geom_smooth()+scale_x_continuous(breaks=c(215,202,198,190,185,179,148,119,61), labels=c("215","202","198","190","185",

Re: [R] Reversing xlim qplot

2008-10-23 Thread stephen sefick
scale_x_reverse() sorry I figured it out On Thu, Oct 23, 2008 at 8:37 AM, stephen sefick <[EMAIL PROTECTED]> wrote: > I would like to be able to reverse the xlim on qplot > this is the code that I am using > > qplot(a[,"River.Mile"], a[,26] > ,ylab=colnames(a)[26], xlab="RiverMile", xlim=rev(c(60

[R] Avoiding Biplot Labels Overllaping

2008-10-23 Thread Rodrigo Aluizio
Hi everybody, I'm trying, without success, to avoid some variables labels to overlap on a capscale (vegan package) object graph. I was able to move the labels with the coding below, but it moves the entire vector... CAPobj<-CAPpotiFT for(i in c(2:8))CAPobj$CCA[[i]][,1]<-CAPpotiFTI$CCA[[i]][,1]

Re: [R] Help finding the proper function

2008-10-23 Thread Tom.O
Ok, I'll try to be clearer. I'll start from the beginning. I have a set of samples that I'm going to use to model a proxy for a common property. This property is that the samples are either in a "quiet" or "chaotic" state. Both the quiet and chaotic state is modelled to be normal distributed. So

Re: [R] Weibull parameter estimation

2008-10-23 Thread Terry Therneau
> > I would like to fit weibull parameters using "Method of moments" in order to > provide the inital values of the parameter to de function 'fitdistr' . I > don`t have much experience with maths and I don't know how to do it. > > Can anyone please put me in the rigth direction? > A simple approac

Re: [R] What editors can I get R in Mac OS X to talk to?

2008-10-23 Thread Dr Eberhard Lisse
AlphaX 8.0.2 of Course!! :-)-O el on 10/23/08 11:08 AM baptiste auguie said the following: > Hi, > > I use Textmate, but every now and then I like to try out aquamacs. > I've just downloaded it from < http://aquamacs.org/ >, where ESS is > part of the package. It runs flawlessly for me, out of

Re: [R] What editors can I get R in Mac OS X to talk to?

2008-10-23 Thread Philippe Grosjean
... and Komodo Edit with the SciViews-K plugin installed (http://www.sciviews.org/SciViews-K). Best, Philippe Grosjean ..<°}))>< ) ) ) ) ) ( ( ( ( (Prof. Philippe Grosjean ) ) ) ) ) ( ( ( ( (Numerical Ecology of Aquatic Systems ) ) )

[R] MCMC for sampling from ordinal logistic regression

2008-10-23 Thread reezwan you
Hi: Is there a R-function that can generate samples from the posterior distribution of an ordered logistic regression model (just like MCMCoprobit from MCMCpack in R). I will greatly appreciate some guidance in this regard. Thanks Reez __ R-help@r-pro

[R] compiling from sources

2008-10-23 Thread Bill Szkotnicki
Hi, I am trying to compile R from sourced on a newly installed centos 5.2 x86_64 system. All is well when I do it without x11 butr I want to use x I am getting the message below regarding an incompatible library for x. Would anyone have information on how to solve this or get the correct versio

[R] Avoiding Biplot Labels Overllaping

2008-10-23 Thread Rodrigo Aluizio
Sorry, just correcting the script!!! Hi everybody, I'm trying, without success, to avoid some variables labels to overlap on a capscale (vegan package) object graph. I was able to move the labels with the coding below, but it moves the entire vector... CAPobj<-CAPpotiFT for(i in c(2:8))CAPobj$

[R] PCA

2008-10-23 Thread Gianni Messeri
Hi, I'm trying to perform a Principal Component Analysis on meteorological data with 10 predictors. I use the library pcaMethods to obtain a lot of information (loadings, scores, mean, standard deviation, etc). How can I obtain the scores (new PC variables) for new values of weather predictors

Re: [R] PCA

2008-10-23 Thread stephen sefick
reproducible code - are you assigning the results to an object On Thu, Oct 23, 2008 at 10:34 AM, Gianni Messeri <[EMAIL PROTECTED]> wrote: > Hi, > I'm trying to perform a Principal Component Analysis on meteorological data > with 10 predictors. > I use the library pcaMethods to obtain a lot of in

[R] Help with lattice

2008-10-23 Thread Nelson, Gary (FWE)
With R version 2.8.0, I am using the following function to plot loess lines in each panel of the xyplot: xyplot(Z~year|labels,group=as.factor(river),xlab="Year",ylab="Age-based Z", data=data1,scales="free",ylim=c(0,4),xlim=c(1960,2010), par.settings = list(superpose.symbol = list(p

Re: [R] Help with lattice

2008-10-23 Thread Dieter Menne
Nelson, Gary (FWE state.ma.us> writes: > xyplot(Z~year|labels,group=as.factor(river),xlab="Year",ylab="Age-based > Z", > data=data1,scales="free",ylim=c(0,4),xlim=c(1960,2010), > par.settings = list(superpose.symbol = list(pch = > c(1,2,3,4,5,16,10,6,87,83),cex=0.9, >col=

[R] FMOLS

2008-10-23 Thread Economics Guy
Is anyone aware of an R package that implements Pedroni's FMOLS (Fully Modified Ordinary Least Squares) package, for panel data with non-stationary and co-integration? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEA

Re: [R] MCMC for sampling from ordinal logistic regression

2008-10-23 Thread Dieter Menne
reezwan you yahoo.com> writes: > Is there a R-function that can generate samples from the posterior distribution of an ordered logistic regression model (just like MCMCoprobit from MCMCpack in R). >> I am confused. What's missing in the output of MCMCpack? library(MCMCpack) x1 <- rnorm(100

[R] negative values for barchart

2008-10-23 Thread Plantky
Hi all, My data has some positive and negative values, and I want to plot a barchart. The problem is that the y-axis zero is somewhere in the middle of the plot, and the graph starts with a negative value. How can I make the negative values appear as bars that are going below the y-axis zero? So t

Re: [R] MCMC for sampling from ordinal logistic regression

2008-10-23 Thread reezwan you
Your example uses ordinal probit model. I am actually looking for ordinal logit model. reez --- On Thu, 10/23/08, Dieter Menne <[EMAIL PROTECTED]> wrote: > From: Dieter Menne <[EMAIL PROTECTED]> > Subject: Re: [R] MCMC for sampling from ordinal logistic regression > To: [EMAIL PROTECTED] > Date

[R] Fuctions help!

2008-10-23 Thread Alex99
Hi everyone, I have a question about functions. I have two functions: Sampling=function(fname,Total,nSample,nPatient){..return(list(Gmean,Gsd))} Power=function(alfa,m1,m2,s1,s2,n1,n2){return(powe)} I want to use "Gmean" and "Gsd" which are the returned values from "Sampling" function,

[R] error when using logistic.display within a loop

2008-10-23 Thread Tom Cohen
Dear list, I tried to apply the logistic regression to different response variables from a dataframe and would like to store the results using the function logistic.display from the "epicalc" package in a list, but got an error message "Error in eval(expr, envir, enclos) : y values must

Re: [R] What editors can I get R in Mac OS X to talk to?

2008-10-23 Thread Charles C. Berry
On Thu, 23 Oct 2008, Mike Williamson wrote: All, Apologies if this was already answered... I couldn't find an answer that specifically addressed Mac OS instead of either windows or linux. I use "aquamacs emacs" as my text editor. It is essentially Xemacs with a GUI that looks closer to sta

[R] save an object of class "im"

2008-10-23 Thread ppaarrkk
I have created various "im" objects, but can't seem to save and load them. I can save them, but as small files of less than 1Kb. Therefore, when they are re-loaded, they cannot be plotted as images. Any ideas please. Thankyou. Simon Parker Imperial College -- View this message in context: htt

[R] ?outdated windows printing problem in the GUI

2008-10-23 Thread S Ellison
Running the scatterplot/histogram example in ?layout and subsequently printing from the file menu in Windows XP using R 2.7.1 does not print the whole figure, although saving as a metafile does save the whole figure. Before I upgrade solely to check, can anyone confirm from knowledge a) whether i

[R] write.matrix.csr(e1071) bug

2008-10-23 Thread Jeszenszky Peter
Hello, The write.matrix.csr() function of the e1071 package contains a bug. Try the following: library(e1071) m <- 1 - diag(10) sm <- as.matrix.csr(m) write.matrix.csr(sm) The resulting file (out.dat) contains only the two lines below: 2:1 3:1 4:1 5:1 6:1 7:1 8:

Re: [R] save an object of class "im"

2008-10-23 Thread Sarah Goslee
How about an example of what you did? It's difficult to provide suggestions without a workable example of the commands you used. Sarah On Thu, Oct 23, 2008 at 12:26 PM, ppaarrkk <[EMAIL PROTECTED]> wrote: > > I have created various "im" objects, but can't seem to save and load them. I > can save

Re: [R] Automating citations in Sweave

2008-10-23 Thread Charles C. Berry
On Thu, 23 Oct 2008, ONKELINX, Thierry wrote: Dear all, Is there an elegant way to add citations of packages when using Sweave? Ideally I'd like a function which creates a Bibtex-file with the packagenames as keys. The idea is to use \cite{packagename} or \cite{R} in LaTeX. I know you can get

Re: [R] Fuctions help!

2008-10-23 Thread Charles C. Berry
See ?with also ?do.call Use of the latter will need to have the names of the returned value match those of formals( Power ) HTH, Chuck On Thu, 23 Oct 2008, Alex99 wrote: Hi everyone, I have a question about functions. I have two functions: Sampling=function(fname,T

Re: [R] What editors can I get R in Mac OS X to talk to?

2008-10-23 Thread stephen sefick
the version of aqua macs that I have installed- you just go to file and open an R buffer, push the R logo in the corner and you are off and running. EES is already installed. Hope this helps. On Thu, Oct 23, 2008 at 12:21 PM, Charles C. Berry <[EMAIL PROTECTED]> wrote: > On Thu, 23 Oct 2008, Mik

[R] Fw: It 's correct to do contrasts for a GLM?

2008-10-23 Thread Susana Zuloaga
Hi all I am one recent user of R and have a few doubts I did a binomial GLM with 3 - factor and now I have to test contrasts to identify that treatments are different. I know that the contrasts are used in ANOVA, it is not incorrect to use them in GLM? there is a way to do contrasts between

Re: [R] Fw: It 's correct to do contrasts for a GLM?

2008-10-23 Thread Ken Knoblauch
Susana Zuloaga hotmail.com> writes: > > Hi all > > I am one recent user of R and have a few doubts > I did a binomial GLM with 3 - factor and now I have to test contrasts to > identify that treatments are different. I know that the contrasts are used > in ANOVA, it is not incorrect to use th

Re: [R] Fw: It 's correct to do contrasts for a GLM?

2008-10-23 Thread Ken Knoblauch
Ken Knoblauch inserm.fr> writes: > > Susana Zuloaga hotmail.com> writes: > > > > > Hi all > > > > I am one recent user of R and have a few doubts > > I did a binomial GLM with 3 - factor and now I have to test contrasts to > > identify that treatments are different. I know that the contras

[R] RODBC and RDCOM

2008-10-23 Thread guox
I got a table on SQL Server, which has columns EquationId (int) and Formula (varch(900)). I need to select Formula with certain EquationId, for example, Select Formula from OGA_DEV.dbo.Equation where EquationId = 3 I tried to work within RGui using RODBC: > library(RODBC) > conn = odbcConnect("S

Re: [R] Interpretation of t.test results

2008-10-23 Thread Timur Shtatland
You may find these links helpful for the introduction to the t-test and the interpretation of the t-test results: http://www.tufts.edu/~gdallal/LHSP.HTM See: Student's t Test for Independent Samples http://www.itl.nist.gov/div898/handbook/eda/section3/eda353.htm Timur -- Timur Shtatland, Ph.D. S

Re: [R] Fuctions help!

2008-10-23 Thread Sarah Goslee
On Thu, Oct 23, 2008 at 9:10 AM, Alex99 <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > I have a question about functions. I have two functions: > > Sampling=function(fname,Total,nSample,nPatient){..return(list(Gmean,Gsd))} > > Power=function(alfa,m1,m2,s1,s2,n1,n2){return(powe)} > > I want

Re: [R] code works in R desktop but not iin RWeb - I got it working

2008-10-23 Thread Natalie O'Toole
Hi, I got this working. i had to get rid of an underscore in one of my variable names to work on RWeb. Thanks for your help though!! Natalie __ I think you have to be either honest or careful, since the code you submitted to Rweb is different with your former code! Why the co

[R] VEC Operator in R

2008-10-23 Thread megh
Can anyone please tell whether there is any R function to act as "VEC" and "VECH" operator on Matrix? Yes of course, I can write a user-defined-function for that or else, I can put dim(mat) <- NULL. However I am looking for some R function. Your help will be highly appreciated. Regards, -- View

Re: [R] code works in R desktop but not iin RWeb - I got it working

2008-10-23 Thread Gabor Grothendieck
If the RWeb server you are referring to is the one at montana then its running a version of R that is 5 years old. At that time the underscore was a synonym for <- in R but that was discontinued some time since then. With a version of R that old there could be quite a few other differences as wel

Re: [R] Interpretation of t.test results

2008-10-23 Thread Greg Snow
Omar, A detailed interpretation of the results are the subject of more than 1 chapter in most introductory statistics books and the topic of several classes/hours of lecture in a standard introductory statistics class. Your question suggests that you either skipped your intro stats class, or d

Re: [R] Fuctions help!

2008-10-23 Thread stephen sefick
what are you trying to do? Break the problem down make it reproducible and then maybe we can help. stephen On Thu, Oct 23, 2008 at 9:10 AM, Alex99 <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > I have a question about functions. I have two functions: > > Sampling=function(fname,Total,nSample,nP

Re: [R] negative values for barchart

2008-10-23 Thread Deepayan Sarkar
On 10/23/08, Plantky <[EMAIL PROTECTED]> wrote: > Hi all, > > My data has some positive and negative values, and I want to plot a > barchart. The problem is that the y-axis zero is somewhere in the > middle of the plot, and the graph starts with a negative value. How > can I make the negative v

Re: [R] VEC Operator in R

2008-10-23 Thread Gábor Csárdi
And what is this "operator" supposed to do? Maybe you just want as.vector, but it is hard to say from this. Gabor On Thu, Oct 23, 2008 at 7:47 PM, megh <[EMAIL PROTECTED]> wrote: > > Can anyone please tell whether there is any R function to act as "VEC" and > "VECH" operator on Matrix? Yes of cou

Re: [R] Substitute problem

2008-10-23 Thread Chris82
Thanks! Works fine! jholtman wrote: > > Had the test wrong in the last one' try this: > >> x > X value row col ID n > 1 1 11.105009 5511625 3463000 1 -619.1125 > 2 2 10.324148 5499625 3465000 01. > 3 3 8.744591 5503625 3475000 01. > 4 4 9.523473 549

Re: [R] VEC Operator in R

2008-10-23 Thread Henrique Dallazuanna
I think you can use as.vector On Thu, Oct 23, 2008 at 3:47 PM, megh <[EMAIL PROTECTED]> wrote: > > Can anyone please tell whether there is any R function to act as "VEC" and > "VECH" operator on Matrix? Yes of course, I can write a > user-defined-function for that or else, I can put dim(mat) <- N

Re: [R] VEC Operator in R

2008-10-23 Thread Sarah Goslee
It might help if you told us what you expected VEC and VECH to do. On Thu, Oct 23, 2008 at 1:47 PM, megh <[EMAIL PROTECTED]> wrote: > > Can anyone please tell whether there is any R function to act as "VEC" and > "VECH" operator on Matrix? Yes of course, I can write a > user-defined-function for t

Re: [R] VEC Operator in R

2008-10-23 Thread Gabor Grothendieck
Try: RsiteSearch("vech") On Thu, Oct 23, 2008 at 1:47 PM, megh <[EMAIL PROTECTED]> wrote: > > Can anyone please tell whether there is any R function to act as "VEC" and > "VECH" operator on Matrix? Yes of course, I can write a > user-defined-function for that or else, I can put dim(mat) <- NULL.

Re: [R] VEC Operator in R

2008-10-23 Thread Patrick Burns
For 'VEC' you may not need to do anything -- in a lot of circumstances it will just work. For 'VECH' you can write a function using the 'lower.tri' function. But it seems to me that the assumption behind your question is that a simple function that someone else has written is going to be better

Re: [R] xy.coords in text

2008-10-23 Thread Greg Snow
The xy.coords function is a powerful function used by a lot of the plotting functions because it allows the user to enter x and y coordinates as 2 vectors, a 2 column matrix, or a list with x and y components (and possibly others), but it does not do 'topleft' and the like. The legend function

Re: [R] VEC Operator in R

2008-10-23 Thread Kingsford Jones
RSiteSearch('vec vech', restrict = 'fun') turns up several packages with vec and vech functions. E.g., matrixcalc, fUtilities, ks, ... hth, Kingsford Jones On Thu, Oct 23, 2008 at 11:47 AM, megh <[EMAIL PROTECTED]> wrote: > > Can anyone please tell whether there is any R function to act as "VE

Re: [R] Calculating confidence limits for the difference between means

2008-10-23 Thread Kingsford Jones
On Wed, Oct 22, 2008 at 11:09 AM, Dennis Fisher <[EMAIL PROTECTED]> wrote: > Colleagues, > > I am working on a problem at the edge of my knowledge of statistics. > > Basically, I have values for two groups - I am trying to calculate the > 90% confidence limits for the difference between means. I c

Re: [R] Mirror/Package problems in R 2.8.0

2008-10-23 Thread APSalverda
I experienced the same problem after upgrading from 2.7.2 to 2.8.0. I checked "/Library/Frameworks/R.framework/Versions" and noticed that the installer did not copy the packages that I had installed under Version 2.7. I reinstalled those packages, initially experiencing the same problem you des

[R] I have an xyplot, I want to keep the format, but only show x or y

2008-10-23 Thread Porter,Phillip C
Good Morning, I am using xyplot to show two variables for a large number of subjects. Currently I am using xyplot(y~x|as.factor(ID), layout=c(7,9)) to give me a little plot of the x and y factors for each ID. The purpose of the plot is to let the PI quickly look through the data for irregul

Re: [R] Help finding the proper function

2008-10-23 Thread Rolf Turner
On 24/10/2008, at 1:37 AM, Tom.O wrote: Ok, I'll try to be clearer. I'll start from the beginning. I have a set of samples that I'm going to use to model a proxy for a common property. This property is that the samples are either in a "quiet" or "chaotic" state. Both the quiet and chaot

[R] lars

2008-10-23 Thread Derow, Catherine Kari
I am trying to use the lars package in R to carry out lasso analysis. However, I am having some problems. Please could you help me with the following questions: 1) Exactly what format do x and y need to be in for cv.lars(x, y) and lars (x, y)? And what information do x and y need to contain exac

Re: [R] A question about positive definite matrix

2008-10-23 Thread Rolf Turner
On 20/10/2008, at 5:26 PM, rlearner309 wrote: I know, this is a forum about R. But I am so desperate of this problem (BTW, anyone knows any good Statistics/Math forum to post question like this?): A and B are both n x n positive definite matrix. Denote A > B, if A - B is positive defini

Re: [R] I have an xyplot, I want to keep the format, but only show x or y

2008-10-23 Thread Deepayan Sarkar
On Thu, Oct 23, 2008 at 11:20 AM, Porter,Phillip C <[EMAIL PROTECTED]> wrote: > Good Morning, > I am using xyplot to show two variables for a large number of subjects. > > Currently I am using xyplot(y~x|as.factor(ID), layout=c(7,9)) to give me a > little plot of the x and y factors for each ID. >

[R] odfWeave error

2008-10-23 Thread Rob James
odfWeave is throwing up a cryptic error, after successfully processing a file with a large number of figures (~30) and many \Sexpr{} calls. The error is (at least to me) cryptic. I am not sure where to look to correct this problem. Here's the error: Post-processing the contents Error in .Ca

Re: [R] [R-SIG-Finance] forecasting earnings, sales and gross margin of a company...

2008-10-23 Thread Michael
Dear folks, Here is one example of two time series: http://img523.imageshack.us/my.php?image=twoseriesfm3.jpg The two series are all year-over-year percentage growth (in percentage). For Amazon Net Sales Growth data, I have data from Q1 2001 to Q2 2008 (quarterly), whereas for US Real Average H

Re: [R] odfWeave error

2008-10-23 Thread Duncan Murdoch
On 10/23/2008 3:32 PM, Rob James wrote: odfWeave is throwing up a cryptic error, after successfully processing a file with a large number of figures (~30) and many \Sexpr{} calls. The error is (at least to me) cryptic. I am not sure where to look to correct this problem. Here's the error:

[R] R random number generation

2008-10-23 Thread hiphop
i have to generate random numbers from length 2 to 30 and length two should have the numbers 1,2 and length 3 should have the numbers 1,2,3 so on and so forth till size 30.i should get an sequence like 221 or 112 till both the values appear and for 3 it should be 123 or 3331112.i shoul

Re: [R] optim bug/help?

2008-10-23 Thread rkevinburton
I was just trying to get a feel for the general strengths and weaknesses of the algoritmns. This is obviously a "demo" function and probably not representative of the "real" optimization problems that I will face. My concern was that if there is inaccuracy when I know the answer it might be wors

Re: [R] optim bug/help?

2008-10-23 Thread Patrick Burns
[EMAIL PROTECTED] wrote: I was just trying to get a feel for the general strengths and weaknesses of the algoritmns. This is obviously a "demo" function and probably not representative of the "real" optimization problems that I will face. My concern was that if there is inaccuracy when I know t

[R] naming list entries dynamically

2008-10-23 Thread tlange
Hello, I'm new to R and I'd like to dynamically assign names to the entries of a list. The situation is: I load several ascii-files from a folder. The data shall be stored within the list structure, where the file names are assigned to the list entries. > flist $file1.txt [1] 1.0 1.2 1.4 1.6

[R] odfWeave error

2008-10-23 Thread Rob James
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: [R] odfWeave error Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with their specific understand

Re: [R] naming list entries dynamically

2008-10-23 Thread Gábor Csárdi
On Thu, Oct 23, 2008 at 10:29 PM, <[EMAIL PROTECTED]> wrote: > Hello, > > I'm new to R and I'd like to dynamically assign names to the entries of a > list. > The situation is: I load several ascii-files from a folder. The data shall > be stored within the list structure, where the file names are a

Re: [R] I have an xyplot, I want to keep the format, but only show x or y

2008-10-23 Thread Deepayan Sarkar
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] I have an xyplot, I want to keep the format, but only show x or y Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at

Re: [R] naming list entries dynamically

2008-10-23 Thread Gábor Csárdi
On Thu, Oct 23, 2008 at 10:35 PM, Gábor Csárdi <[EMAIL PROTECTED]> wrote: > On Thu, Oct 23, 2008 at 10:29 PM, <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I'm new to R and I'd like to dynamically assign names to the entries of a >> list. >> The situation is: I load several ascii-files from a folder.

Re: [R] Help finding the proper function

2008-10-23 Thread Rolf Turner
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] Help finding the proper function Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with thei

Re: [R] A question about positive definite matrix

2008-10-23 Thread Rolf Turner
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] A question about positive definite matrix Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or

Re: [R] VEC Operator in R

2008-10-23 Thread Kingsford Jones
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] VEC Operator in R Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with their specific und

Re: [R] odfWeave error

2008-10-23 Thread Duncan Temple Lang
Duncan Murdoch wrote: On 10/23/2008 3:32 PM, Rob James wrote: odfWeave is throwing up a cryptic error, after successfully processing a file with a large number of figures (~30) and many \Sexpr{} calls. The error is (at least to me) cryptic. I am not sure where to look to correct this proble

Re: [R] Help finding the proper function

2008-10-23 Thread Rolf Turner
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] Help finding the proper function Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with thei

Re: [R] Substitute problem

2008-10-23 Thread Chris82
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] Substitute problem Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with their specific un

Re: [R] VEC Operator in R

2008-10-23 Thread Kingsford Jones
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] VEC Operator in R Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with their specific und

Re: [R] xy.coords in text

2008-10-23 Thread Greg Snow
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] xy.coords in text Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with their specific und

Re: [R] VEC Operator in R

2008-10-23 Thread Patrick Burns
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] VEC Operator in R Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with their specific und

Re: [R] VEC Operator in R

2008-10-23 Thread Patrick Burns
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] VEC Operator in R Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with their specific und

Re: [R] [R-SIG-Finance] forecasting earnings, sales and gross margin of a company...

2008-10-23 Thread bogaso.christofer
You can fit a VAR model and then, test for Granger Causality -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Sent: 24 October 2008 01:10 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [R] [R-SIG-Finance] forecasting ear

[R] How to (simply) add table-values to a mosaicplot ?

2008-10-23 Thread Tal Galili
Hello. I am looking for a way to add table values (from a "table" object) into a mosaic plot of that table (which is produced by the "mosaicplot" command on the table object). The only reference I was successful in finding on the web was in a script here: http://tables2graphs.com/doku.php?id=03_d

Re: [R] Calculating confidence limits for the difference betweenmeans

2008-10-23 Thread Kingsford Jones
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] Calculating confidence limits for the difference between means Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at

Re: [R] Calculating confidence limits for the difference betweenmeans

2008-10-23 Thread Kingsford Jones
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] Calculating confidence limits for the difference between means Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at

Re: [R] [R-SIG-Finance] forecasting earnings, sales and gross margin of a company...

2008-10-23 Thread Michael
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] [R-SIG-Finance] forecasting earnings, sales and gross margin of a company... Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is bein

Re: [R] xy.coords in text

2008-10-23 Thread Greg Snow
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] xy.coords in text Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with their specific und

Re: [R] R random number generation

2008-10-23 Thread Ted Harding
On 23-Oct-08 19:58:12, hiphop wrote: > > i have to generate random numbers from length 2 to 30 and > length two should have the numbers 1,2 and length 3 should > have the numbers 1,2,3 so on and so forth till size 30. > i should get an sequence like 221 or 112 till both > the values appear

Re: [R] optim bug/help?

2008-10-23 Thread Ravi Varadhan
Hi Kevin, There is no substitute to knowing your problem as well as you possibly can (I know this can be challenging in complicated, real problems). If you plot the contours of the function, you will see that they are banana shaped around the solution, i.e. the objective function is not very sens

Re: [R] A question about positive definite matrix

2008-10-23 Thread Rolf Turner
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] A question about positive definite matrix Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or

Re: [R] VEC Operator in R

2008-10-23 Thread Gabor Grothendieck
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] VEC Operator in R Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with their specific und

Re: [R] VEC Operator in R

2008-10-23 Thread Gabor Grothendieck
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] VEC Operator in R Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with their specific und

Re: [R] VEC Operator in R

2008-10-23 Thread Henrique Dallazuanna
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] VEC Operator in R Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with their specific und

  1   2   >