Re: [R] fancy linear model and grouping

2016-02-02 Thread PIKAL Petr
model. As usual, Rhelp is powerful tool for getting answers if one tries to keep Posting guide rules. Cheers Petr From: William Dunlap [mailto:wdun...@tibco.com] Sent: Tuesday, February 02, 2016 6:09 PM To: PIKAL Petr Cc: R Help R Subject: Re: [R] fancy linear model and grouping Perhaps you can

Re: [R] fancy linear model and grouping

2016-02-02 Thread William Dunlap via R-help
Perhaps you can try clustering the output of the Hough transform. PET::hough() will compute it, given a matrix like gplots::hist2d(1/temp[,1],temp[,2])$hData. I do not have much experience here. Bill Dunlap TIBCO Software wdunlap tibco.com On Tue, Feb 2, 2016 at 3:35 AM, PIKAL Petr wrote: > De

Re: [R] fancy linear model and grouping

2016-02-02 Thread Gabor Grothendieck
gt; > >> -Original Message- >> From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com] >> Sent: Tuesday, February 02, 2016 1:20 PM >> To: PIKAL Petr >> Cc: R Help R >> Subject: Re: [R] fancy linear model and grouping >> >> Try the mclust p

Re: [R] fancy linear model and grouping

2016-02-02 Thread PIKAL Petr
t miss anything. Cheers Petr > -Original Message- > From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com] > Sent: Tuesday, February 02, 2016 1:20 PM > To: PIKAL Petr > Cc: R Help R > Subject: Re: [R] fancy linear model and grouping > > Try the mclust package:

Re: [R] fancy linear model and grouping

2016-02-02 Thread Gabor Grothendieck
Try the mclust package: library(mclust) temp.na <- na.omit(temp) fm <- Mclust(temp.na) g <- fm$classification plot(temp.na, pch = g, col = g) On Tue, Feb 2, 2016 at 6:35 AM, PIKAL Petr wrote: > Dear all > > I have data like this > >> dput(temp) > > temp <- structure(list(X1 = c(93, 82, NA, 93,

[R] fancy linear model and grouping

2016-02-02 Thread PIKAL Petr
Dear all I have data like this > dput(temp) temp <- structure(list(X1 = c(93, 82, NA, 93, 93, 79, 79, 93, 93, 85, 82, 93, 87, 93, 92, NA, 87, 93, 93, 93, 74, 77, 87, 93, 82, 87, 75, 82, 93, 92, 68, 93, 93, 73, NA, 85, 81, 79, 75, 87, 93, NA, 87, 87, 85, 92, 87, 92, 93, 87, 87, NA, 69, 87, 93, 87