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

2016-11-15 Thread Jue Lin-Ye
​ ​ Dear Mr. Song, S ​​ orry for the late response. ​My response to you, is that, first, y ou are not assuming a linear relationship in your formula, because the argument k of your smooth term s() is not 1. ​Now, ​ I cannot see figure 1, but you can obtain figure 2 from the formula that you desc

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
> > Date: Sat, 30 Jan 2016 01:03:30 + > From: Matteo Richiardi < > ​​ > matteo.richia...@maths.ox.ac.uk> > To: r-help@r-project.org > Subject: [R] updating elements of a list of matrixes without 'for' > cycles > Message-ID: > < > cabsru1lkohuz8m9jw1ju+nemksprirrtd_0wzotrlwi3z6d.

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-hel

[R] Boolean expression

2015-09-14 Thread Jue Lin-Ye
Dear fellow R users, I would like to discuss something. First of all, I would like to make clear that I think that the current R software is great. I have noticed that, for example, in the boolean expression "if(a<-1)", it is not clear if what is asked is "if 'a' is 1" or "if 'a' is lesser than -

[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="Data3.txt"

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
Jeff Newmiller dcn.davis.ca.us> writes: > > This seems like a recipe for garbage results to me, but there may be I something you can set the error option > to. See ?options. > --- > Jeff NewmillerThe

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