Re: [R] Fast tau-estimator line does ot appear on the plot

2018-03-31 Thread varin sacha via R-help
Many thanks Duncun, Best, Le samedi 31 mars 2018 à 18:05:53 UTC+2, Duncan Murdoch a écrit : On 31/03/2018 11:57 AM, varin sacha via R-help wrote: > Dear R-experts, > > Here below my reproducible R code. I want to add many straight lines to a > plot using "abline" > The last fit (fas

Re: [R] Names of variables needed in newdata for predict.glm

2018-03-31 Thread David Winsemius
> On Mar 31, 2018, at 8:48 AM, Bendix Carstensen > wrote: > > all.vars works fine, EXCEPT, it give a bit too much. > I only want the regression variables, but in the following example I also get > "k" the variable holding the chosen knots. Any machinery to find only "real" > regression variab

Re: [R] Fast tau-estimator line does ot appear on the plot

2018-03-31 Thread Duncan Murdoch
On 31/03/2018 11:57 AM, varin sacha via R-help wrote: Dear R-experts, Here below my reproducible R code. I want to add many straight lines to a plot using "abline" The last fit (fast Tau-estimator, color yellow) will not appear on the plot. What is going wrong ? Many thanks for your reply.

Re: [R] Names of variables needed in newdata for predict.glm

2018-03-31 Thread Bendix Carstensen
all.vars works fine, EXCEPT, it give a bit too much. I only want the regression variables, but in the following example I also get "k" the variable holding the chosen knots. Any machinery to find only "real" regression variables? cheers, Bendix library( splines ) y <- rnorm(100) x <- rnorm(100)

[R] Fast tau-estimator line does ot appear on the plot

2018-03-31 Thread varin sacha via R-help
Dear R-experts, Here below my reproducible R code. I want to add many straight lines to a plot using "abline" The last fit (fast Tau-estimator, color yellow) will not appear on the plot. What is going wrong ? Many thanks for your reply. ## Y=c(2,4,5,4,3,4,2,3,56,5,4,3,4,5,6,5,4,5,34,21

Re: [R] R help

2018-03-31 Thread Ted Harding
A. On Sat, 2018-03-31 at 15:45 +0200, Henri Moolman wrote: > Could you please provide help with something from R that I find rather > puzzling? In the small program below x[1]=1, . . . , x[5]=5. R also > finds that x[1]<=5 is TRUE. Yet when you attempt to execute while, R does > not seem to

Re: [R] R help

2018-03-31 Thread Rui Barradas
Hello, Maybe you want while(x[i] < 5) not <= Hope this helps, Rui Barradas On 3/31/2018 2:45 PM, Henri Moolman wrote: Could you please provide help with something from R that I find rather puzzling? In the small program below x[1]=1, . . . , x[5]=5. R also finds that x[1]<=5 is TRUE. Yet

Re: [R] R help

2018-03-31 Thread Mathew Guilfoyle
When i increments to 6 (during the fifth iteration) the subsequent test of x[i]<=5 will produce an error since x has only five elements. > On 31 Mar 2018, at 14:45, Henri Moolman wrote: > > Could you please provide help with something from R that I find rather > puzzling? In the small program b

Re: [R] R help

2018-03-31 Thread Thomas Mailund
The condition is true all the way until you index outside the vector... Cheers On 31 Mar 2018, 17.29 +0200, Henri Moolman , wrote: > Could you please provide help with something from R that I find rather > puzzling? In the small program below x[1]=1, . . . , x[5]=5. R also > finds that x[1]<=5 is

[R] R help

2018-03-31 Thread Henri Moolman
Could you please provide help with something from R that I find rather puzzling? In the small program below x[1]=1, . . . , x[5]=5. R also finds that x[1]<=5 is TRUE. Yet when you attempt to execute while, R does not seem to recognize the condition. Any thoughts on why this happens? Regards He

Re: [R] R and Java 10 ➜ rJava not able to build

2018-03-31 Thread peter dalgaard
Don't waste too much time on this. It is due to a change introduced in Java 10 at short notice. I believe the rJava maintainers are working on a fix/workaround. -pd > On 31 Mar 2018, at 10:22 , John wrote: > > On Tue, 27 Mar 2018 22:25:33 +0300 > Luis Puerto wrote: > > I don't run a Mac so

Re: [R] R and Java 10 ➜ rJava not able to build

2018-03-31 Thread John
On Tue, 27 Mar 2018 22:25:33 +0300 Luis Puerto wrote: I don't run a Mac so this may not help. Did you install java 10 as user or as root? Using linux, applications installed as user will be inserted into your user space under /home/. As root the application will located where any user of the s