Re: [R] Query on constrained regressions using -mgcv- and -pcls-

2020-11-02 Thread Clive Nicholas via R-help
As an addendum / erratum to my original post, the second block of code should read for completeness: set.seed(02102020) N=500 M=10 rater=rep(1:M, each = N) lead_n=as.factor(rep(1:N,M)) a=rep(rnorm(N),M) z=rep(round(25+2*rnorm(N)+.2*a)) x=a+rnorm(N*M) y=.5*x+5*a-.5*z+2*rnorm(N*M) x_cl=rep(aggregate

[R] Query on constrained regressions using -mgcv- and -pcls-

2020-11-02 Thread Clive Nicholas via R-help
Hello all, I'll level with you: I'm puzzled! How is it that this constrained regression routine using -pcls- runs satisfactorily (courtesy of Tian Zheng): library(mgcv) options(digits=3) x.1=rnorm(100, 0, 1) x.2=rnorm(100, 0, 1) x.3=rnorm(100, 0, 1) x.4=rnorm(100, 0, 1) y=1+0.5*x.1-0.2*x.2+0.3*x

Re: [R] Philip Morris International - Windows10 migration assessment

2018-08-03 Thread Clive Nicholas via R-help
On 03/08/18 19:03, Rainer Krug wrote: > Let’s not alienate the business users! > > I agree that this is not the right / best forum to ask these type of questions, but where is? I would suggest to at least point them to the right resources. and not say that there questions are inappropriate here. >

[R] Possible solution to R installation problemst for Linux Mint 19 users

2018-07-21 Thread Clive Nicholas via R-help
Hello! If you're a newly-minted (pun _fully_ intended) user of Linux Mint 19 ("Tara") and you find you're having issues installing R (as I just have), please read on as I may have a solution for you. To set out the context, the problem looks like this: You (naturally) consult the relevant webpag

Re: [R] change the x axis tickmarks when using plot function in -drc- package

2015-12-09 Thread Clive Nicholas via R-help
Message: 30 Date: Tue, 8 Dec 2015 22:56:00 -0500 From: li li To: Jim Lemon Cc: r-help Subject: Re: [R] change the x axis tickmarks when using plot function in drc package Message-ID: Content-Type: text/plain; charset="UTF-8" Thanks for the reply but that does not seem to work.