search for: a33

Displaying 20 results from an estimated 22 matches for "a33".

Did you mean: a3
2007 Nov 16
4
Permutation of a distance matrix
...s of a symmetrical matrix that represents ecological or actual distances between objects in space. The permutation is of the type used in a Mantel test. Specifically, the permutation has to accomplish something like this: Original matrix addresses: a11 a12 a13 a21 a22 a23 a31 a32 a33 Example permutation a22 a23 a21 a32 a33 a31 a12 a13 a11 that is relative positions of rows and columns are conserved in the permutation. Basically, I have been doing this in a "for" loop by (1) permuting the raw data vector using "sample", (2) generating a low...
2009 Jul 10
3
strange strsplit gsub problem 0 is this a bug or a string length limitation?
...imitation in R or is it a bug in the strsplit or gsub functions, or in my string? I'd very much appreciate any suggestions ============Input script: backtestFormula<-SPX~A1+A2+A3+A4+A5+A6+A7+A8+A9+A10+A11+A12+A13+A14+A15+A16+A17+A18+A19+A20+A21+A22+A23+A24+A25+A26+A27+A28+A29+A30+A31+A32+A33+A34+A35+A36+A37+A38+A39+A40+A41+A42+A43+A44+A45+A46+A47+A48+A49+A50+A51+A52+A53+A54+A55+A56+A57+A58+A59+A60+A61+A62+A63+A64+A65+A66+A67+A68+A69+A70+A71+A72+A73+A74+A75+A76+A77+A78+A79+A80+A81+A82+A83+A84+A85+A86+A87+A88+A89+A90+A91+A92+A93+A94+A95+A96+A97+A98+A99+A100+A101+A102+A103+A104+A105+A106+...
2016 Oct 11
2
Colapsar una matriz con NA en una única fila
...valor válido y el resto son NAs. También cada fila tiene un único valor válido. Quiero colapsar ese data frame en uno que tenga solamente una fila y todas las columnas. Intenté con loops, while, apply y otros parecidos pero no lo logro El ejemplo del data frame sería así: V1 V2 V3 a33 <NA> 10-04 <NA> <NA> <NA> <NA> d52725 <NA> <NA> <NA> <NA> Y quiero lograr algo así V1 V2 V3 a33 d52725 10-04 Mi script es así: Nombre.1<-colnames(df0) #df0 es el dataframe que obtengo c...
2012 Mar 28
6
How to get all possible combinations?
Dear all, suppose I have a vector with elements as: Vec <- c(2,3,4,5,6) Now I want to have all possible combination of length 3 using those elements and without any repetition. Like, I want to have 1 possibility like 2-3-4 but not 3-2-4. Can somebody guide me how to achieve that in R? Thanks for your help.
2004 Jul 03
1
solving for a 2D transformation matrix
...I want to use this subset of points to compute a best-fit transformation matrix so that the remaining points can be converted to world coordinates. The transformation matrix is (I think) of the form: [ x' ] [ a11 a12 a13 ] [ x ] | y' | = | a21 a22 a23 | | y | [ w' ] [ a31 a32 a33 ] [ w ] where: x,y = page coordinates x',y' = world coordinates a13 = translation of x a23 = translation of y a11 = scale * cos(theta) a12 = sin(theta) a21 = -sin(theta) a22 = scale * cos(theta) a31 = 0 a31 = 0 a33 = 1 w' = 1 w...
2016 Oct 11
3
Colapsar una matriz con NA en una única fila
...único valor válido. Quiero colapsar ese data frame en uno que tenga > > solamente una fila y todas las columnas. Intenté con loops, while, apply y > > otros parecidos pero no lo logro > > > > El ejemplo del data frame sería así: > > V1 V2 V3 > > a33 <NA> 10-04 > > <NA> <NA> <NA> > > <NA> d52725 <NA> > > <NA> <NA> <NA> > > > > Y quiero lograr algo así > > > > V1 V2 V3 > > a33 d52725 10-04 &gt...
2006 May 11
4
data input strategy - lots of csv files
...tot, eval(parse(text=paste("a", i, sep=""))), all=T) # eval(parse(text=paste("a",i,"[1] <- NULL",sep=""))) cat("i is ", i, gc(), "\n") # now delete these 63 temporary objects... # e.g. should look like rm(a33) eval(parse(text=paste("rm(a",i,")", sep=""))) } eventually getting a dataframe with the first column being the date, and the subsequent 63 columns being the data... with missing values coded as NA... so my question is... is there a better strategy for reading in...
2009 Feb 13
0
help with reshaping (no file attached)
MCI A1 A2 A13 A14 A23 A24 A33 A34 Grouped together 56766 N/A N/A N/A N/A N/A N/A N/A N/A N/A 6459 N/A N/A N/A N/A N/A N/A N/A N/A N/A...
2012 Nov 14
1
R wildcards, sapply and as.factor
I want to change the type to factor of all variables in a data frame whose names match a certain pattern. So here I am trying to change the type to factor of all variables whose name begins with?namestub?in the dataframe?df. attach(df)sapply(grep(glob2rx("namestub*"),names(df)),as.factor) But this doesn't work since >levels(df$namestub1)NULL
2008 Oct 26
0
orthographic projection of ellipsoids
...os(phi)*sin(psi) > a13 <- sin(psi)*sin(theta) > a21 <- -sin(psi)*cos(phi) - cos(theta)*sin(phi)*cos(psi) > a22 <- -sin(psi)*sin(phi) + cos(theta)*cos(phi)*cos(psi) > a23 <- cos(psi)*sin(theta) > a31 <- sin(theta)*sin(phi) > a32 <- -sin(theta)*cos(phi) > a33 <- cos(theta) > matrix(c(a11, a12, a13, a21, a22, a23, a31, a32, a33), ncol=3) > } > rotM3d() # I > > ellipsoid <- # idea borrowed from a post in the R-mailing list > (John Fox i think) > function(x=0, y=0, z=0, radius=1, shape=diag(c(10, 2, 2)),theta=0, > phi=0,...
2006 May 22
1
win2k memory problem with merge()'ing repeatedly (long email)
...,format=\"%d/%m/%Y\")",sep="") )) + } > > > # three files have three columns... #EDIT here again... to protect the innocent... > names(a3)[3] <- "2nd.column.name.in.file.3" > names(a32)[3] <- "2nd.column.name.in.file.32" > names(a33)[3] <- "2nd.column.name.in.file.33" > > # the rest only have two columns... > > names(a1)[2] <- "title.1" #EDIT > names(a63)[2] <- "title.63" > > for (i in 1:63) { + # now delete the now irrelevant initial date column for all 63 of the...
2005 Jun 14
1
Matrix stability problem
...o, This is not a problem with R, the calculated results are mathematically correct. This a matrix stability problem. Because of measuring errors, my matrix solution is a bit off. Here is what my equations look like: A11 x11+A12 x12 +A13 x13 = b1 A21 x21+A22 x21 +A23 x23 = b2 A31 x31+A32 x31 +A33 x33 = b3 A is a reading, X is a measured weight, and b is total. The 3 experiments give slightly different X values because of measurement errors. For reproducibility, here's my A, x and b matrices and vectors A <-matrix( c(0.03,0.02,0.04,0.01,0.015,0.03,-0.01,-0.02,0.03),3,3,byrow=TRUE) x...
2011 Jul 04
1
placing multiple rows in a single row
...A1 1 0 0 A2 0 0 1 A3 1 1 1 Josh A1 1 0 0 A2 A3 0 0 0 Preferably, the row identification would become the header of the new table, something like this: A11 A12 A13 A21 A22 A23 A31 A32 A33 John 1 0 1 1 1 1 1 0 0 Mary 1 0 1 0 0 1 1 1 0 Peter 1 0 0 0 0 1 1 1 1 Josh 1 0 0 0 0 0 Probably, this has been addressed before - I just don't know how to sea...
2010 Apr 13
1
Lapack, determinant, multivariate normal density, solution to linear system, C language
...e well-known formula b11*b22-b12*b21, where bij is the value in the i'th row and j'th column of the block. int i, q, info, *ipiv, one = 1; double *b, *A, *D, det; /* ** A and D are upper triangular matrices in packed storage ** A[] = a00, a01, a11, a02, a12, a22, a03, a13, a23, a33, ... ** use the following macro to address the element in the ** i'th row and j'th column for i <= j */ #define UMAT(i, j) (i + j * ( j + 1 ) / 2) /* ** additional code should be here ** - set q ** - allocate ipiv... ** - allocate and fill A and b... */ /* *...
2004 Nov 10
0
Legal sample rates
...ream_encoder_set_streamable_subset() http://flac.sourceforge.net/api/group__flac__seekable__stream__encoder.html#a9 you can get error messages in string form with FLAC__seekable_stream_encoder_get_resolved_state_string() http://flac.sourceforge.net/api/group__flac__seekable__stream__encoder.html#a33 this will drill down into the underlying layers if necessary. Josh __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com
2011 Mar 20
3
Comment ça marche?
Quelqu'un ici peut-il m,indiquer o? je peut avoir de l'information sur Winw en fran?ais? Comment faire pour faire fonctionner ce programme.On me dit sur le site de Linux Mint d'installer Wine mais ici je ne trouve aucune information. ?tes vous Tous anglophone????a n'a pas de sens qu'aucun francophone puisse se servir de ce programme. :? :? :?
2019 Oct 26
3
CentOS 8 and DELL 7540 Intel AX200 WIFI
...bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 [8086:a340] (rev f0) 00:1b.4 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 [8086:a32c] (rev f0) 00:1c.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #1 [8086:a338] (rev f0) 00:1c.5 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #6 [8086:a33d] (rev f0) 00:1c.6 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #7 [8086:a33e] (rev f0) 00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a30e] (rev 10)...
2009 Feb 06
0
RExcel waiting for OLE action
...APHS").Range("B240").Select Worksheets("GRAPHS").Range("B240").Clear Worksheets("GRAPHS").Pictures.Insert("C:\TEMP\pvalue_hist.jpg").Select Call Rinterface.GetArray("pred_output$quant_one", Range("ASYM_MAX_ANALYSIS!A33:A37")) Call Rinterface.GetArray("pred_output$quant_two", Range("ASYM_MAX_ANALYSIS!I33:I37")) Call Rinterface.GetArray("sd_output$sd_one", Range("ASYM_MAX_ANALYSIS!B33:B37")) Call Rinterface.GetArray("sd_output$sd_two", Range(&quo...
2004 Nov 10
4
Legal sample rates
Hi all, I'm trying to use the FLAC C libraries to encode audio. I'm doing something like: FLAC__seekable_stream_encoder_set_channels(pflac->fse, 1); FLAC__seekable_stream_encoder_set_sample_rate(pflac->fse, 11025); FLAC__seekable_stream_encoder_set_bits_per_sample(pflac->fse, 8); if ((bps = FLAC__seekable_stream_encoder_init(pflac->fse)) !=
2002 Feb 26
3
Matrix of Elements of Different Types (was Interfacing pre-existing C++ library from R)
--- Prof Brian D Ripley <ripley@stats.ox.ac.uk> wrote: >A matrix list? R lists are just vectors with elements of different types, >and R matrices are just vectors with a dimension attribute. When I saw the above I tried to create a matrix from a list but could not get it to work: my.lm <- lm( rnorm(10) ~ I(1:10) ) my.list <- list(1, 2, 3, 4, 5, 6, my.lm, my.lm, my.lm)