Displaying 20 results from an estimated 1000 matches similar to: "Re: matrix exponential: M0"
2004 Jan 23
0
Re: matrix __power__ (was "exponential")
Sorry I didn't answer before.
Martin, thanks very much for your notes and for tidying the function
up!
About matPower, I didn't realise that where it says "pot <- pot %*% p ot", consumption of memory was higer than it was on the original
algorithm,
And about the other function in this thread, matExp, I can remember I
us look to m
>Message: 27
2012 May 22
1
Adding Text to a Plot
Hi, all!
I'm pretty sure I'm missing something about this.
Is there a smart way of typping hat(R)^2 and it's value from a linear
regression?
I've just found this tricky one:
# Sample data
x <- sample(1:100,10)
y <- 2+3*x+rnorm(10)
# Run the regression
lm1 <- lm(y~x)
# Plotting
plot(x,y, main="Linear Regression", col="red")
2005 Aug 17
2
power of a matrix
Dear all,
I have a population with three age-classes, at time t=0 the population
is:
n.zero <- c(1,0,0)
I have a transition matrix A which denotes "fertility" and "survival":
A <- matrix(c(0,1,5, 0.3,0,0, 0,0.5,0), ncol=3, byrow=TRUE)
To obtain the population at t=1, I calculate:
A %*% n.zero
To obtain the population t=2, I calculate:
A %*% (A %*% n.zero)
... and so
2008 Aug 04
1
Emu48 under wine, misbehaves
Hello,
I installed Emu48 (emulator of HP48 and HP49 calculators) on Wine, but
unfortunately it misbehaves.
The "screen" of the emulated calculator shows strange colors (sometimes
yellow on white, sometimes a pale pink color, depends on selected "skin").
Any suggestions to fix the problem? This is wine 1.1.2 on Arch Linux.
Thanks!
--
Renan Birck ~ Santa Maria, RS, Brasil
2016 Oct 28
1
Disabled account can still connect to domain
Hello,
I receive the following warning in my logs
Account [HP48-PFD$] is disabled
[2016/10/28 14:40:36.973803, 1, pid=1272, effective(0, 0), real(0, 0)]
../source4/rpc_server/netlogon/dcerpc_netlogon.c:382(dcesrv_netr_ServerAuthenticate3)
It appears user accounts behave differently then computer accounts when
disabled. If I disable a user account via. ADUC, the user is not
permitted
2010 Aug 18
1
Plotting K-means clustering results on an MDS
Hello All,
I'm having some trouble figuring out what the clearest way to plot my
k-means clustering result on an my existing MDS.
First I performed MDS on my distance matrix (note: I performed k-means on
the MDS coordinates because applying a euclidean distance measure to my raw
data would have been inappropriate)
canto.MDS<-cmdscale(canto)
I then figured out what would be my optimum
2017 Oct 23
2
master/master replications v. 2.2.32
Hi, in the past I set up a master/master replication through TCP using
dovecot 2.2.10 on both servers and everything is running fine, I filter the
users to replicate using the iterate_query on file dovecot-sql.con.ext; now
I want to set up a new replication between two new servers running dovecot
2.2.32 but the replicator service tries to replicate every user on my
database even when the
2012 Jan 30
1
Quantum scalar i40 tape partitions
Hi All,
I have a Quantum scalar i40 tape library. I need to configure it to TWO tape partition libraries, e.g., library_a and library_b, so that each library has its own tape drive. Then connect this physical tape library to two different CentOS servers so that each server can see its own media changer and tape drive. I once had a successful configuration on one host but NOT on the other. One
2005 Feb 23
1
H-F corr.: covariance matrix for interaction effect
Hi,
I'm still not quite there with my H-F (G-G) correction code. I have it
working for the main effects, but I just can't figure out how to do it
for the effect interactions. The thing I really don't know (and can't
find anything about) is how to calculate the covariance matrix for the
interaction between the two (or even n) main factors.
I've looked through some books
2005 Feb 23
1
H-F corr.: covariance matrix for interaction effect
Hi,
I'm still not quite there with my H-F (G-G) correction code. I have it
working for the main effects, but I just can't figure out how to do it
for the effect interactions. The thing I really don't know (and can't
find anything about) is how to calculate the covariance matrix for the
interaction between the two (or even n) main factors.
I've looked through some books
2012 May 15
0
How to apply a function to a multidimensional array, based on its indices
Hello,
Your way is much better than to mess with the dim attribute, like I did.
But,
"If you can create a data.frame or matrix that has the indices"
Actually, it must be a matrix, indices can't be of type list.
A way to avoid loops/apply altogether, and much faster, is the one
creating K3
(K is the result from the op.)
n <- 20
t2 <- system.time({
K2 <-
2004 Nov 25
4
Avoiding for-loops
Hello R-users,
I have a symmetric matrix of numerical values and I
want to obtain those values in the upper or lower
triangle of the matrix in a vector. I tried to do the
job by using two for-loops but it doens't seem to be a
clever way, and I'd like to know a more efficient code
for a large matrix of thousands of rows and columns.
Below is my code for your reference.
Thanks a lot.
2012 Feb 15
6
extraer datos de un dataframe a partir de un factor
Hola eRReros,
Necesito extraer datos de un dataframe según uno de los factores.
La cosa sería algo así:
df.nuevo <- iris[iris$Species=="setosa"|iris$Species=="virginica",]
Que me crea un df nuevo solo con las filas en que Species es setosa o
virginica.
El problema es que mi factor de interés tiene 22 niveles y a veces he de
seleccionar 13, 10, 8 niveles o números así.
2006 Aug 23
2
0.99.14-1.1.el3 vs 1.0-0_20.rc7.el3
Hello all,
I am new to the list so bear with me.
I am testing dovecot out on a test server running RHEL ES 3, I have
installed 0.99.14-1.1.el3 and 1.0-0_20.rc7.el3. This server is using
the mbox mailbox format, running sendmail, procmail, and using PAM to do
authentication to an LDAP server. I get varying results between the two
version.
0.99.14-1.1.el3 :
Upon installing this I leave
2010 Nov 07
1
How do I order xyplot line points?
I have the following xyplot figure:
http://img577.imageshack.us/img577/686/filesizeresults12000000.png
The data are organized in a matrix file as follows:
Type Elements Chromosome Time
bedGz 12000000 chr1 14.240
bedGz 12000000 chr2 7.949
bedGz 12000000 chr3 5.103
bedGz 12000000 chr4 5.290
bedGz 12000000 chr5 5.161
...
The x-axis labels in the Chromosome column are ordered
2013 Jun 14
1
IMAP MOVE and lazy_expunge_only_last_instance
Hello!
im testing lazy_expunge_only_last_instance here and it seems it works wrong
with IMAP MOVE
IN:
14 uid move 13 "INBOX"
OUT:
* OK [COPYUID 1188569061 13 34] Moved UIDs.
* 5 EXPUNGE
14 OK Move completed.
dovecot.log:
2013-06-14 10:56:06 imap(test13 at mtx.ru): Info: copy from Test: box=INBOX,
uid=34, msgid=<1294858169.32435.3.camel at int.office.matrix>, size=996,
2007 Nov 16
1
Efficient way to compute power of a sparse matrix
Dear all,
I would like to compute power of a square non symmetric matrix. This is
a part of a simulation study. Matrices are quite large (e.g., 900 by
900), and contains many 0 (more than 99 %). I have try the function
mtx.exp of the Biodem package:
library(Biodem)
m <- matrix(0, 900, 900)
i <- sample(1:900, 3000, replace = T)
j <- sample(1:900, 3000, replace = T)
for(x in 1:3000)
2011 Jan 26
0
Fwd: MAtrix addressing
Begin forwarded message:
> From: David Winsemius <dwinsemius at comcast.net>
> Date: January 26, 2011 8:32:30 AM EST
> To: Alaios <alaios at yahoo.com>
> Subject: Re: [R] MAtrix addressing
>
>
> On Jan 26, 2011, at 7:58 AM, Alaios wrote:
>
>> Unfortunately right now is convoluted... by I was trying to find
>> some solution.
>> Bring again
2012 Jun 04
2
paquete SPEI función thornthwaite
Hola eRReros.
Os lo explico con un ejemplo:
# Cargamos los paquetes y el ejemplo
install.packages("SPEI")
library("SPEI")
data(wichita)
# los primeros 12 datos
head(wichita,12)
# mi subset de los primeros 12 datos
meu<-wichita[c(1:12),]
meu
# como veis los valores de TMED son iguales en ambos dataframes.
# ahora viene el problema
# calculamos
2005 Feb 18
1
Two-factorial Huynh-Feldt-Test
Hi,
I'm currently working on porting some SAS scripts to R, and hence need
to do the same calculation (and get the same results) as SAS in order to
make the transition easier for users of the script.
In the script, I'm dealing with a two-factorial repeated-measures anova.
I'll try to give you a short overview of the setup:
- two between-cell factors: facBetweenROI (numbering