[R] Division of data set with some restriction

2016-01-25 Thread Muhammad Kashif
Dear Group members Can any one help to code this situation. Suppose we have a population with some mean and a standard deviation. Then , there are n1 observations out of n which are less than or equal to n. Also, there are n2 observations out of n which are greater than . We divide the

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Hasan Diwan
There exists a fine line between being unintentionally rude, but helpful and purposely putting someone down. -- H On 25 January 2016 at 12:07, Duncan Murdoch wrote: > On 25/01/2016 2:45 PM, Oliver Keyes wrote: > >> I disagree, and would argue that fails to take a

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Duncan Murdoch
On 25/01/2016 2:45 PM, Oliver Keyes wrote: I disagree, and would argue that fails to take a systemic view of this kind of behaviour. If individual commentators are acerbic and are only privately reprimanded, from the perspective of everyone else it looks like the acerbic reply was A-OK. Someone

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Fowler, Mark
Two concerns with implementing this philosophy. 1. Determining whether a question is indeed seeking an answer to a homework exercise. Certainly if I think a question is short-cutting a basic homework task I ignore it. But I don't waste an email berating the alleged student. 2.

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Oliver Keyes
+1. And frankly I would like to suggest that there is another obvious solution here; pairing a set of guidelines around expected user behaviour with removing people from the mailing list, or moderating them, if they do not think that creating a non-toxic environment is good. On 25 January 2016 at

Re: [R] Mixture Discriminant Analysis and Penalized LDA

2016-01-25 Thread Max Kuhn
There is a function called `smda` in the sparseLDA package that implements the model described in Clemmensen, L., Hastie, T., Witten, D. and Ersbøll, B. Sparse discriminant analysis, Technometrics, 53(4): 406-413, 2011 Max On Sun, Jan 24, 2016 at 10:45 PM, TJUN KIAT TEO

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Fowler, Mark
I'm glad to see the issue of negative feedback addressed. I can especially relate to the 'cringe' feeling when reading some authoritarian backhand to a new user. We do see a number of obviously inappropriate or overly lazy postings, but I encounter far more postings where I don't feel competent

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Ted Harding
My feelings exactly! (And since quite some time ago). Ted. On 25-Jan-2016 12:23:16 Fowler, Mark wrote: > I'm glad to see the issue of negative feedback addressed. I can especially > relate to the 'cringe' feeling when reading some authoritarian backhand to a > new user. We do see a number of

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Duncan Murdoch
On 25/01/2016 12:35 PM, John Sorkin wrote: When we read acerbic replies we should remind the poster to reply in a more moderate tone. As long as you do this in private, not on the list, I wouldn't object. (I'd hope I wouldn't even know about it.) Doing it on the list is more likely to lead

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread John Sorkin
When we read acerbic replies we should remind the poster to reply in a more moderate tone. On the other hand noting that the list is not intended to be a source of answers to home work questions is 100% appropriate. This philosophy is intended both to keep the list from being flooded with

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread jwd
On Mon, 25 Jan 2016 12:33:12 -0800 Hasan Diwan wrote: > There exists a fine line between being unintentionally rude, but > helpful and purposely putting someone down. -- H The line is really not "fine" at all since it lies in that word "purposely." Also, you've

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Hasan Diwan
On 25 January 2016 at 13:13, Duncan Murdoch wrote: > On 25/01/2016 3:33 PM, Hasan Diwan wrote: > >> There exists a fine line between being unintentionally rude, but helpful >> and purposely putting someone down. -- H >> > > I'm afraid I don't think your point is

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Oliver Keyes
Sorry, poor phrasing on my part; on the occasions where someone is rude, all I see is... I agree the public cautioning should be done by moderators, yes. On 25 January 2016 at 16:13, Duncan Murdoch wrote: > On 25/01/2016 3:33 PM, Hasan Diwan wrote: >> >> There exists a

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Duncan Murdoch
On 25/01/2016 3:33 PM, Hasan Diwan wrote: There exists a fine line between being unintentionally rude, but helpful and purposely putting someone down. -- H I'm afraid I don't think your point is relevant. I didn't claim all the people who were rude did it unintentionally. However, I don't

Re: [R] Logistic Regression

2016-01-25 Thread Greg Snow
Do you have the sample sizes that the sample proportions were computed from (e.g. 0.5 could be 1 out of 2 or 100 out of 200)? If you do then you can specify the model with the proportions as the y variable and the corresponding sample sizes as the weights argument to glm. If you only have

Re: [R] Division of data set with some restriction

2016-01-25 Thread Bert Gunter
Muhammed: 1. Please post in plain text, not HTML, as HTML tends to get mangled (this is the stated policy on this list). This may have happened to your post, so I am not entirely sure what you want. 2. However, an assumption that you appear to be making is false: it is not in general possible to

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread jwd
On Mon, 25 Jan 2016 11:06:35 -0500 Oliver Keyes wrote: > +1. And frankly I would like to suggest that there is another obvious > solution here; pairing a set of guidelines around expected user > behaviour with removing people from the mailing list, or moderating > them, if

Re: [R] Logistic Regression

