Re: [R] ​Message from Lanzhou University, China. (Help)

2016-11-15 Thread Jue Lin-Ye
= 5)+Gender+Season,family=gaussian,data=mydata) ​ . H ​ope that helps​ . Best regards, Jue On Saturday, 12 November 2016, wrote: > > > Date: Fri, 11 Nov 2016 17:31:23 +0800 (GMT+08:00) > From: ??? > To: r-help@r-project.org > Subject: [R] > ​​ > Message from Lanzhou

Re: [R] MonteCarlo sampling on profile log likelihood - package extRemes

2016-02-12 Thread Jue Lin-Ye
gt; > Kind regards, > > LCollet > > ​A string with the subject "Generate random numbers under constrain" saved in the r-help Archive (website: https://stat.ethz.ch/pipermail/r-help/) around Thu, 27 Nov 2014 19:20:41 +0100 might help you. -- Jue Lin-Ye​ [[alte

Re: [R] updating elements of a list of matrixes without 'for' cycles

2016-02-01 Thread Jue Lin-Ye
h > } > > # update > > for(h in 1:H){ > # males: > for(i in 1:I) > for(j in 1:J) > foo(i,j,h) > } > > Thanks a lot for your help. Matteo > > > ​Greetings! Have you tried sapply() on this script?​ -- ​Jue [[alternative HTML

Re: [R] Boolean expression

2015-09-14 Thread Jue Lin-Ye
​Dear Dr. Lemon, I am amazed, I did not know that a space could solve this issue. So you mean that, besides being sensible to letter capitalization, R is also sensible to spaces? Many thanks! Jue​ [[alternative HTML version deleted]] __ R

[R] Boolean expression

2015-09-14 Thread Jue Lin-Ye
1" or "if 'a' is lesser than -1". Should we just enclose "-1" within parentheses or should we have a more unequivocal syntax, here, like "a<$", "a<%"? Best regards, ​Jue [[alternative HTML version deleted]] __

[R] Decomposing irregular time series

2015-05-06 Thread Jue Lin-Ye
​Dear fellow members of the r-help list, ​May someone be so kind as to point out​ how an irregular time series should be decomposed into season and trend? My code, the related error and my data are enclosed herein. ​Best regards and thanks in advance! ​-- Jue​ > x<-read.table(file=&quo

Re: [R] Mean of dates

2015-04-27 Thread Jue Lin-Ye
On 24 April 2015 at 13:47, Jue Lin-Ye wrote: > > > On 24 April 2015 at 12:59, Achim Zeileis wrote: > >> >> >> On Fri, 24 Apr 2015, Jue Lin-Ye wrote: >> >> Dear fellow R-help members, >>> >>> If my data is >>> >>> YYY

Re: [R] run Rscript and ignore errors?

2015-04-24 Thread Jue Lin-Ye
k > > This is a really, really simple "life-hack" of mine after failed past attemps to solve this ​ issue​ : Option ​1​ : Write an if(foreseen error){empty} so if _that_ happens, the code just ignores it. ​​Option 2: Try to run same code for the different initial values in

Re: [R] Mean of dates

2015-04-24 Thread Jue Lin-Ye
On 24 April 2015 at 12:59, Achim Zeileis wrote: > > > On Fri, 24 Apr 2015, Jue Lin-Ye wrote: > > Dear fellow R-help members, >> >> If my data is >> >> MM DD HH >> 2015 04 24 01 >> 2015 04 24 02 >> 2015 04 24 06 >> >> Whe

[R] Mean of dates

2015-04-24 Thread Jue Lin-Ye
them. ​Thank you in advance!​ -- Jue Lin-Ye --- Civil Engineering phD candidate Maritime Engineering Laboratory (LIM) Universitat Politècnica de Catalunya (UPC) C/Jordi Girona 1-3, Barcelona 08034 (

[R] Diff time returns 2 hours when there is 1

2015-01-13 Thread Jue Lin-Ye
diff(time)) >Time differences in hours [1] 1 2 1 ​Has anyone ever seen something like this? I mean, diff() is one of the basic functions of R, so it is probable that many people has seen something similar, before. However, somehow, I can't find an answer string on stackexchange

Re: [R] Generate random numbers under constrain

2014-11-27 Thread Jue Lin-Ye
; I use R 3.1.1 for Windows. > kindly how can I generate n number of random numbers with probability from [0,1] > and their sum must not be more than one > thanks in advance > Ragia ​Best regards,​ -- Jue Lin-Ye --- Civil Engi

[R] Polylogarithm

2010-05-10 Thread Jue (Andy) Wang
I am writing to ask if R has a build- in function to calculate this polylogarithm Li_n(z) function , also known as the Jonquière's function defined as Li_n(z)=sum_(k=1)^infty(z^k)/(k^n) Thanks Andy __ R-help@r-project.org mailing list https://stat.et

[R] confident interval on Coxme analysis

2008-09-29 Thread Jue!
Hi everyone I perform analyses using coxme function of Kinship packages. Currently, I obtain the following output Cox mixed-effects model fit by maximum likelihood Data: seal n= 26565 Iterations= 6 73 NULL Integrated Penalized Log-likelihood -244068.0 -