similar to: triangular matrix

Displaying 20 results from an estimated 1000 matches similar to: "triangular matrix"

2000 Nov 05
3
glm
Hi to all, So I'm also a new user. I downloaded the program last week and I think it's great. Thanks to those who have developed R. I have a special interest in GLM as a tool to describe fisheries and its variables and I'm just begging to study it. As I could understand there's two types of GLM sun of squares: in "type I" the factors are added in sequence and
2003 Sep 19
3
Locate first index
Hi, all. I'd like to know if exists a manner to get the first index where a condition is attained in a vector. For example, There is a better solution than first.index <- table(subject[corretor==27])[1] (give me the subject for the first time that corretor is 27)? Thanks, ======================================== Cezar Freitas (ICQ 109128967) IMECC - UNICAMP Campinas, SP - Brasil
1999 Jun 08
1
inverse.gaussian, nbinom
Two questions: 1. inverse.gaussian is up there as one of the glm families, but do people ever use it? There is no inverse.gaussian in the R distribution family, and when I checked McCullagh & Nelder, it only appeared twice in the book (according to subject index), once in the table on p. 30 and once on p. 38 in a passing sentence. Is there a good reference on this distribution? 2. When I
2013 Oct 28
1
Unable to provision VM attaching it directly to a OVS bridge
Reposting from virt-tools mailing list: Hi! I'm facing a problem that could be triggered by some lacking of support from libvirt on Open vSwitch (or could be my mistake). I have interests in researching on virtual networks and SDN. To keep things simple, I've decided to use libvirt/virt-tools to manage VM's since my focus is on the network, instead of using a full feature system
2003 Feb 03
1
Problems with table
Hi, I'm having difficulties in the manipulation of the function table. Necessary to have access its elements and I am not obtaining. For example, if I have a data.frame with name "df" and make: t < - data.frame(table(df)) and later trying to make a comparison of the type t[1,1 ] < 0.1, generates an error of the type: [1] NA Warning message: "<" not meaningful for
2003 Feb 04
1
Background color of plot
I'm using the parameters "mfrow" and "mfg" to display some graphics(plots) at the same time. Although, because of the parameter "mfg", the parameter "bg" don´t change the background color. What can I do to solve this? Here is the code I'm using... ... i <- 1 for(j in 1:4){ for(k in 1:2){ limiares <-
1999 May 13
2
R under Red Hat Linux 6.0
I have just upgraded from Red Hat Linux 5.2 to version 6.0 (with GNOME) on an intel box. I have also upgraded to the latest R version (0.64.1-2 rpm) and have also installed the corresponding GNOME rpm. However, I am not able to start R: [cribari at edgeworth install]$ R /usr/lib/R/bin/R.binary: error in loading shared libraries: /usr/lib/R/bin/R.binary: undefined symbol: __setfpucw [cribari at
2003 Aug 06
2
evaluating and walking in names
Hi, all. Suppose I have an object with names (like a data.frame) and I want to walk in a loop with your names. How can I do this? The idea is like this: my.data<-data.frame(matrix(runif(6),ncol=2)) names(my.data) [1] "X1" "X2" for(i in names(my.data)){ my.variable <- cat(paste("my.data$", i, "\n", sep="")) print(mean(my.variable)) } #it
2002 Mar 18
4
Plot 3d
There exists a plot 3d functions (or similar) in R? Thanks, ======================================== Cezar Freitas (ICQ 109128967) IMECC - UNICAMP Campinas, SP - Brasil -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe"
2009 Jun 26
5
(performance) time in Windows vs Linux
Hi, all. I began to migrate my R codes from Windows to Linux and surprised me with an old question. I simplified the problem and made a little test to compare times at same computer and the Linux time is worse (not so little) than Windows time: 28 vs 53 seconds. I make an example (below) to facilitate all to see the difference. I also build from source (it's my first time) a version of R to
2000 Sep 22
3
[?] RPM install problems (Linux)
When I try to install the R RPM under Mandrake Linux 7.1 (intel), I get the following error: [root at edgeworth programs]# rpm -ivh R-base-1.1.1-1.i386.rpm error: failed dependencies: libreadline.so.3 is needed by R-base-1.1.1-1 [root at edgeworth programs]# I do have realine installed: [root at edgeworth programs]# rpm -qa | grep readline readline-4.1-4mdk and
2011 Apr 06
1
Error in match.names(clabs, names(xi))
Hi Guys, I have this part of a program: library(survival) Gastric <- cbind.data.frame(Gp=c(rep(1,45),rep(0,45)), ### 2nd gp 0 time=c(1,63,105,129,182,216,250,262,301,301,342,354,356,358, 380,383, 383,388,394,408,460,489,499,523,524,535,562,569,675,676, 748,778,786,797,955,968,1000,1245,1271,1420,1551,1694,2363,2754,2950,
2010 Aug 13
2
Kalman filter
Dear All, Could anyone?give me a hand?to suggest few packages in R to running Kalman prediction and filtration ? Thanks Fir
2003 Jan 30
2
Validation of clustering
Hi, I'm using the library cluster to cluster a set of figures (method CLARA). Somebody that it work with clustering would know informs what I make to evaluate the clustering? Tks VM, Francisco. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Francisco Júnior, Computer Science - UFPE-Brazil "One life has more value that the world whole" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2012 May 21
1
Changing selected elements of an array
Hi! I have a matrix defined on geographical positions (through) row and column names. I need to change a number of elements in this matrix using the information of a data.frame containing geographical positions and a number of variables. Changing the value of one specific element is easy, but changing on a number of selected positions seems more difficult. When I use the geographical
2003 Jan 22
1
Performance
Hello, I'm applying an arithmetical function the color (R,G,B) of each pixel of a figure and it's very slow. This is common? Other thing, are there some library to make modification in figures, eg, to alter size? If not, somebody knows some software that makes this, or either, to resize figures automatically, therefore I go to need to apply to a bank. Tks, Francisco.
2003 Feb 08
3
Find strings in a array
I need to know which strings of an array that are in another array. What a best solution? Tks, Francisco. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Francisco Júnior, Computer Science - UFPE-Brazil "One life has more value that the world whole" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2007 Jul 31
1
A complicated 'aggregate'
Hi, I have a financial (zoo) time series with prices and volumes (although I can get the coredata as a matrix). Due to the data-source some indices have multiple observations. I want to aggregate these according to a weighted average. 11:00:01 34 1000 11:00:01 35 500 11:00:01 35 1000 11:00:02 34 500 11:00:02 35 500 should become 11:00:01 34.6 2500 11:00:02 34.5 1000 I currently do this
2009 Dec 03
2
adding bmp/jpg/gif to an existing plot
Hi, all. I searched a lot at mailing list, installed EBImage and gtk packages, but I couldn't make this simple work: How to add a image file (jpg or bmp ou gif) to an existing plot window (not plot over the image), like the code below (pseudo function add.image): plot(1:10,1:10,main="test") image = read.X("myimage.jpg") add.image(image, x.left=2, y.bottom=4,
2008 Oct 01
3
"tapply versus by" in function with more than 1 arguments
Hi. I searched the list and didn't found nothing similar to this. I simplified my example like below: #I need calculate correlation (for example) between 2 columns classified by a third one at a data.frame, like below: #number of rows nr = 10 #the third column is to enforce that I need correlation on two variables only dataf =