search for: 7x7

Displaying 10 results from an estimated 10 matches for "7x7".

Did you mean: 77
2005 Apr 20
3
Keeping factors with zero occurrences in "table" output
Dear R group, I have a data frame which contains data on preferences on 7 items (ranks 1 through 7) listed by each participant. I would like to tabulate this in a 7x7 table where the rows would be the items and the columns would be the number of times that item received a particular rank. I tried doing this by creating a matrix by "rbind"ing each vector obtained using "table" on each item. This, however, does not work because there are...
2012 Mar 14
2
Using the mantel test in Ape Package
Hi, I am trying to use a mantel test on two distance matrices. The code I have entered for each is: Gen_dists <- read.csv(file.choose(), stringsAsFactors = FALSE, na.strings = c(" "), fill = T,
2003 Jul 27
1
Drawing boxplots in pairs function
I tried the following command to produce boxplot of diagonals in pairs function: > pairs(t1.5,diag.panel=boxplot) Error in pairs.default(t1.5, diag.panel = boxplot) : The panel function made a new plot The graphics device draws two graphs, one with a rectangle at (1,1) in 7x7 layout and the other with boxplot(t1.5$wind) at (1,2). pairs function help file has a similar example with hist function but I am stuck with producing boxplot version. Thanks for your time and reply in advance. The below is t1.5 data from Applied Multivariate Statistical Analysis 5th, Johnson an...
2004 Oct 13
2
diagonal matrix construction
Hi, I have worked long and hard and looked in the manuals and am having a hard time constructing a diagonal matrix. I can get the diagonals out of a matrix but can't construct the matrix with just the diagonals. I have been on the web site and manuals and I think that it says to use: dsj <- diag (three = 1, nrow, ncol = 7) three is the name of my matrix and
2010 Nov 10
1
plotting histograms/density plots in a triangular layout?
...f the values I get. Now, I can plot one histogram per comparison, but I have problems getting the output I want. When plotting like I normally would do: histogram(~percid | orgA_orgB, data = alldata) I get the histograms next to eachother in a boxlike shape. However, since these are pairwise ( 7x7 ) I would like to have them placed in a triangular shape, like this: 1 x 2 x x 3 x x x 1 3 3 where the Xes represent where I want plots, and the 1,2,3 represent the legends. I have seen similar plots done by R, so I know it is possible, but the question is how :D TIA, Karin -- Karin Lage...
2011 May 05
3
cross-correlation table with subscript or superscript to indicate significant differences
Hi, I wonder whether the following is possible with R, and whether anyone has done that and can share his/her code with me. I have a correlation matrix, and I want to create a correlation table that I can copy to Microsoft Word with a superscript above each correlation, indicating significant differences in the same row. That is, when correlations in the same row do not share superscript, it means
2002 Feb 22
1
Weekdays
Hello, I'm trying to write a function that returns the number of weekdays between a vector of start dates and a vector of end dates. Subtracting the 2 times the number of whole weeks is the easy part and works if the number of days is a multiple of 7. However, the number of weekend days in the tail is a little harder. It depends on both the start date of the tail and the number of days in
2012 Jul 08
1
Data Simulation
Hi, I have great difficulty in simulation the a dataset based in a loading matrix [c(1,1,1,2,3,3,3,4,4,3,2,2,1,1), 7, 2) and an error covariance matrix is 2*I. I have to simulate a dataset with 7 variables and 50 rows. I search a lot and did find some information on this, for example, using rmvnorm(). But I could do it. Please help! -- View this message in context:
2009 Aug 17
3
Graphical Parameters
Hi Sir How can I change plot size, figure size and device size? The examples availble for par() function are not very helpful. Would you please give a very simple example? Best Regards _________________________________________________________________ Show them the way! Add maps and directions to your party invites. [[alternative HTML version deleted]]
2010 Mar 12
3
defining columns in a matrix
Hi all, I have the following 7 x 7 matrix. ?I am trying to figure out how to label the columns to something more descriptive other than [,1], [,2], etc. I have tried the c(x,y,z,) function, but I get a error returned stating that my vectors need to be the same length. Do I need to convert this to something else such as a list and then repack it? Thanks, Kindra ?? ? ? ? Volume Time ? ? ? ?[,1]