search for: dfrow

Displaying 3 results from an estimated 3 matches for "dfrow".

Did you mean: mfrow
2005 Aug 12
1
access assigned objects
Dear list, I am trying to write a function that will make a matrix of each row of a data frame (4 columns), calculate a fisher.test on each resulting matrix and assign a vector of the p-values. I have gotten through making the matrices, but cannot calculate the fisher.test. fm<-function(x) {dfrow<-nrow(x) mm <- vector("list", dfrow) for(i in 1:dfrow) mm[[i]] <- matrix(x[i,],nr=2) } I don't know how to access each mm[[i]] as everything I've tried gives me the error that "Error in fisher.test(mm[[i]]) : all entries of x must be nonnegative and finite&...
2010 May 08
1
Plotting Help
Hi - Wondering if someone could help me with a plotting problem. I looked through the postings for this error message but the explanations are hard to follow. Basically I have matrix of 80 rows and 101 columns. I would like to generated a line graph that has 80 plots, one for each row, with the first number in that row equal to y (response) and the remaining numbers equal to the Xs. Response
2020 May 13
7
justify hard coded in format.ftable
Dear all, I haven't received any feedback so far on my proposal to make "justify" argument available in stats:::format.ftable Is this list the appropriate place for this kind of proposal? I hope this follow-up to my message won't be taken as rude. Of course it's not meant to be, but I'm not used to the R mailing lists... Thank you in advance for your comments, Best,