similar to: Two matrix loop

Displaying 20 results from an estimated 6000 matches similar to: "Two matrix loop"

2006 Dec 19
1
FerretDonors page added to wiki
Hey folks, I''ve just added a FerretDonors page to the Wiki (for those interested we have raised $3915 to date). Currently it just has a list of donors but I would like to add links for each donor to their personal and/or business websites. This is something I should have done a long time ago. I''d love to hear any suggestions as to how I can better recognize these
2005 Dec 24
2
Eleven??
I was poking around in the Gentoo Linux repository yesterday, trying to satisfy my curiosity about how many programming languages there are in "common use" today. I found one called "Eleven" which is quite strangely similar in intent to Rails. The home page is http://eleven.sourceforge.net/. Eleven is much simpler than Rails, and there are some interesting ideas in it. To
2006 Feb 16
2
simple association question
I have two models, Donor and Contribution, and have has_many and belongs_to set respectively. My question is regarding creation of associated objects. I''ll let the code speak: me = Donor.find(1) contribution = me.contributions.create do |e| e.amount = 164.00 e.category = Category.find(1) end I thought this was valid, but it doesn''t work properly - it appears to
2020 Apr 22
3
slow performance on company production server I need help
Hello Everyone, Since rebooting my Centos 6.10 Openvz server "daisy" yesterday, I am getting horrible system performance.? /var/log/messages is full of HDIO_GET_IDENTITY failed for /dev/sdb.? The latest entries look like this: Apr 22 08:51:32 daisy kernel: [141224.655699] CT: 1005: stopped Apr 22 08:55:04 daisy ata_id[21513]: HDIO_GET_IDENTITY failed for '/dev/sdb' Apr 22
2020 Apr 22
3
slow performance on company production server I need help
>> Hello Everyone, >> >> Since rebooting my Centos 6.10 Openvz server "daisy" yesterday, I am >> getting horrible system performance.? /var/log/messages is full of >> HDIO_GET_IDENTITY failed for /dev/sdb.? The latest entries look like >> this: >> >> Apr 22 08:51:32 daisy kernel: [141224.655699] CT: 1005: stopped >> Apr 22 08:55:04
2010 Jul 20
2
Problem with command apply
I try to utilize some operations on rows in a matrix using command 'apply' but find a problem. First I write a simple function to normalize a vector (ignore error handling) as follows: normalize = function( v ) { return( ( v-min(v) ) / ( max(v) - min(v) ) ) } The function works fine for a vector: > normalize( 1:5 ) [1] 0.00 0.25 0.50 0.75 1.00 Then I generate a matrix: > a =
2006 May 13
2
What does it mean to be "masked from data" when attaching? (Newbie question)
I have several data frames, each with six variables and several hundred cases broken out from a larger dataframe by eleven values of a factor called "Division". I have to perform the same analysis on each one. I would like to do it by creating a data frame called data2 eleven times, once with data corresponding to each value of the factor, and performing the same analysis on each of
2013 Jun 15
2
quick Help needed
Hi, i am new to this forum and not sure how it works, I am trying to do deskriptive descripe my data in terms of gender: head(scltotal) pbnr dat dep dys sop ago mis age female messpunkt2 messpunkt1 tage eintrittsjahr 1 10023 1994-02-21 0.75 1.00 0.50 0.50 0.75 35 1 8817 8817 0 1994 2 10023 1994-05-25 0.75 1.00 0.50 0.50 0.75 35 1 8910 8817
2009 Jan 21
1
X matrix deemed to be singular;
Hello, i'm tring to use a cox's model for a survival analysis. I have a dataset, this is a part: VOD SESSO fonte_sct donor RT_CGY STATOBMT TEMPO morto 1 0 F mid related 1200 CP 65 1 2 0 M mid 1200 2RC 5281 0 3 0 M mid unrelated 1200
2010 May 03
4
6 different games share 3 different bugs
Here is the situation. There are six different soccer games, developed by Konami, all straight ports from Playstation 2. These are the following: Pro Evolution Soccer 4 (http://appdb.winehq.org/objectManager.php?sClass=application&iId=2750) (PES4) Winning Eleven 8 (http://appdb.winehq.org/objectManager.php?sClass=application&iId=5152) (american version of PES4) Pro Evolution Soccer 5
2006 Aug 11
1
x tick labels - sparse?
Hi, I'm stuck on creating a plot with x tick labels for every Nth tick mark - how is that done? I don't see a simple solution to this in help(plot) or help(par) and what I've tried is not working, eg, the following does not work, although it seems intuitive to me that it should work: x <- seq(-100,1000,25) y <- x * x % find all the x values that are multiples of 100 tmp <-
2007 May 12
10
[Bug 10933] New: nouveau defaults to first graphics card in system even when xorg instructed differently
http://bugs.freedesktop.org/show_bug.cgi?id=10933 Summary: nouveau defaults to first graphics card in system even when xorg instructed differently Product: xorg Version: 7.2 Platform: Other OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau
2011 Jun 16
1
Specify ID variable in daisy{cluster}
Hi All - I am using the daisy function from the cluster library to create a dissimilarity matrix. I'm going to use that matrix to run a cluster analysis. My participants are identified with the variable, hhid. However, when I try to keep hhid in the dataset that I use to create the dissimilarity matrix, daisy uses it to create the matrix rather than ignoring it as an ID variable. I need to
2013 Feb 26
1
cutreeDynamic error
I am having difficulty getting the dynamic tree cut package to work. Given the data table "myddtable" LengthPlaceColorAge5HRed224ABlue205WGreen243GRed222GBlue236WGreen255ARed194H Blue23 I created a similarity matrix using DAISY and Gower metric and specified Place and Color columns as characters (since they are categorical variables) > dd.daisy<-daisy(myddtable, metric =
2003 May 21
1
cluster- binary data.
Hi! I am trying to calculate a dissimilarity matrix using daisy. The matrix vectver is binary as i test with: > levels(as.factor(vectver)) [1] "0" "1" But the call to daisy gives me the following error message.: > dfl1 <- daisy(vectver, type = list(asymm = c(1:length(vectver[,1])))) Error in daisy(vectver, type = list(asymm = c(1:length(vectver[, 1])))) : at least
2013 Dec 07
1
How to perform clustering without removing rows where NA is present in R
I have a data which contain some NA value in their elements. What I want to do is to **perform clustering without removing rows** where the NA is present. I understand that `gower` distance measure in `daisy` allow such situation. But why my code below doesn't work? __BEGIN__ # plot heat map with dendogram together. library("gplots") library("cluster")
2004 Aug 12
2
error using daisy() in library(cluster). Bug?
Hi, I'm using the cluster library to examine multivariate data. The data come from a connection to a postgres database, and I did a short R script to do the analisys. With the cluster version included in R1.8.0, daisy worked well for my data, but now, when I call daisy, I obtain the following messages: --------- Error in if (any(sx == 0)) { : missing value where TRUE/FALSE needed In
2003 Nov 11
1
cor
Greetings: It would seem to me that the three arguments "a", "c" and "p" ought to produce the same result with a data frame that doesn't have any missing data which is not the case. What am I doing wrong or what don't I understand? > tmp <- data.frame(vol,con,mot,esp,pri,sec) > tmp vol con mot esp pri sec 1 1.00 120 90 78 21 1 2 0.50
2013 May 27
1
Question about subsetting S4 object in ROCR
Dear list I'm testing a predictor and I produced nice performance plots with ROCR package utilizing the 3 standard command pred <- prediction(predictions, labels) perf <- performance(pred, measure = "tpr", x.measure = "fpr") plot(perf, col=rainbow(10)) The pred object and the perfo object are S4 with the following slots An object of class "performance"
2013 Dec 08
3
Why daisy() in cluster library failed to exclude NA when computing dissimilarity
Hi, According to daisy function from cluster documentation, it can compute dissimilarity when NA (missing) value(s) is present. http://stat.ethz.ch/R-manual/R-devel/library/cluster/html/daisy.html But why when I tried this code library(cluster) x <- c(1.115,NA,NA,0.971,NA) y <- c(NA,1.006,NA,NA,0.645) df <- as.data.frame(rbind(x,y)) daisy(df,metric="gower") It gave this