Displaying 4 results from an estimated 4 matches for "_rows_".
Did you mean:
_row_
2011 Feb 02
1
set digits in xtable by row
Hello R-listers,
I am using xtable to create some LaTeX tables for me to Sweave into my
document. I am now trying to set the number of digits that will be
reported in several _rows_ in my table.
The 'digits' option in xtable() sets the number of digits to display for
specified columns. Am I missing another obvious option to do the same
thing for rows? A quick RSiteSearch didn't turn up anything. I can't
just flip the table sideways, but it looks goofy when I...
2002 Jan 25
1
Fw: Summary for Distance matrix by cosine?
...rogram
(attention: beginner).
Thanks for both answers! a. However, as far as I know the cosine is not the
same as the Pearson correlation (only in special cases).
b. Reid Huntsinger's hint was very useful, however I had to transpose the
matrix first, for I want to calculate the distance of the _rows_.
Regards,
Petra Steiner
#Funktion: Berechnung der Distanzmatrix mit dem Kosinus als Abstandsmass
library(Matrix)
normalize <- function(ma) {
# zunaechst werden die Zeilen der Matrix normalisiert
nreihe <- nrow(ma)
nspalte <- ncol(ma)
print(nspalte)
c <- matrix(NA, nre...
2011 May 11
1
mtext text size (cex) doesn't match plot
Hi,
I am using mtext instead of the ylab argument in some plots because i
want to move it away from the numbers in the axis. However, the text
in the X axis,
for example:
par(mar=c(5, 5.5, 4, 2));
plot(data, main="plot name", xlab= 'X axis', ylab="",
font=2, cex.lab=1.5, font.lab=2, cex.main=1.8);
mtext('Y axis', side=2, cex=1.5, line=4,
2008 Jul 21
5
Coefficients of Logistic Regression from bootstrap - how to get them?
...gn", and I also experimented
with function 'sm.binomial.bootstrap' from package "sm". I tried also
the function 'boot' from package "boot", though without success - in my
case it randomly selected _columns_ from my data frame, while I wanted
it to select _rows_.
Though the main point here is the optimized LR equation. I would
appreciate any help on how to extract the LR equation coefficients from
any of these bootstrap functions, in the same form as given by 'glm' or
'lrm'.
Many thanks in advance!
--
Michal J. Figurski
HUP, Patholog...