2016-01-25 Thread Wensui Liu
But beta can only be used to model the open interval between zero and one On Monday, January 25, 2016, Greg Snow <538...@gmail.com> wrote: > Do you have the sample sizes that the sample proportions were computed > from (e.g. 0.5 could be 1 out of 2 or 100 out of 200)? > > If you do then you can

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Peter Alspach
I think this would be re-defining the role of the moderators for list, which is essentially to filter out spam. Only new members are subject to this moderation, and if a message is genuine then their moderator flag is cleared (i.e., they are no longer subject to moderation). Thus the list

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread John Sorkin
I submit it is up to list members to maintain civility. If we politely point out. off-line, to people who post questionable posts what they are doing, I am sure their behavior will quickly change.John John David Sorkin M.D., Ph.D. Professor of Medicine Chief, Biostatistics and Informatics

Re: [R-es] Corregir mismo ID para individuos diferentes en una serietemporal

2016-01-25 Thread Javier Marcuzzi
Estimados Creo que ese problema es muy común, almacenar mal la información y darse cuenta al tiempo de análisis. Es el problema que yo encontré cuándo comencé a ser profesional y dejar mis tiempos de estudiante cuándo los ejemplos andan. Mi respuesta va por dos lados: El primero, no comprendo

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Oliver Keyes
I disagree, and would argue that fails to take a systemic view of this kind of behaviour. If individual commentators are acerbic and are only privately reprimanded, from the perspective of everyone else it looks like the acerbic reply was A-OK. Someone said something unnecessarily hostile and the

Re: [R] Division of data set with some restriction

2016-01-25 Thread Jim Lemon
Hi Muhammad, There are a large number of approximate answers to your problem. One easy one is to ensure that the standard deviations of the subgroups are maximally different by dividing the observations into "mids" (observations close to the mean) and "tails" (observations far from the mean). The

[R] tcltk table: get celltag value

2016-01-25 Thread Dalthorp, Daniel
I'm finding it very difficult to figure out how to read the value of "celltag" for a given cell in a tktable. I'm sure it's something like: tcl(classTable, "get", "celltag", row, column) but of the dozens of variations of names, options, args, and formats I've tried, nothing is working. Any

[R] Problem with installing "mapview"

2016-01-25 Thread Debasish Pai Mazumder
Hi all, I am using Rstudio version 0.99.491. I am trying install "mapview" package. install.packages("mapview") I receive following error message configure: error: Cannot compile a simple JNI program. See config.log for details. Make sure you have Java Development Kit installed and correctly

Re: [R] Problem with installing "mapview"

2016-01-25 Thread David Winsemius
> On Jan 25, 2016, at 4:20 PM, Debasish Pai Mazumder wrote: > > Hi all, > > I am using Rstudio version 0.99.491. I am trying install "mapview" package. > install.packages("mapview") > > I receive following error message > > configure: error: Cannot compile a simple JNI

Re: [R] tcltk table: get celltag value

2016-01-25 Thread peter dalgaard
> On 26 Jan 2016, at 00:54 , Dalthorp, Daniel wrote: > > I'm finding it very difficult to figure out how to read the value of > "celltag" for a given cell in a tktable. > > I'm sure it's something like: > > tcl(classTable, "get", "celltag", row, column) > > but of the

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Kevin E. Thorpe
On 01/25/2016 11:06 AM, Oliver Keyes wrote: +1. And frankly I would like to suggest that there is another obvious solution here; pairing a set of guidelines around expected user behaviour with removing people from the mailing list, or moderating them, if they do not think that creating a

[R] Matrix of Lists containing numbers and characters

2016-01-25 Thread TJUN KIAT TEO
Here is my sample code TunePar<-matrix(list(Null),2,2) TunePar[[1,1]]=list(subclasses=3,model="gen.ridge") tune=paste(colnames(Temp),Temp,sep="=") tune=paste(tune,collapse=",") However when I type tune This is what I get "subclasses=3,model=1" The text "gen.ridge has been converted to the

Re: [R] unexpected behaviour of an extended time series (using packages spuRs and xts)

2016-01-25 Thread Olivier ETERRADOSSI
Thank you Joshua for your valuable help, It just works fine now ! Regards, O. Olivier ETERRADOSSI Maître-Assistant HDR Ingénierie de l’aspect visuel et tactile C2MA – Pôle R.I.M.E. (site de Pau) Ecole des mines d’Alès Technopole Hélioparc 2 av. P. Angot 64053 PAU Cedex 9 France -Message

Re: [R] Matrix of Lists containing numbers and characters

2016-01-25 Thread PIKAL Petr
Hi What is Temp? Just a guess. "model" variable is factor and it is converted to its numeric representation during paste or any other operation you made. Cheers Petr > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of TJUN > KIAT TEO > Sent: Monday,

Re: [R] tcltk table "validateCommand"

2016-01-25 Thread peter dalgaard
It's been so long that I have forgotten how to get the package with the table widget installed on OSX, so I cannot check things for you. However, the canonical way to handle %S type arguments is to pass them as formal arguments to the callback, e.g. > .Tcl.callback(function(x,y)x+y) [1]

Re: [R] Block Triangular Matirx

2016-01-25 Thread David Winsemius
> On Jan 24, 2016, at 10:45 PM, Olivier Crouzet > wrote: > > Hi, I think this page will help, > > https://stat.ethz.ch/R-manual/R-devel/library/base/html/lower.tri.html I agree that might be useful. Also very useful if the OP wants further advice would be for