Displaying 20 results from an estimated 80 matches for "a13".
Did you mean:
13
2009 Dec 17
1
CORRECTION - Generation of Random numbers in a loop
Dear R helpers, please ignore my earlier mail. Here is the corrected mail. Please forgive me for the lapses on my part. Extremely sorry.
Here is the corrected mail.
Dear R helpers
I am having following data
Name Numbers
A11 12
A12 17
A13 0
A11 11
A12 6
A13 0
A11 8
A12 4
A13 3
CONDITIONS
If Name is A11, min_val = 1.05, max_val = 1.30
If Name is A12, min_val = 1.30, max_val = 1.60
If Name is A13, min_va...
2008 Jan 20
3
Logical test and look up table
Dear R users,
I have a data frame with one column (4000 rows) containing name codes
(factor with 63 levels). I would like to associate each name with a
particular Type (coded as 1,2,3,4,H or H1) in a second column. Is it
possible to do a lookup table of associations (i.e. A23 is of type 1, A13
is of type 3 ...) so as to fill up automatically the $Type column.
df()
$Source $Type
A23
A24
A9
A32
A25
A14
A10
A12
A11
A13
G
Alternative solutions are also welcome.
Thanks in advance
P.S. I found a discussion mentioning match() and %in% but it does not seem
adapted.
--
Nikola Markov
Inse...
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.
2005 Nov 09
8
Element-by-element multiplication operator?
Is there an element-by-element multiplication in R, like the .* operator in Matlab?
eg: A (2x3)
B (2x3)
C=A.*B
C (2x3)
C = [[a11*b11 a12*b12 a13*b13]; [a21*b21 a22*b22 a23*b23]]
I can't find one...
Thanks
-Mike Gates
2009 Dec 17
1
Random Number Generation in a Loop
...3 random numbers in the range (1.30-1.60) and so on.
# ___________________________________________________
Here is the R code I have tried
ONS <- read.table(textConnection("name number
A11 12
A12 17
A13 0
A11 11
A12 6
A13 0
A11 8
A12 4
A13 3"), header = TRUE)
X = as.character(ONS$name)
Y = ONS$nu...
2007 Nov 16
4
Permutation of a distance matrix
...y of permuting the rows and columns 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 "...
2009 Jul 10
3
strange strsplit gsub problem 0 is this a bug or a string length limitation?
...eing truncated and I only get 85 items, not 113.
Is it due to a string length limitation 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...
2004 Jul 03
1
solving for a 2D transformation matrix
...ow the intended "world" coordinates of a
subset of the points. 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...
2005 Jul 07
3
What method I should to use for these data?
Dear R user:
I am studying the allele data of two populations.
the following is the data:
a1 a2 a3 a4 a5 a6 a7 a8 a9
a10 a11 a12 a13 a14 a15 a16 a17
pop1 0.0217 0.0000 0.0109 0.0435 0.0435 0.0000 0.0109 0.0543
0.1739 0.0761 0.1413 0.1522 0.1087 0.0870 0.0435 0.0217 0.0109
pop2 0.0213 0.0213 0.0000 0.0000 0.0000 0.0426 0.1702 0.2128
0.1596 0.1809 0.0957 0.0745 0.0106 0.0106 0.0000 0.0000 0.0000
a...
2007 Mar 10
3
long character string problem
...of size?). These are creating
trouble with subsequent programs, which I tested with strings that for some
reason do not have these double quotes (see very bottom).
> cum1
[1]
"A11*(X11*x1+X21*x2)+1*sqrt(B11*(X11*x1+X21*x2)^2+C11)A12*(X12*x1+X22*x2)+1*sqrt(B12*(X12*x1+X22*x2)^2+C12)A13*(X13*x1+X23*x2)+-1*sqrt(B13*(X13*x1+X23*x2)^2+C13)A14*(X14*x1+X24*x2)+-1*sqrt(B14*(X14*x1+X24*x2)^2+C14)A15*(X15*x1+X25*x2)+1*sqrt(B15*(X15*x1+X25*x2)^2+C15)A16*(X16*x1+X26*x2)+1*sqrt(B16*(X16*x1+X26*x2)^2+C16)A17*(X17*x1+X27*x2)+1*sqrt(B17*(X17*x1+X27*x2)^2+C17)A18*(X18*x1+X28*x2)+1*sqrt(B18*(X18*...
2008 Nov 29
2
Reading mixed tables
...R. I guess R may work very well in this kind of contests but the
input of file has been a problem for me. Take this case for example
(http://code.google.com/codejam/contest/dashboard?c=agdjb2RlamFtchALEghjb250ZXN0cxjRzBQM),
the files are usually of the form:
A(number of lines for group 1)
a11 a12 a13
a21 a22 a23
...
B(number of lines for group 2)
b11 b12 b13
b21 b22 b23
...
I guess SAS may work pretty well in this kind of situation with data
step. But I don't know how to handle them using R. Any suggestions?
Thanks a lot.
Best wishes,
--
??? Hesen Peng
http://hesen.peng.googlepages.com/
2011 Aug 05
2
R compare cells in one matrix
...76.24 275.62 276.55 278.05
[2,] 277.4 276.24 275.55 276.42 277.72
[3,] 277.4 276.24 275.50 276.22 277.39
[4,] 277.4 276.24 275.42 276.02 277.02
[5,] 277.4 276.22 275.37 275.82 276.64
And I want to *compare*its cells like this:
a11 and a12;
a11 and a21;
a11 and a22.
then
a12 and a22;
a12 and a13;
a12 and a23.
and so on in a cycle.
*Is there a function or a package that can be used for comparation?*
Thank you!
--
View this message in context: http://r.789695.n4.nabble.com/R-compare-cells-in-one-matrix-tp3720854p3720854.html
Sent from the R help mailing list archive at Nabble.com.
2005 Nov 09
0
Access denided when join samba+ldap PDC
...dont have access to join the domain, and samba
logfiles says that LDAP can't be running as non-root.
When I try to join the domain from XP it asks after login and passwd and
here i've try with the administrator account and my own account (senate).
The registrypatch is done and the computer A13 is added to the LDAP:
fileserver log/samba# smbldap-usershow a13$
dn: uid=A13$,ou=Computers,dc=FASITET,dc=SE
objectClass: top,inetOrgPerson,posixAccount
cn: A13$
sn: A13$
uid: A13$
uidNumber: 1005
gidNumber: 555
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer
###### smb.con...
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...
2012 Jun 14
1
Problem with buggy Dell Latitude BIOS
Hello List,
the most recent BIOS (A13) for the Dell Latitude E6520 has problems -
gpxelinux (4.05) cannot load larger initrd (or memdisk images) with this
BIOS and fails with "Not enough memory to load specified image". This
results in a few of our boot images (most importantly the Backup Rescue
image (and parted magix px...
2008 Oct 26
0
orthographic projection of ellipsoids
...ametrisation of such projections? Any comments are
welcome.
Many thanks,
baptiste
>
> rotM3d <- function(theta=0, phi=0, psi=0){ # 3D rotation matrix
> a11 <- cos(psi)*cos(phi) - cos(theta)*sin(phi)*sin(psi)
> a12 <- cos(psi)*sin(phi) + cos(theta)*cos(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)
>...
2005 Sep 20
2
script.aculo.us: pause before effect.appear
...; id="a9" />
<img src="10.jpg" alt="" id="a10" />
<img src="11.jpg" alt="" id="a11" />
<img src="1.jpg" alt="" id="a12" />
<img src="2.jpg" alt="" id="a13" />
<img src="3.jpg" alt="" id="a14" />
<img src="4.jpg" alt="" id="a15" />
<img src="5.jpg" alt="" id="a16" />
<img src="6.jpg" alt="" id="a17" />...
2019 Oct 25
3
register spilling and printing live variables
Hello,
I have studied register allocation in theoretical aspects and exploring the
same in the implementation level.
I need a minimal testcase for register spilling to analyze spilling
procedure in llvm. I tried with a testcase taking 20 variables but all the
20 variables are getting stored in the stack using %rbp. Maybe my live
variable analysis is wrong. Please help me with a minimal testcase
2009 Oct 08
2
plotting a set of discrete distributions
...equency
distribution. Thus, when the actual number was 6,
the estimated values were 5,6,7 with frequencies 7, 120, 20. The NAs
could be taken as 0s.
> jevons <- read.csv("C:/Documents/milestone/papers/Jevons/jevons.csv")
> jevons
est a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15
1 3 23 NA NA NA NA NA NA NA NA NA NA NA NA
2 4 NA 65 NA NA NA NA NA NA NA NA NA NA NA
3 5 NA NA 102 7 NA NA NA NA NA NA NA NA NA
4 6 NA NA 4 120 18 NA NA NA NA NA NA NA NA
5 7 NA NA 1 20 113 30 2 NA NA NA NA NA NA
6 8 NA NA NA...
2006 Dec 31
7
zero random effect sizes with binomial lmer
...0,0,0,0,0)
a2 <- c(0,0,0,0,0,0,0)
a3 <- c(0,0,0,0,0,0,0)
a4 <- c(0,0,0,0,0,0,0)
a5 <- c(0,0,0,0,0,0,0)
a6 <- c(0,0,0,0,0,0,0)
a7 <- c(0,0,0,0,0,0,0)
a8 <- c(0,0,0,0,0,0,0)
a9 <- c(0,0,0,0,0,0,0)
a10 <- c(0,0,0,0,0,0,0)
a11 <- c(0,0,0,0,0,0,0)
a12 <- c(0,0,0,0,0,0,0)
a13 <- c(0,0,0,0,0,0,1)
a14 <- c(0,0,0,0,0,0,1)
a15 <- c(0,0,0,0,0,1,0)
a16 <- c(0,0,0,0,1,0,0)
a17 <- c(0,0,0,1,0,0,0)
a18 <- c(0,0,1,0,0,0,0)
a19 <- c(0,1,0,0,0,0,0)
a20 <- c(0,1,0,0,0,1,0)
a21 <- c(0,0,0,1,0,1,1)
a22 <- c(1,0,0,1,0,1,1)
a23 <- c(1,0,1,1,0,1,0)
aa <...