Displaying 7 results from an estimated 7 matches for "cij".
Did you mean:
ci
2007 Dec 12
2
problem applying a conditional formula to each element of a matrix
...and [3,2] are not zero
as I would expect. Clearly, there is an error... What am I doing
wrong? Thanks. --Dale
Warning message:
In if (h <= phi) { :
the condition has length > 1 and only the first element will be used
# function
Cov.f <- function(h, sigmasq, phi) {
if (h <= phi) {Cij <- sigmasq * (1 - ( 1.5 * (h/phi) - 0.5 *
(h/phi)^3)) } else
if (h > phi) {Cij <- 0}
return(Cij)
}
x.coord <- c(5.7, 6.7, 9.8)
y.coord <- c(42.7, 10.2, 77.4)
coords <- cbind(x.coord, y.coord)
distance.matrix <- as.matrix(dist(coords, method="euclidean"))...
2008 Sep 16
1
Car.proper C[] matrix
...would like to use R to create the C[] matrix required for a car.proper
model in WinBUGS, but I am having a difficult time negotiating the
coding. The C matrix provides normalized weights for each pair of
spatial areas. So the WinBUGS example is as follows:
# of the weight matrix with elements Cij. The first J1 elements of the
C[] vector contain the
# weights for the J1 neighbours of area i=1; the (J1+1) to J2 elements
of the C[] vector contain
# the weights for the J2 neighbours of area i=2; etc.
# To set up this vector, we need to define a variable cumsum, which
gives the values of J1,...
1999 Jun 09
1
smbtar cannot recognize space character in filename
...rgs} \
! -T${tarcmd}${tarargs} $blocksize $newer $tapefile '"$@"' $verbose
The "$@" is a feature of /bin/sh. (see sh(1))
But, is the "$@" a generic feature of /bin/sh? I don't know...
-- >8 -- signature -- >8 --
FROM : SATOH Fumiyasu <fumiya@cij.co.jp>
WEB : http://www.bento.ad.jp/~fumiya/
WEB(LAN): http://kumasun.si.ykhm.cij.co.jp/
SAMBA : http://samba.bento.ad.jp/
1999 Jun 04
2
Does mksmbpasswd.sh have any real purpose?
I see that mksmbpasswd.sh (plus a little editing) would
be a good way to set up users with "NO PASSWORD"
in bulk.
But suppose I don't want the risk of the "NO PASSWORD"
approach. Now somebody with root access must run
smbpasswd for each user they want to activate. But can't
I just do this anyway (with the -a 'add user' option), without
ever having run
1999 Aug 05
1
pairwise scatterplot matrix
...to draw a figure which both indicates the values of correlation coefficients and give the linear regressions of variables? Like this:
| X1 | C12 | C13 | C14 |
|X2 vs X1| X2 | C23 | C24 |
|X3 vs X1|X3 vs X2| X3 | C34 |
|X4 vs X1|X4 vs X2|X4 vs X3| X4 |
Cij indicate the value of the correlation coefficient for the linear regression of the variable i with the variable j. i=1...4, j=1...4
Xi vs Xj indicate a plot(Xi,Xj).
Have a nice day
Jorge.
--
+----------------------------------------------------------------------+
| Jorge Magalh?es...
2011 May 26
1
Divide matrix into multiple smaller matrices
...containing
yearly matrices. Now I would like to divide the matrices in c into multiple
matrices based on h. The number of matrices should be equal to:
length(unique(DF1$B))*length(h). So each unique value in DF1$B get's a
yearly matrix. Each matrix should contain all values from c where element
cij is 1. An example for DF1$B = 8025 in 1999:
8025 8026 8027
8025 0.00000000 0.27547644 0.06905066
8026 0.27547644 0.00000000 0.10499739
8027 0.06905066 0.10499739 0.00000000
Any ideas on how to tackle this problem? Thanks a lot!
library(zoo)
DF1 = data.frame(read.tab...
1999 Oct 20
2
Samba - Unix password sync
Hi,
in the last weeks I've unsuccessfully tried to get Samba (2.0.5a) -
Unix (Suse 6.2) password sync working. Maybe somebody can give me a
hint, what's wrong. Enclosed you'll find additional information.
Thank you for helping,
Johannes
--------
smb.conf:
passwd chat = *password* %n\n *password* %n\n *Password*
--------
password chat (manually):
homer:~ # /bin/passwd web
New