similar to: functions pandit and treebase in the package apTreeshape

Displaying 20 results from an estimated 400 matches similar to: "functions pandit and treebase in the package apTreeshape"

2009 Jun 09
2
Sweave and accents
Hello. I want to write my notes in Sweave in my own language (spanish). But my language has accents and when I run Sweave in R to translate my Snw file into the tex file the accents are translated into unrecognizable characters. For example, the word "cami?n" (truck) is translated into "cami??n" Somebody knows how can I do it? One solution I don't like is using a
2011 Nov 11
1
Jordan Form of a matrix
Hello. Is it possible to find the Jordan Form of a matrix with R? Arnau. ------------------------------------------------------------ Arnau Mir Torres Edifici A. Turmeda Campus UIB Ctra. Valldemossa, km. 7,5 07122 Palma de Mca. tel: (+34) 971172987 fax: (+34) 971173003 email: arnau.mir at uib.es URL: http://dmi.uib.es/~arnau
2010 Jun 02
1
compute the associate vector of distances between leaves in a binary non-rooted tree
Hello. I'd like to compute the associate vector of distances between leaves in a binary non-rooted tree. The definition of a distance between two leaves in a binary non-rooted tree is the number of edges in the path joining the two leaves. I've tried the ape package but I'm unable to find this vector. For example, using rtree(5,rooted=F) I've obtained the following tree: $edge
2011 Nov 14
2
How to compute eigenvectors and eigenvalues?
Hello. Consider the following matrix: mp <- matrix(c(0,1/4,1/4,3/4,0,1/4,1/4,3/4,1/2),3,3,byrow=T) > mp [,1] [,2] [,3] [1,] 0.00 0.25 0.25 [2,] 0.75 0.00 0.25 [3,] 0.25 0.75 0.50 The eigenvectors of the previous matrix are 1, 0.25 and 0.25 and it is not a diagonalizable matrix. When you try to find the eigenvalues and eigenvectors with R, R responses: > eigen(mp) $values [1]
2008 Oct 14
2
help about how can R compute AIC?
Hello. I need to know how can R compute AIC when I study a regression model? For example, if I use these data: growth tannin 1 12 0 2 10 1 3 8 2 4 11 3 5 6 4 6 7 5 7 2 6 8 3 7 9 3 8 and I do model <- lm (growth ~ tannin) AIC(model) R responses: 38.75990 I know the following formula to compute AIC: AIC=
2011 Nov 14
0
Fwd: How to compute eigenvectors and eigenvalues?
Inicio del mensaje reenviado: > De: Arnau Mir <arnau.mir@uib.es> > Fecha: 14 de noviembre de 2011 13:24:31 GMT+01:00 > Para: Martin Maechler <maechler@stat.math.ethz.ch> > Asunto: Re: [R] How to compute eigenvectors and eigenvalues? > > Sorry, but I can't explain very well. > > > The matrix 4*mp is: > > 4*mp > [,1] [,2] [,3] > [1,]
2011 Feb 16
1
ExpertFit
Hello. Somebody knows if there exists some R package that it is capable of doing the same of the software ExpertFit (see http://www.averill-law.com/ExpertFit-distribution-fitting-software.htm)? Thanks, Arnau. ------------------------------------------------------------ Arnau Mir Torres Edifici A. Turmeda Campus UIB Ctra. Valldemossa, km. 7,5 07122 Palma de Mca. tel: (+34) 971172987 fax: (+34)
2010 Dec 09
1
How does Sweave write to a file?
Hello. I need that Sweave writes R output to a file. To do it, I put the following into the foo.Rnw file: \documentclass{article} \usepackage{Sweave} \begin{document} ... <<echo=F>>= x <- rnorm(100) y <- rnorm(100) sink("foo.txt") summary(lm(y~x)) sink() @ ... \end{document} When I run: R CMD Sweave foo.Rnw R responses: Warning message: In sink() : no sink
2006 Aug 16
1
help about agnes
Hello. I have the following distance matrix between 8 points: [1,] 0.000000 3.162278 7.280110 8.544004 7.071068 9.899495 6.403124 8.062258 [2,] 3.162278 0.000000 5.000000 6.403124 4.472136 8.944272 6.082763 8.062258 [3,] 7.280110 5.000000 0.000000 1.414214 1.000000 5.000000 4.242641 5.830952 [4,] 8.544004 6.403124 1.414214 0.000000 2.236068 4.123106 4.472136 5.656854 [5,] 7.071068 4.472136
2008 Oct 29
7
Package and log in puppet
Hi all, my name is Arnau Bria and I''m a sys admin in a center where we must deal with hundred hosts. We''re currently working with quattor, but it''s too complex for our purposes, so I''m looking for new admin tool. I''ve been playing with CFengine for few days (2 or 3) and I''ve seen some limitations that makes me thing that CFE is not our
2011 Oct 26
5
rpm packages for el4
Hi all, anyone has created the rpm packages of new versions for el4? only 5/6 at http://yum.puppetlabs.com/el/ TIA, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For
2008 Jul 05
5
help about random generation of a Normal distribution of several variables
Hello. Somebody knows how can I generate a set of n random vectors of a normal distribution of several variables? For example, I want to generate n=100 random vectors of two dimensions for a normal with mean c(0,1) and variance matrix: matrix(c(2,1,1,3),2,2). Thanks in advance, Arnau.
2010 Dec 21
5
lsbmajdistrelease fact
Hi all, I''ve noticed that facter version superior from epel do not display lsbmajdistrelease fact: # facter lsbmajdistrelease 5 # rpm -qa|grep facter facter-1.5.5-1.el5 # cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga) # facter lsbmajdistrelease # cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga) # rpm -qa|grep facter
2007 Jan 26
1
Package for phylogenetic tree analyses
Hi I am looking for a package that 1. reads in a phylogenetic tree in NEXUS format 2. given two members/nodes on the tree, can return the distance between the two using the tree. I came across the following packages on CRAN ouch, ape, apTreeShape, phylgr all of which seem to provide extensive range of functions for reading in a Nexus-format tree and performing phylogenetic analyses, tree
2006 Mar 15
2
create a list of vectors
Hello. I want to create a list of vectors but each component of the list has a different length. For example: Example=list() Example=list(Example,c(1,2,3)) Example=list(Example,c(11,12,13,14,15)) If I want the first component of the Example list, I have to write: Example[[1]][[2]]. R responses 1 2 3 The second component: Example[[2]]: 11 12 13 14 15 If I iterate the previous example,
2010 Dec 15
3
File type: no success using array
Hi all, from http://docs.puppetlabs.com/guides/language_tutorial.html this syntax should be ok: file { [ ''foo'', ''bar'', ''foobar'' ]: owner => root, group => root, mode => 600, } I''ve this in my code: file { [ ''/software/atlas'' , ''/software/cms'' ,
2006 Mar 12
1
how to load files from a directory?
Hello. I have a lot of files that contain tables of data in a directory. I want to do the following in R but I don't know how: for i in 1 to the number of files { table[i]=read.table(file="file i") } The dimension of each table is different. All of these are tables of two dimensions. My first problem is to put all the file names in a table. Next, how I can load them using the
2006 Jul 09
2
distance in kmeans algorithm?
Hello. Is it possible to choose the distance in the kmeans algorithm? I have m vectors of n components and I want to cluster them using kmeans algorithm but I want to use the Mahalanobis distance or another distance. How can I do it in R? If I use kmeans, I have no option to choose the distance. Thanks in advance, Arnau.
2006 Mar 14
2
name of the graphics output
Hello. In the file list.txt, I have the name of n files in data frame format. I want to make an image for each file and save the images in pdf format. To do this, I do the following: llista = scan(file="list.txt",what=list(nom="")) for (file.name in llista[[1]]){ aux=read.table(file=file.name) aux=as.matrix(aux) pdf() image(aux)
2009 May 16
2
Speex seek with high precision
Hello Conrad, I'm trying to seek the way you told but I'm facing a problem. ogg_page_packets returns 164 and following code returns 189. Shouldn't it be the same, what does that means ? int res; while (true) { res = ogg_stream_packetout(&os, &op); if (res == 1) nPackets++; if (res == -1)