Hi,
I'm new to R and I have a file with many rows of values. Each row contains a
title and values for a contingency table
e.g.
row 1= title8 0 37796 47
which is a table called 'title'
with values
8 0
37796 47
I would like to know how I can import this using R and for each
Hello, Emily,
take a look at read.table() for importing (with or without header
depending on your file which holds the data). Maybe
X - read.table( yourfilename, header = FALSE, row.names = 1)
and then
pvalues - apply( X, 1,
function( x)
fisher.test(
2 matches
Mail list logo