search for: lplough

Displaying 6 results from an estimated 6 matches for "lplough".

Did you mean: plough
2010 Nov 01
4
how to view the top 20 lines in a long dataset
Hi, I am simply looking for the function that will allow you to look at the top 20 lines of a long dataset? LP On Mon, Nov 1, 2010 at 10:46 AM, Louis Plough <lplough@usc.edu> wrote: > Hi, > I am trying to generate all possible permutations (choose 2) of a vector, > b, for example--using 'combn' the combinations in only one direction are > generated... > > > b<-c(.1,.2,.3) > > combn(b,2) > [,1] [,2] [,3] > [1,...
2012 Apr 18
3
how to plot separate lm ablines on the same xyplot by group
Hi, I am trying to use xyplot to plot the relationship between size and day (y~x) by a food factor that has two levels, low and high. I have 3 reps per factor/day. I want the plots from each food treatment on the same axiss, so I used this code: xyplot(Size ~ Day, groups = Food, data = louis.data.means,col=1, pch=c(1,17), panel=function(x,y,groups,...){ panel.superpose(x,y,groups,...)
2011 Apr 13
2
setting pairwise comparisons of columns
Hi, I have a number of genes (columns) for which I want to examine pairwise associations of genotypes (each row is an individual)...For example (see data below), I would like to compare M1 to M2, M2 to M3, and M1 to M3 (i.e. does ac from M1 tend to be found with bc from M2 more often than expected.) Down stream I will be performing chi square tests for each pair. But I am looking for a way to
2011 Apr 13
0
setting pairwise comparisons of columns (genes)
Hi, I have a number of genes (columns) for which I want to examine pairwise associations of genotypes (each row is an individual)...For example (see data below), I would like to compare M1 to M2, M2 to M3, and M1 to M3 (i.e. does ac from M1 tend to be found with bc from M2 more often than expected.) Down stream I will be performing chi square tests for each pair. But I am looking for a way to
2011 Apr 20
1
avoiding if-then statements for looped chi-square tests
Hi, I am trying to test for pairwise associations between genotypes ( Rows=individuals, Columns =genes, data are up to 4 genotypes per gene, some with 2,3 or 4) where each chisquare comparison is different depending on the genes tested. The test is the observed multilocus (across columns for each individual) genotypes vs the expectation, which is the product of the individual frequency for each
2011 Jun 28
1
means and error bars on xyplot for binary data
Hi, I have binary (0,1) data for a trait as my response variable, and a dependent variable, genotype, with three classes (AA, AB, BB). I would like to plot this data so that across the three genoytpes, even though the points are all either 0 or 1, i want them to stack up or be seen using 'jitter'. So far I have been able to do this using xyplot {lattice} (code below) but could not get