search for: kmoreho1

Displaying 9 results from an estimated 9 matches for "kmoreho1".

2017 Jul 13
1
How to make a figure plotting p-values by range of different adjustment values?
...ot;n",main="P plot",xlab="Method",ylab="adjusted p values") > abline(h=0.05,col="lightgray") > library(plotrix) > staxlab(1,at=1:8,labels=p.adjust.methods) > > Jim > > > On Thu, Jul 13, 2017 at 12:53 AM, Kirsten Morehouse > <kmoreho1 at swarthmore.edu> wrote: > > Hi all, > > > > Thank you for taking the time to read my message. I'm trying to make a > > figure that plots p-values by a range of different adjustment values. > > > > (Using the **logit** function in package **car**) > &g...
2017 Aug 06
1
Nested for loop
...gt; > > Set A: 400 samples, draw 100 in range of 5 to 15 > > > > Set B: 800 samples, draw 100 in range of 5 to 15 > > > > Set C: 300 samples, draw 100 in range of 5 to 15 > > > > Ben > > > > > On Aug 5, 2017, at 9:21 AM, Kirsten Morehouse <kmoreho1 at swarthmore.edu> > wrote: > > > > > > Hi! Thanks for taking the time to read this. > > > > > > The code below creates a graph that takes 100 samples that are between 5% > > > and 15% of the population (400). > > > > > > What I...
2017 Jul 13
0
How to make a figure plotting p-values by range of different adjustment values?
...) npadj<-npadj+1 } plot(padjs,xaxt="n",main="P plot",xlab="Method",ylab="adjusted p values") abline(h=0.05,col="lightgray") library(plotrix) staxlab(1,at=1:8,labels=p.adjust.methods) Jim On Thu, Jul 13, 2017 at 12:53 AM, Kirsten Morehouse <kmoreho1 at swarthmore.edu> wrote: > Hi all, > > Thank you for taking the time to read my message. I'm trying to make a > figure that plots p-values by a range of different adjustment values. > > (Using the **logit** function in package **car**) > > My Statistical analyses wer...
2017 Jul 12
2
How to make a figure plotting p-values by range of different adjustment values?
Hi all, Thank you for taking the time to read my message. I'm trying to make a figure that plots p-values by a range of different adjustment values. (Using the **logit** function in package **car**) My Statistical analyses were conducted on probability estimates ranging from 0% to 100%. As it's not ideal to run linear models on percentages that are bounded between 0 and 1, these
2017 Jul 24
0
Ifelse statements and combining columns
...rd for"function"... functions like cbind are called with argument lists delimited by parentheses, not brackets, and having a missing argument to the cbind function will be of no use. -- Sent from my phone. Please excuse my brevity. On July 24, 2017 5:23:57 AM PDT, Kirsten Morehouse <kmoreho1 at swarthmore.edu> wrote: >Hi everyone, > >I'm having some trouble with my ifelse statements. > >I'm trying to put 12 conditions within 3 groups. Here is the code I >have so >far: > >dat$cond <- ifelse(test = dat$cond == "cond1" | dat$cond == &quot...
2017 Aug 06
0
Nested for loop
...Below is what I think you are asking for, but I have the feeling I may be off the mark. Set A: 400 samples, draw 100 in range of 5 to 15 Set B: 800 samples, draw 100 in range of 5 to 15 Set C: 300 samples, draw 100 in range of 5 to 15 Ben > On Aug 5, 2017, at 9:21 AM, Kirsten Morehouse <kmoreho1 at swarthmore.edu> wrote: > > Hi! Thanks for taking the time to read this. > > The code below creates a graph that takes 100 samples that are between 5% > and 15% of the population (400). > > What I'd like to do, however, is add two other sections to the graph. It &gt...
2017 Jul 24
5
Ifelse statements and combining columns
Hi everyone, I'm having some trouble with my ifelse statements. I'm trying to put 12 conditions within 3 groups. Here is the code I have so far: dat$cond <- ifelse(test = dat$cond == "cond1" | dat$cond == "cond2" | dat$cond == "cond3" dat$cond == "cond4" yes = "Uniform" no = ifelse(test =
2017 Aug 05
2
Nested for loop
Hi! Thanks for taking the time to read this. The code below creates a graph that takes 100 samples that are between 5% and 15% of the population (400). What I'd like to do, however, is add two other sections to the graph. It would look something like this: from 1-100 samples take 100 samples that are between 5% and 15% of the population (400). From 101-200 take 100 samples that are between
2017 Aug 08
1
Nested for loop
...tlin <bioprogrammer at gmail.com> wrote: > Hi. > > A nested for loop is not terribly efficient (it's O(n^2)). Can you > vectorize it? If so, this would be a far more efficient and faster approach. > > ~Caitlin > > On Saturday, August 5, 2017, Kirsten Morehouse <kmoreho1 at swarthmore.edu> > wrote: > >> Hi! Thanks for taking the time to read this. >> >> The code below creates a graph that takes 100 samples that are between 5% >> and 15% of the population (400). >> >> What I'd like to do, however, is add two other sec...