Displaying 20 results from an estimated 120 matches similar to: "Inlcudung classes in de contigency table + dataoverflow"
2011 Dec 03
1
pivot table help
Hello R-users,
I've got a huge table with about 20.00 rows and 50 columns. The table now
has headers as Members1, Members2 etc. My data are 8 different individuals.
And I've got a column with clusters. So each individual belongs to different
clusters and can occurs multiple times within a cluster (that's the reason
that there can be more than 8 members). I want a presence/ absence
2003 Oct 13
2
contigency tables
Hello everybody,
Can anyone tell me how I could analyze data that are at a contigency table form? I already found function cfa in the cfa package but I still don't understand how I could use this function in order to elaborate a contigency table. Every answer is welcome!
---------------------------------
ÁðïêôÞóôå ôçí äùñåÜí óáò@yahoo.gr
[[alternative HTML version deleted]]
2011 Mar 21
3
appending collums in for loop
Hoi All,
I am trying to append collums to a data frame in a for loop. I read in
tables, do some processing and then write the result to a data.frame. But,
the thing I want is, that the results are appended to the data frame in
stead of overwriting the results of the prevous table.
It has to look something like this:
After going trough the loop once:
Array 1
1
2
3
4
5
After going
2006 Apr 11
0
access mysql with lower cased collum name failed
rails:
hi guys, one problem makes me even crazy!
I use ruby on rails and mysql, but the table''s collum names in the mysql database is mixed case, not only lower case. but I do have set the database lower_case_tablenames=1, but still, the ruby on rail can not access mysql by just lower case table collums. why?!
help!
Regards!
Su Siyuan
siyuan.su@accessmedia.com.cn
2006-04-11
2006 Jan 10
2
reading contigency tables
Hi all,
I need some help using read.ftable to read a contingency table. My columns
are organized as follows:
order--family--species--location--number of individuals
I couldn't figure out how to change the data on my text file to be
imported into R; and after you do that, is it possible to convert the
table into a data frame? Any tips would be greatly appreciatted!
Thanks a lot,
Naiara.
2012 Sep 26
1
Creating x*y different contigency tables
Dear all,
I am trying to construct 25x31 different matrices of 2x2 dimension. Here
is the problem:
we have the following matrix
matrix(c(54+s0,
43+s1, 56-s0, 67-s1), nrow=2, ncol=2, byrow=T)
the values for s0 and s1 are c(0:24) and c(0:31), respectively.
I wrote the following code without the desired results
2012 Apr 23
1
Searching and returning arrays
im a begginer in RoR and am using rails 3.2.3 and ruby 1.8.7
This forum has helped me to progress but I''m confused by one thing.
My app is supposed to allow seaching for results depending on the check
boxes that are checked. In my case, when the user checks a determined
facility and clicks "search" the corresponding hotels with only those
facilities should be returned. I can
2007 Feb 24
1
recovering collums of DF using a text var.list
Um texto embutido e sem conjunto de caracteres especificado associado...
Nome: n?o dispon?vel
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070224/7164edfb/attachment.pl
2013 Aug 28
1
Welcome to the "R-help" mailing list
Good Afternoon,
My name is Gabriel, I'm doing an analysis if there is increase or decrease in dependence on the mutated genes, using 3 or more genes using the fisher exact test.I performed with success an analysis for two genes using fisher.test( ). example of the 2x2 contigency table:
Gene A mutated | Gene A normalGene B mutated| 26
2011 Nov 21
5
R ignores number only with a nine under 10000
Hello R users,
I'm trying to replace numerical values in a datamatrix with strings. R does
this except for numbers under 10000 starting with a 9 (eg 98, 970, 9504
etc). This is really weird and I wondered whether someone had encountered
such a problem or knows the solution. I'm using the next script:
test_1 <- read.table("5+ref_151111clusters3.csv", header = TRUE, sep =
2001 Nov 06
2
Canonical Correspondence analysis-CoCoAn package
Hi R-users,
I am new to R environment.I want to carry out a
correspondence analysis on a contigency table with 64
columns and 298 observation of Environmental data.In
many cells of the contigency table the frequency is
just the value '1'.
I got the following error.
> CAIV(Eplankton)
Error in if (L[i, j] < 0) return("Table L must contain
non-negative numbers") :
2002 Feb 13
3
xtabs
Hi,
In Splus if I call the function crosstabs() the output is a contigency
table; in each cell of the table is printed: N, N/RowTotal,
N/ColTotal, N/Total. N is the number of observations in each cell.
The same call to xtabs() in R will produce the contigency table but the
only entry in each cell is N.
How can I get the same relative frequencies that crosstabs() gives?
Thanks,
mike
--
2003 Dec 11
2
Cochran-Mantel-Haenszel problem
Hello,
I've tried to analyze some data with a CMH test. My 3 dimensional contingency
tables are 2x2xN where N is usually between 10 and 100.
The problem is that there may be 2 strata with opposite counts (the 2x2
contigency table for these are reversed), producing opposite odds ratios that
cancle out in the overall statistics. These opposite counts are very
important for my analysis, since
2007 Nov 09
1
fisher.test, chisq.test
Hi,
I want to analyse a contigency table (3 x 12) with a fisher.test
beacause there are cells that are less than 5.
?mmen Anken Baf Belchen H?chi Hof Porti R?m Schmutz Sch?n Sissa Tann
class14 7 26 150 2 46 68 126 66 3 31 7 61
class24 7 6 55 5 49 71 93 90 1 18 16 79
class34 1 1 4 3 19 8 29 61
2008 Dec 24
1
Conditional Counting with Table
Dear all,
I have the following data frame:
V1 V2
aaa chr1
aaa chr2
aaa NM
aaa QC
aaa chr10
att NM
att chr7
What I want to do is to count the string (V1).
But the condition of counting is: if the V2 of the string
is "NM" or "QC" then the count is not increased.
Hence the contigency table will look like this:
#tag count
aaa 3
att 1
Is
2009 Sep 09
1
R code for creating and appending to frequency table
Apologies for what might seem like an simple question.
I have written a model which gives me a frequency distribution for a
particular score within a set. What I now want to do is loop this so that I
get many different frequency distributions and append them to a table with a
collum which specifies which loop the frequency distribution is from. What I
wantto end up with would look something like
2008 Mar 12
3
Converting a data frame with values into a matrix/
Dear Group,
I have a data frame like the following:
x <- c("Mike","A",0.01)
x1 <- c("Carl","A",0.2)
x2 <- c("Gene","C",0.3)
x3 <- c("James","A",-0.3)
x4 <- c("Dough","B",0)
xx <- rbind(x,x1,x2,x3,x4)
colnames(xx)<-c("Name","Class","NES")
xx
2003 Dec 03
1
multidimensional Fisher or Chi square test
Hello,
Is there a test for independence available based on a multidimensional
contingency table?
I've about 300 processes, and for each of them I get numbers for failures and
successes. I've two or more conditions under which I test these processes.
If I had just one process to test I could just perform a fisher or chisquare
test on a 2x2 contigency table, like this:
for one process:
2007 Jul 21
0
Binomial multi-level (hierarchical) modelling [partly stats question, not completely R related]
Dear all,
This question is partly statistics and partly R and I apologise in
advance for my (usual) verbosity! My data is a little more complicated
that this suggests, but essentially I have proportion data from
different studies (id), each from a specific country and region of the
World. I would like to examine the variables that affect the
proportion, but these factors are hierarchical. In case
2011 Nov 17
2
please suggest a web page automation tool
I''ve been trying to get a couple of web automation tools going today
and having a hard time. Seems like everything I try is outdated and
won''t run on my environment. Mechanize seemed like a good one but it
doesn''t want to run:
require ''rubygems''
require ''open-uri''
require ''mechanize''
agent = Mechanize.new