Re: [R] Problem with r project in ubuntu xenial

2017-11-03 Thread David Winsemius
> On Nov 3, 2017, at 5:09 PM, peter dalgaard wrote: > > >> On 3 Nov 2017, at 23:39 , George Balas wrote: >> >> I have a problem with R in Ubuntu 16.04. I do not know if it is mine pc or >> general problem but I was not able to find solution on Internet. >> First of all I can not change locale

Re: [R] Problem with r project in ubuntu xenial

2017-11-03 Thread peter dalgaard
> On 3 Nov 2017, at 23:39 , George Balas wrote: > > I have a problem with R in Ubuntu 16.04. I do not know if it is mine pc or > general problem but I was not able to find solution on Internet. > First of all I can not change locale to greek by getting this message: > "In Sys.setlocale("LC_CTYPE

[R] Problem with r project in ubuntu xenial

2017-11-03 Thread George Balas
I have a problem with R in Ubuntu 16.04. I do not know if it is mine pc or general problem but I was not able to find solution on Internet. First of all I can not change locale to greek by getting this message: "In Sys.setlocale("LC_CTYPE", "Greek") : OS reports request to set locale to "Greek" c

Re: [R] as.spikeTrain

2017-11-03 Thread Bert Gunter
I believe this query is OT here and would best be addressed by either a careful reading of the package documentation or by contacting the package maintainer, found by maintainer("STAR"). Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and stickin

Re: [R] repeat a function

2017-11-03 Thread Eric.Pueyo
Thanks Petr. Really appreciated! Many thanks, Eric -Original Message- From: PIKAL Petr [mailto:petr.pi...@precheza.cz] Sent: 03 November 2017 07:54 To: Eric Pueyo; r-help@r-project.org Subject: RE: [R] repeat a function Hi Well, I am not an expert in this field so I cannot comment your

[R] Pairwise comparison, TukeyHSD, glht, ANCOVA

2017-11-03 Thread Wang ChenXi
Hi, I'm wondering if i can use the function "TukeyHSD" to perform the all pairwise comparisons of a "aov()" model with one factor (e.g., GROUP) and one continuous covariate (e.g., AGE). I did for example: library(multcomp) data('litter', package = 'multcomp') litter.aov <- aov(weight ~ gesttime

Re: [R] repeat a function

2017-11-03 Thread PIKAL Petr
Hi Well, I am not an expert in this field so I cannot comment your approach. I wanted only to point out that building matrix your way is like scratching your left ear with right hand, especially in R. What if you want increase size of your matrix? E.g. you use function ProbUP once for row "0"