Re: [R] model specification using lme

2016-05-29 Thread Ben Bolker
li li gmail.com> writes: > > Hi all, > For the following data, I consider the following random intercept and > random slope model. Denote as y_ijk the response value from *j*th > individual within *i*th method at time point *k*. Assume the following > model for y_ijk: > > y_ijk=

[R] How to real multiple raster and serial correlation between series of rasters

2016-05-29 Thread Waseem Ali
Hi, I have 120 raster (10 years) files in tif format of one variable (say X1) and same numbers for second variables (Say X2). Each raster consists the mean monthly values of corresponding variables. I want to write a script in R which operates the following operations: ยท First reads

Re: [R] Fitting quantile (or cdf?) function to data with specified percentiles

2016-05-29 Thread David Winsemius
> On May 26, 2016, at 7:51 PM, Franco Danilo Roca Landaveri > wrote: > > Hello, > > I hope you can help me. In class, we were given an Excel worksheet with > specified formulas that take the total score from a survey (or from a > specific section) and convert it to a

Re: [R] zelig package: robust SE

2016-05-29 Thread Achim Zeileis
On Sun, 29 May 2016, T.Riedle wrote: Dear R users, I am trying to run a logistic regression using zelig. The simple logistic regression works well but now I want to have HAC robust standard errors. I have read in the manual that there is an option called "robust" and that zelig() computes

[R] model specification using lme

2016-05-29 Thread li li
Hi all, For the following data, I consider the following random intercept and random slope model. Denote as y_ijk the response value from *j*th individual within *i*th method at time point *k*. Assume the following model for y_ijk: y_ijk= (alpha_0+ tau_i +a_j(i))+(beta_i+b_j(i)) T_k +

[R] zelig package: robust SE

2016-05-29 Thread T.Riedle
Dear R users, I am trying to run a logistic regression using zelig. The simple logistic regression works well but now I want to have HAC robust standard errors. I have read in the manual that there is an option called "robust" and that zelig() computes robust SE via the sandwich package.

[R] Urdu text problems, was Re: Query about Text Preprocessing (Encoding)

2016-05-29 Thread Michael Dewey
Would it be a good idea to mention Urdu in the subject line as other people who deal with Urdu, but not specifically text mining, may be able to help? I have added it to my reply On 29/05/2016 08:20, Khadija Shakeel wrote: i want to work with Urdu language but R is only displaying Urdu text

Re: [R] colored table

2016-05-29 Thread Michael Friendly
Hi Naresh If you want to make a graphic of the table, with the frequencies printed in the cells try a mosaic plot from the vcd package library(vcd) mosaic(HairEyeColor[,,1], shade = TRUE, legend=FALSE, labeling=labeling_values) or to make cell sizes proportional to expected frequencies,

Re: [R] Query about Text Preprocessing (Encoding)

2016-05-29 Thread Duncan Murdoch
On 29/05/2016 3:20 AM, Khadija Shakeel wrote: i want to work with Urdu language but R is only displaying Urdu text but cant work with Urdu text. Actually I want to apply preproessing steps of text mining. but R is nor responding for this text. Help me how can I handle this problem? here are

[R] Query about Text Preprocessing (Encoding)

2016-05-29 Thread Khadija Shakeel
i want to work with Urdu language but R is only displaying Urdu text but cant work with Urdu text. Actually I want to apply preproessing steps of text mining. but R is nor responding for this text. Help me how can I handle this problem? here are some pictures of word cloud of Urdu text. --

[R] Release of R 3.3.1 scheduled for June 21

2016-05-29 Thread Peter Dalgaard
We intend to have a patch release on June 21, nickname will be "Bug in Your Hair". The detailed schedule will be made available via developer.r-project.org as usual. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark

Re: [R] Scale y-labels based on a value with 'lattice'

2016-05-29 Thread K. Elo
Hi! Many thanks to Duncan and Jim for their quick replies. 27.05.2016, 01:08, Jim Lemon wrote: Hi Kimmo, par(mar=c(5,7,4,2)) dotchart(kedf$x) mtext(kedf$Group.2,side=2,at=1:6,line=0.5, las=2,cex=log(abs(kedf$Freq))+1) Jim This 'dotchart' solution worked fine and I got what I wanted :)

Re: [R] colored table

2016-05-29 Thread Jim Lemon
Hi Naresh, Have a look a the addtable2plot function (plotrix), especially the second example, and the color.scale function, also in plotrix. Jim On Sat, May 28, 2016 at 11:10 PM, Naresh Gurbuxani wrote: > I want to print a table where table elements are colored