Displaying 1 result from an estimated 1 matches for "tanm".
Did you mean:
tam
2011 Oct 19
1
list of operations that preserve attributes
...and special
functions do so.
rm(list=ls())
m<-matrix(1:4,nrow=2, ncol=2)
print(m)
attributes(m)
attr(m,"check")<-"***"
attributes(m)
bigm<-10*m
str(bigm)
bigm1<-diag(c(1,1))%*%m
str(bigm1)
bigm1<-c(1,2)*m
str(bigm1)
print(bigm1)
arraym<-as.array(m)
str(arraym)
tanm<-tan(m)
str(tanm)
Best,
John Nash