[R] Error in Lordif: slope is missing or negative

2017-09-29 Thread Terwee, CB
had negative slope parameters. 87,89,91,93,95,99ERROR: The following items had negative slope parameters (87,89,91,93,95,99). Error in probgrm(theta, DISC[i], CB[i, ]) : slope is missing or negative Does anlyone knows what the poblem might be? Any help is appreciated! Best regards Caroline [[alt

Re: [R] How to generate fake population (ie. not sample) data?

2009-03-04 Thread CB
2009/3/4 Thomas Lumley : > On Wed, 4 Mar 2009, David Winsemius wrote: > >> In what ways is rnorm not a satisfactory answer? > > My guess was that CB wants to generate a finite population whose mean and > variance are specified, which would involve rnorm() followed by ce

Re: [R] How to generate fake population (ie. not sample) data?

2009-03-04 Thread CB
2009/3/4 Daniel Nordlund : > Something like this may help get you started. > > std.pop <- function(x,mu,stdev){ >  ((x-mean(x))/sd(x)*stdev)+mu >  } > > population <- std.pop(rnorm(1000),10,5) > > Hope this is helpful, > > Dan Very helpful. I hadn't thought of a simple roll-your-own approach, and

Re: [R] How to generate fake population (ie. not sample) data?

2009-03-03 Thread CB
of my R journey, so my apologies if this is a particularly naive enquiry. 2009/3/4 David Winsemius : > In what ways is rnorm not a satisfactory answer? > > -- > David Winsemius > > On Mar 3, 2009, at 9:33 PM, CB wrote: > >> This seems like it should be obvious, but searche

[R] How to generate fake population (ie. not sample) data?

2009-03-03 Thread CB
This seems like it should be obvious, but searches I've tried all come up with rnorm etc. Is there a way of generating normally-distributed 'population' data with known parameters? Cheers, CB. __ R-help@r-project.org mailing list https

Re: [R] Rterm.exe stops responding to keyboard input

2009-02-10 Thread CB
ecific to this means of switching windows. Cheers, CB. 2009/2/11 Crispin Bennett > Henrik, > > Ah, I did briefly search the list archive, but hadn't come across your > earlier post, sorry. > > I can confirm the conditions you outlined back then (ie. it's L-ALT+TAB, &

[R] Rterm.exe stops responding to keyboard input

2009-02-10 Thread CB
I've been trying to use Rterm.exe, mainly because of Rgui.exe's lack of support for incremental history searching. But on my system (Win XP, SP3), it (rterm from R-2.8.1) frequently just stops responding to keyboard input. This happens often (enough to make it unusable), and generally after a switc