Practical R for Biologists by unknow

Practical R for Biologists by unknow

Author:unknow
Language: eng
Format: epub
Publisher: CAB International


Tool Box 15.1

• Use apply(filename, 1, sum) to calculate the sum of rows.

• Use apply(filename, 2, mean) to calculate the mean of columns.

• Use colMeans() to calculate the means of columns.

• Use colSums() to calculate the sums of columns.

• Use family= to specify the error distribution for a glm.

• Use glm() to calculate the amount of variance explained by the variables.

• Use h= in abline to set a line as horizontal.

• Use jitter() in plot to separate coincident points so that they appear distinct.

• Use mar= in par to set the margins.

• Use rowMeans() to calculate the means of rows.

• Use rowSums() to calculate the sum of rows.

• Use split() to separate values in a vector according to a supplied list of factors.

• Use v= in abline to set a line as vertical.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.