search for: exp3

Displaying 20 results from an estimated 24 matches for "exp3".

Did you mean: ecp3
2008 Jan 02
2
index
Dear all, I would like to know if it?s possible to create an index for a variable/vector that specifies the value in the n position before the actual value. For example, if X <- c(letters[1:10]), x[10] is ?j?. I would like to create an index exp3 (the third position before) such as if z <- x[exp3], then z[10] = ?g?. In Stata that index is x[-3], but not in R. I have to input it in a very complex function to be minimised with the mle command, so I can?t solve this problem with a loop. Can you help me?
2006 May 28
1
problems while correlating values
...the data are blank ( in the sense that there is no value available for the particular experiment). When i try to open the file in R. I get an warning message. The specific warning message i get is {Warning message: NAs introduced by coercion } My data more or less looks like this - exp1 exp2 exp3 exp4 exp5 exp6 fish 20 10 40 30 - 10 duck 15 - 20 - - - swan 10 5 7 12 15 - kiwi 12 10 30 15 16 12 goat 18 10 20 - 10 - {where '-' is blank spaces} when I correlate this data using this > round(cor(person.data,use="pairwise.complete.obs")) correlation is done between exper...
2013 Nov 01
2
computation of hessian matrix
...c(0.137,2.499,0.419,1.699,0.605,0.677,0.159,1.699,0.340,2.899,0.082,0.425,0.444,0.225,0.241,0.099,0.644,0.266,0.351,0.027,0.030,3.400,1.499,0.351,0.082,0.518,0.471,0.036,0.721) b1<-4.286b2<-1.362 n<-29 for(i in 1:n){     gh<-matrix(0,2,2) exp0<-(1+b1*x2^b2) exp1<-x1*x2^b2*log(x2) exp3<-x1*b1*x2^b2*(log(x2))^2 gh[1,1]<-2*x2^(2*b2)*exp0/exp0^4 gh[1,2]<--(exp0^2*exp1 - 2*b1*x2^b2*exp0*exp1)/exp0^4 gh[2,1]<--(exp3*exp0^2-2*exp0*b1^2*x2^b2*log(x2)*exp1)/exp0^4 gh[2,2]<--(exp1*exp0^2-2*exp0*x2^b2*b1*exp1)/exp0^4 } [[alternative HTML version deleted]]
2006 Oct 18
6
new R-user needs help
...5 31 27 29 3 b 8 28 25 26 32 28 3 c 9 21 31 28 23 29 where each name a,b and c is repeated three times. Now I want to calculate the the averages of a,b and c over the three experiments for each x. For example for x1 I want to calculate the average of a like [a(from exp1) + a(exp2)+ a(exp3)]/3= (23+28+24)/3 How can I do that ? Thanks for your help, Regards, Antonia
2008 Apr 09
1
If statements for vectors
...d expression values below the threshold value. However, now I need to remove the 0s. I thought that this would be relatively trivial but it appears it isn't!!! The dimension of the list (with the 0s and values) is 506994. So I wrote the following: for(i in 1:506994) { if(exp2[i] > 0) { exp3 <- append(1,exp2[i]) } return(exp3) } where exp2 is the vector of 0s and threshold values. However I have since discovered that 'if' does not work on vectors. The suggestions I have seen on this forum include 'ifelse' which I don't believe to be relevant in this situation a...
2013 Jun 07
1
Function nlme::lme in Ubuntu (but not Win or OS X): "Non-positive definite approximate variance-covariance"
Dear all, I am estimating a mixed-model in Ubuntu Raring (13.04¸ amd64), with the code: fm0 <- lme(rt ~ run + group * stim * cond, random=list( subj=pdSymm(~ 1 + run), subj=pdSymm(~ 0 + stim)), data=mydat1) When I check the approximate variance-covariance matrix, I get: > fm0$apVar [1] "Non-positive definite
2009 Feb 24
2
[LLVMdev] Detecting counted loops
I need to be able to detect a well-behaved loop. (i.e one where exp1 assigns a value to an int i, exp2 compares i with a loop constant, exp3 adjusts i by a loop constant, and the inner block has no assignments to i.) I need this because in Sun's Java VM garbage collection only takes place at safepoints, so a potentially unbounded loop must call safepoint() some time. However, safepoints are potentially very costly, so we don't...
2012 Jun 24
2
Defining multiple variables in a loop
...2 <- as.data.frame(subset(OECDFiscal2, Country == 2)) country3 <- as.data.frame(subset(OECDFiscal2, Country == 3)) exp1 <- as.matrix(sample(country1$lagexpVSgdp, size = (nrow(country1)), replace = T)) exp2 <- as.matrix(sample(country2$lagexpVSgdp, size = (nrow(country2)), replace = T)) exp3 <- as.matrix(sample(country3$lagexpVSgdp, size = (nrow(country3)), replace = T)) tax1 <- as.matrix(sample(country1$lagtaxVSgdp1, size = (nrow(country1)), replace = T)) tax2 <- as.matrix(sample(country2$lagtaxVSgdp1, size = (nrow(country2)), replace = T)) tax3 <- as.matrix(sample(countr...
2012 Nov 06
2
I am very confused about strip Stripe what way it hold space?
I have 4 dell 2970 server , three server harddisk is 146Gx6 ,one hard disk is 72Gx6: each server mount info is /dev/sda4 on /exp1 type xfs (rw) /dev/sdb1 on /exp2 type xfs (rw) /dev/sdc1 on /exp3 type xfs (rw) /dev/sdd1 on /exp4 type xfs (rw) /dev/sde1 on /exp5 type xfs (rw) /dev/sdf1 on /exp6 type xfs (rw) I create a gluster volume have 4 stripe gluster volume create test-volume3 stripe 4 transport tcp \ 172.16.20.231:/exp4 \ 172.16.20.232:/exp4 \ 172.16.20.233:/exp4 \ 172.16.20.235:...
2011 Jul 27
0
Inversions in hierarchical clustering were they shouldn't be
...x: library("gplots") library("RColorBrewer") test <- matrix(c(0.96, 0.07, 0.97, 0.98, 0.50, 0.28, 0.29, 0.77, 0.08, 0.96, 0.51, 0.51, 0.14, 0.19, 0.41, 0.51), ncol=4, byrow=TRUE) colnames(test) <- c("Exp1","Exp2","Exp3","Exp4") rownames(test) <- c("Gene1","Gene2","Gene3", "Gene4") test <- as.table(test) mat = data.matrix(test) heatmap.2(mat, dendrogram="row", Rowv=TRUE, Colv=FALSE, distfun = function(x) dist(x,method = ''maximum...
2001 Sep 13
1
row-wise dataframe calculation
Hi, i have a dataframe such as: Exp1 Exp2 Exp3 name1 12.6 78.0 45.6 name2 11.9 19.0 21.0 name3 10.0 14.0 17.0 ... ... ... Real datasets might be quite large - 20,000 rows by 100 columns I want to calculate metrics such as the variation *row-wise*. So, var for name1, var for name 2, var for name3 etc. Can someone kindly guide me on how best t...
2006 Oct 18
0
Aggregating a data frame (was: Re: new R-user needs help)
...> 3 c 9 21 31 28 23 29 > > where each name a,b and c is repeated three times. > Now I want to calculate the the averages of a,b and c > over the three experiments for each x. For example for > x1 I want to calculate the average of a like > > [a(from exp1) + a(exp2)+ a(exp3)]/3= (23+28+24)/3 > > How can I do that ? > > Thanks for your help, > Regards, > > Antonia > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting gu...
2013 Oct 31
0
Processed (with 2 errors): notfound 706747 in 3.2p1.4-28.1, tagging 706747, fixed 676134 in 3.8.5-2, found 725433 in 2.0.19-2 ...
...en Marked as fixed in versions texlive-base/2013.20130905-1. > notfixed 705689 0.2.10+svn922-2 Bug #705689 {Done: Markus Koschany <apo at gambaru.de>} [osmo] osmo: Osmo crashed and doesnt starts now. No longer marked as fixed in versions 0.2.10+svn922-2. > notfound 705573 1.6.1187.102-1~exp3 Bug #705573 {Done: Nobuhiro Iwamatsu <iwamatsu at debian.org>} [fcitx-mozc] fcitx-mozc: mo files of fcitx-mozc is not installed corectly No longer marked as found in versions mozc/1.6.1187.102-1~exp3. > notfixed 705573 fcitx-mozc/1.6.1187.102-1~exp3 Bug #705573 {Done: Nobuhiro Iwamatsu &lt...
2013 Jul 28
1
Problem with ldpaths in Ubuntu 13.04
...acking libjpeg8-dev:amd64 (from .../libjpeg8-dev_8c-2ubuntu7_amd64.deb) ... Selecting previously unselected package libjpeg-dev. Unpacking libjpeg-dev (from .../libjpeg-dev_8c-2ubuntu7_all.deb) ... Selecting previously unselected package liblapack3. Unpacking liblapack3 (from .../liblapack3_3.4.2-1~exp3_amd64.deb) ... Selecting previously unselected package liblapack-dev. Unpacking liblapack-dev (from .../liblapack-dev_3.4.2-1~exp3_amd64.deb) ... Selecting previously unselected package libtinfo-dev:amd64. Unpacking libtinfo-dev:amd64 (from .../libtinfo-dev_5.9-10ubuntu4_amd64.deb) ... Selecting pr...
2011 Jan 11
2
Differences between puppet and puppetd
...when run using puppetd: ... puppet-agent[3650]: (/Stage[main]/Mail/Exec[/root/test.exp]/returns) spawn /etc/ssl/misc/CA.pl -newca#015 ... puppet-agent[3650]: (/Stage[main]/Mail/Exec[/root/test.exp]/returns) #015 ... puppet-agent[3650]: (/Stage[main]/Mail/Exec[/root/test.exp]/returns) send: spawn id exp3 not open ... puppet-agent[3650]: (/Stage[main]/Mail/Exec[/root/test.exp]/returns) while executing ... puppet-agent[3650]: (/Stage[main]/Mail/Exec[/root/test.exp]/returns) "send "password\r"" ... puppet-agent[3650]: (/Stage[main]/Mail/Exec[/root/test.exp]/returns) (file "/ro...
2009 Jul 09
5
Best way to export values from a function?
Maybe there is a great website out there or white paper that discusses this but again my Google skills (or lack there of) let me down. I would like to know the best way to export several doubles from a function, where the doubles are not an array. Here is a contrived function similar to my needs: multipleoutput<-function(x) { squared<-x^2 cubed<-x^3 exponentioal<-exp(x)
2013 Feb 08
0
[LLVMdev] JIT on armhf
On 8 February 2013 14:28, David Given <dg at cowlark.com> wrote: > Debian's clang packages are totally broken on armhf --- the compiler > emits a confused warning about the platform being unrecognised, and then > generates softfloat code --- so I was wondering about LLVM itself. I'm using Ubuntu on Pandas and Chromebooks and LLVM itself behaves well, with the right set of
2013 Feb 08
2
[LLVMdev] JIT on armhf
..., I was wrong earlier about clang 3.2 failing. Its output causes ld to produce an assertion message, and it didn't occur to me then to look to see whether it had actually created a binary or not.) Here's what clang 3.2 says with 'clang -v -S -O3 test.c': Debian clang version 3.2-1~exp3 (tags/RELEASE_32/final) (based on LLVM 3.2) Target: arm-unknown-linux-gnueabihf Thread model: posix "/usr/bin/clang" -cc1 -triple armv4t-unknown-linux-gnueabihf -S -disable-free -disable-llvm-verifier -main-file-name test.c -mrelocation-model static -mdisable-fp-elim -fmath-errno -mconstr...
2013 Feb 08
6
[LLVMdev] JIT on armhf
Renato Golin wrote: [...] > Try setting armv7a-unknown-linux-gnueabihf and see if it works better. No, that doesn't work either. [...] > JIT was never the forte of ARM and I haven't tried yet, but I doubt > it'll be any Debian misconfiguration. The whole architecture > configuration is a bit odd... Debian's clang packages are totally broken on armhf --- the compiler
2013 Jun 20
3
USB ports on Lenovo T400 do not work after a suspend/resume
...ernel: [100095] pci0: failed to set ACPI power state D2 on \_SB_.PCI0.EXP0: AE_BAD_PARAMETER Jun 20 14:03:47 lucy kernel: [100095] pci0: failed to set ACPI power state D2 on \_SB_.PCI0.EXP1: AE_BAD_PARAMETER Jun 20 14:03:47 lucy kernel: [100095] pci0: failed to set ACPI power state D2 on \_SB_.PCI0.EXP3: AE_BAD_PARAMETER Jun 20 14:03:47 lucy kernel: [100095] pci0: failed to set ACPI power state D2 on \_SB_.PCI0.EXP4: AE_BAD_PARAMETER Jun 20 14:03:47 lucy kernel: [100095] acpi0: cleared fixed power button status Jun 20 14:03:47 lucy kernel: uhci_interrupt: resume detect Jun 20 14:03:47 lucy kernel:...