[R] ANOVA

2009-06-29 Thread Georgina Sarah Humphreys
I have the attached data set (csv) and I want to run an analysis of variance on 
the wingsize data (comparing infected vs non-infected) within and between 
experiments.

Can anyone help me with the command I should use?

Many thanks
Georgina



PhD Student
Division of Infection and Immunity
B5-29, GBRC
120 University Place
Glasgow
G12 8TA
Tel: 0141 330 5650
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R squared value for a line on a plot

2008-10-07 Thread Georgina Sarah Humphreys
Does anyone know how to retrieve the R squared value for a line on a graph?

Thanks
Georgina

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Transformation for -ve binomial data

2008-09-25 Thread Georgina Sarah Humphreys
Can anyone advise a good transformation for this data below to produce a 
normalised distribution?

Many thanks,
Georgina

No. of eggs on mosquito gut:
1 12  1 12  6 17 54  1 12  2 22 27  1 27  1  1  6 24 10 54 12  5 27 68  1  4 6 
27  1  1  1  1 68  1  7  1 10  5  4  1  7  9  3 19 22 10  4
PhD Student
Division of Infection and Immunity
B5-29, GBRC
120 University Place
Glasgow
G12 8TA
Tel: 0141 330 5650

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Graph question

2008-09-24 Thread Georgina Sarah Humphreys
If I have a set of data comprising a list of numbers of eggs on mosquito guts 
that range from 1 to 157.  How can I get R to draw a barchart of the 
distribution of the data (i.e. x axis= number of eggs on a gut, y axis=number 
of mosquitoes found with that number of eggs)?  Data is listed below.

Thanks,
Georgina

Number of eggs on each mosquito gut:
 [1]   1   1   1   1   4   2   1  12  12   1   2   1  12   6  11  33  33  94  17
 [20]   3  14  12  54   1  16  10   7  12   4   7  22   1  34   2  11  34  22  
27
 [39]   4   1  27   1   1 157   1   7  31   3   6  24   6   7  23  10  54   3  
12
 [58]  12   5   2  27   2   7   6  84   3  68   1   4   6  41   1  50  27  30  
14
 [77]   3   1   1   1  30   1  68   1   7   1  10   5  11   4  19   1   7   9  
33
 [96]   2  33  57  12   6   2  57   3 115  19  22  10  19   6  11  30  57   4

PhD Student
Division of Infection and Immunity
B5-29, GBRC
120 University Place
Glasgow
G12 8TA
Tel: 0141 330 5650

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] t tests/ANOVA

2008-09-24 Thread Georgina Sarah Humphreys
I have a set of data that comprises genome numbers in single eggs from three 
different parasite clones - 3D7, HB3, and MIX.  I can draw a boxplot of the 
genome numbers for each clonefed but how do I carry out a t test or ANOVA to 
compare if the means are signifcantly different? (Data is listed below)

Many thanks,
Georgina Humphreys

clonefedgenomes
HB3 21.3
HB3 23.5
HB3 25.9
3D7 27.2
HB3 28.1
MIX 35.1
MIX 37.9
MIX 42.1
MIX 42.4
HB3 46.3
HB3 46.3
MIX 48.4
MIX 52.1
HB3 54.6
MIX 55.4
3D7 57.6
HB3 58.4
3D7 62.1
MIX 63.6
MIX 66.5
3D7 69.1
3D7 76.2
MIX 77.5
MIX 80.4
MIX 85.5
MIX 85.9
HB3 96
HB3 106.3
3D7 108.1
MIX 113.8
MIX 117.4
MIX 118
3D7 122.8
3D7 131.4
MIX 138.7
MIX 142.6
MIX 143
3D7 144
MIX 151.6
MIX 155.2
MIX 162.4
MIX 168.4
MIX 169.3
3D7 172.3
HB3 173
HB3 191.9
MIX 192.7
HB3 200
MIX 206.3
3D7 210.2
HB3 223.7
HB3 223.9
3D7 232.1
HB3 238.6
MIX 240.8
3D7 254.3
3D7 257.6
3D7 261.8
3D7 269.9
HB3 277
MIX 289.1
MIX 293.2
MIX 295.2
MIX 295.7
MIX 310.4
3D7 311.9
3D7 311.9
MIX 313.1
MIX 317.8
MIX 332.2
3D7 334.9
3D7 338.2
MIX 340
MIX 360.5
3D7 372.8
3D7 376.6
HB3 390.3
MIX 419.1
3D7 420
MIX 427.4
MIX 443
MIX 449.7
MIX 452.8
MIX 501.4
3D7 502.9
3D7 505.5
3D7 506.3
3D7 529
MIX 534.4
MIX 540.6
MIX 542
3D7 545.2
MIX 547.2
MIX 554.2
MIX 556.5
3D7 564.9
3D7 575.1
3D7 580.6
MIX 591.5
3D7 655.5
3D7 666.1
3D7 667.2
3D7 699
3D7 741.2
3D7 744.8
3D7 752.2
MIX 795.9
3D7 810.9
HB3 816.4
MIX 849.2
3D7 852.9
3D7 875.4
3D7 891.3
MIX 906.5
MIX 922.3
MIX 949.6
MIX 986.1
MIX 994.3
MIX 1005.3
MIX 1061.3
MIX 1159.5
3D7 1163.2
MIX 1177.5
3D7 1211.3
3D7 1249.7
3D7 1318.3
MIX 1579.3
MIX 1585.2
MIX 1590.3
MIX 1788.7
MIX 2012.9
3D7 2067.4

PhD Student
Division of Infection and Immunity
B5-29, GBRC
120 University Place
Glasgow
G12 8TA
Tel: 0141 330 5650

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.