[R] Value passing in print option

2015-07-19 Thread Partha Sinha
i want to pass a value with print option x<-10 y<2*x print("Current value of y is " ) # confused dont know how to pass value i want output as Current value of y is 10 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list --

[R] Fitted values problem

2015-07-19 Thread B Jessop
Dear list, I have run two ancova models with the same data, one where the covariate Length was centered by Site (group mean centered), the other with Length not centered. The package "car" was used. The models are: ancova1a <- lm(log10(Weight) ~ LenCtd2 + Site, data = Data2); Length centered

Re: [R] ERROR: unable to collate and parse R files

2015-07-19 Thread Duncan Murdoch
On 19/07/2015 6:03 PM, Christian Hoffmann wrote: > I tried in vain to execute > > R CMD install /Users/hoffmann/R/cwhmisc ('cwhmisc' is the package name) > > * installing to library > ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library’ > * installing *source* package ‘cwhmisc’ ...

[R] ERROR: unable to collate and parse R files

2015-07-19 Thread Christian Hoffmann
I tried in vain to execute R CMD install /Users/hoffmann/R/cwhmisc ('cwhmisc' is the package name) * installing to library ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library’ * installing *source* package ‘cwhmisc’ ... ** R Error : '\&' ist eine unbekannte Escape-Sequenz in der

Re: [R] Quadratic programming

2015-07-19 Thread Duncan Murdoch
On 19/07/2015 4:58 PM, Preetam Pal wrote: > Hi, > If i have a quadratic objective function with a system of linear constraints > for multiple variables, is there any inbuilt function that i can use? Google says the quadprog package should help. Duncan Murdoch __

[R] Quadratic programming

2015-07-19 Thread Preetam Pal
Hi, If i have a quadratic objective function with a system of linear constraints for multiple variables, is there any inbuilt function that i can use? Regards, Preetam [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -

[R] p-values in "rpt.adj"

2015-07-19 Thread Iker Vaquero Alba
   Hello everyone,   My question is about the "rptR" package. I am using the rpt.adj function (for adjusted repeatability).    My model is as follows:    rpt.adj(brifield ~ 1 + (1|ring)+(1|year),"ring",data=bellyfield,datatype="Gaussian")    where "brifield" is the measurement for which I want

Re: [R] Warning message with maxLik()

2015-07-19 Thread Maram SAlem
Dear Arne, The elements of the theta vector are indeed strictly positive. I've just tried to use instead : lamda = log (theta), which means that theta = exp (lamda), so as to get rid of the log() function that appears in the log-likelihood and is causing the 50 warnings, but still the estimates I

[R] searching for key phrases in collection of text files using tm

2015-07-19 Thread warwick maddock
Hi R-Help! I am a newbie in R and computer science in general. I have done the basic readings of introduction to R and TM packages. I am using R Foundation on a windows 7 system. I have been given a project which requires me to search annual reports of 76 companies for multiple key phrases such