Displaying 9 results from an estimated 9 matches for "prmatrix".
Did you mean:
rmatrix
2003 Jan 30
2
print.default and attributes
When something gets printed by the "print.default" function, any extra
attributes are printed without regard to their class attribute (if any). For
example:
> x <- 1:3
> attr( x, 'other') <- factor( c( 'cat', 'dog'))
> attr( x, 'other')
[1] cat dog
Levels: cat dog
> x
[1] 1 2 3
attr(,"other")
[1] 1 2
which is perhaps
2005 Mar 02
2
Suppressing observation numbers
Dear R gurus,
Below is a part of the R output. Please consider the two lines:
> data
> model.matrix(m1)
Is there a way of suppressing the observation numbers 1, 2, ...27 in the
output (I don't want these number to appear in the output)?
Regards,
NKN
> # Orthogonal blocking
> data=read.table("cut.txt",header=T)
> attach(data)
> data
b x1 x2 x3
1 1 -1 -1 0
2
2005 Jun 26
1
better code?
...> 16 01/29/05 -0.07834782 0.99454434
> 17 01/29/05 0.12845272 0.09605443
> 18 01/29/05 -0.44926053 1.48959860
> 19 01/29/05 -0.07033900 2.50253296
>
>> for(i in 1:5) {
>
> + yy <- x1.df$d == u3[i]
> + zz <- cov(x1.df[yy,2:3])
> + print(dates(u3[i]))
> + prmatrix(zz)
> + }
> [1] 01/01/05
> x y
> x 1.272688 -0.783719
> y -0.783719 0.884866
> [1] 01/08/05
> x y
> x 1.4893139 0.2845754
> y 0.2845754 0.6273839
> [1] 01/15/05
> x y
> x 0.9992097 0.8719848
> y 0.8719848 0....
2003 Apr 16
2
R-1.7.0 is released
...than
units: use prcomp() instead.
o princomp.formula() now has principal argument `formula', so
update() can be used.
o Printing an object with attributes now dispatches on the
class(es) of the attributes. See ?print.default for the fine
print. (PR#2506)
o print.matrix() and prmatrix() are now separate functions.
prmatrix() is the old S-compatible function, and
print.matrix() is a proper print method, currently identical
to print.default(). prmatrix() and the old print.matrix()
did not print attributes of a matrix, but the new print.matrix()
does.
o print.summary.{lm...
2003 Apr 16
2
R-1.7.0 is released
...than
units: use prcomp() instead.
o princomp.formula() now has principal argument `formula', so
update() can be used.
o Printing an object with attributes now dispatches on the
class(es) of the attributes. See ?print.default for the fine
print. (PR#2506)
o print.matrix() and prmatrix() are now separate functions.
prmatrix() is the old S-compatible function, and
print.matrix() is a proper print method, currently identical
to print.default(). prmatrix() and the old print.matrix()
did not print attributes of a matrix, but the new print.matrix()
does.
o print.summary.{lm...
2003 Mar 06
1
Suppressing row labels.
Very often when I print a data frame (particularly when sink()-ing to
a file I do NOT want the row labels (which are in such cases usually
1, 2, ... nrow(x), where x is the data frame in question). I can of
course edit these out ``by hand'', but that's a bit of a pain in the
pohutukawa.
I recently discovered (reading the help on print.data.frame
meticulously, and following it through
2003 Mar 06
1
Suppressing row labels.
Very often when I print a data frame (particularly when sink()-ing to
a file I do NOT want the row labels (which are in such cases usually
1, 2, ... nrow(x), where x is the data frame in question). I can of
course edit these out ``by hand'', but that's a bit of a pain in the
pohutukawa.
I recently discovered (reading the help on print.data.frame
meticulously, and following it through
2007 Apr 17
3
Extracting approximate Wald test (Chisq) from coxph(..frailty)
Dear List,
How do I extract the approximate Wald test for the
frailty (in the following example 17.89 value)?
What about the P-values, other Chisq, DF, se(coef) and
se2? How can they be extracted?
######################################################>
kfitm1
Call:
coxph(formula = Surv(time, status) ~ age + sex +
disease + frailty(id,
dist = "gauss"), data = kidney)
2005 Aug 12
3
Dating Objects
Hi
I know this subject has been mentioned before but from the mail archives
I'm under the impression that this is not possible ?
I'm trying to carryout the equivalent of ls -l in R to give some
date/time label to each of my objects
If the case is that there is no equivalent, is it possible to list all
objects in an environment that share a common component ?
So that the common