search for: _column_

Displaying 4 results from an estimated 4 matches for "_column_".

Did you mean: _columns_
2004 Sep 02
3
Problems with heatmap.2
...and how the _row_ dendrogram should be reordered. Either a 'dendrogram' or a vector of values used to reorder the row dendrogram or 'FALSE' to suppress reordering or by default, 'NULL', see _Details_ below. Colv: determines if and how the _column_ dendrogram should be reordered. Has the options as the 'Rowv' argument above and _additionally_ when 'x' is a square matrix, 'Colv = "Rowv"' means that columns should be treated identically to the rows. I have specifically set "...
2018 Nov 27
1
Subsetting row in single column matrix drops names in resulting vector
...re there is more than one column, and perhaps only testing that case. But of course there is usually no reason why one column (or even zero columns) is impossible. We want the program to still work in such cases. When there is more than one column, a[1,] and a[1,_] both produce a vector with the _column_ names attached, and this is certainly not going to change (nor should it, unless one wants to change the whole semantics of matrices so that rows and columns are treated non-symmetrically, and even then attaching the same row name to all the elements would be rather strange...). After v <- a[1,...
2012 Aug 21
2
Entering a table
I'm trying to enter a frequency table manually so that I can run a goodness of fit test (I only have the frequencies, I don't have the raw data). So for example, let's say I want to re-create the HorseKicks table: library(vcd) data(HorseKicks) str(HorseKicks) 'table' int [1:5(1d)] 109 65 22 3 1 - attr(*, "dimnames")=List of 1 ..$ nDeaths: chr [1:5]
2004 Oct 04
7
Strange Matrix Multiplication Behaviour
Hi there fellow R-users, Im seeing some strange behaviour when I multiply a vector by a matrix Here is my script: > tr 1 2 3 4 5 6 0.2217903 0.1560525 0.1487908 0.1671354 0.1590643 0.1471667 > > ex1 a b c d e f 1 0.2309579 -3.279045 -0.6694697 -1.1024404 0.2303928 -1.5527404 2