similar to: Re moving rows which do not satisfy a condition

Displaying 20 results from an estimated 10000 matches similar to: "Re moving rows which do not satisfy a condition"

2009 Jul 29
3
how to skip a numeric column for averaging other columns?
Data has the first row for variable name and the first column for sample name. I want to take "Log" for all data, but how to compute without the first column for sample name. That is, column 1: sample ID column 2-10: data I want to find an average on each column (2-10) > apply(raw_data,2,mean) Error in Math.data.frame(list(sample_id = c(1L, 2L, 3L, 4L, 5L, 6L, 7L, :
2008 Nov 03
1
IWLS vs direct ML estimation
Hi, I am thinking about IWLS vs ML estimation. When I use glm() for a 2-parameter distribution (e.g., Weibull), I can otain the MLE of scale parameter given shape parameter through IWLS. Because this scale parameter usually converges to the MLE. In this point, I am wondering: i) can you say that the direct MLE, which is obtained by maximizing a likelihood function, is equalvant to the indirect
2008 Sep 29
3
count data with a specific range
Hi there, The data is data<-c(2,6,13,26,19,25,18,11,22,25) I want to count data for these rages: [0~10]: [11~20]: [21-30]: Is anyone can help me? Thank you in advance -- View this message in context: http://www.nabble.com/count-data-with-a-specific-range-tp19732290p19732290.html Sent from the R help mailing list archive at Nabble.com.
2008 Sep 12
1
Error in "[<-"(`*tmp*`, i, value = numeric(0)) :
I use "while" loop but it produces an errro. I have no idea about this. Error in "[<-"(`*tmp*`, i, value = numeric(0)) : nothing to replace with The problem description is The likelihood includes two parameters to be estimated: lambda (=beta0+beta1*x) and alpha. The algorithm for the estimation is as following: 1) with alpha=0, estimate lambda (estimate beta0
2008 Feb 15
1
Conditional Autoregressive (CAR) model simulation
Hi all ! I would like to simulate spatial lattice/areal data with a conditional autoregressive (CAR) structure, for a given neighbouring matrix and for a autocorrelation "rho". Is there any package or function in R to perform it ? I found the function "CARsimu" in the hdeco library, but this is not what I'm looking for Thanks in advance Dae-Jin --
2008 Nov 01
2
calculation for standard normal cumulative distribution
Is there anyone knowing a function or way for standard normal cumulative distribution? ?(z=-0.1)=? also ?(z=?)=0.025 Thank you, -- View this message in context: http://www.nabble.com/calculation-for-standard-normal-cumulative-distribution-tp20282804p20282804.html Sent from the R help mailing list archive at Nabble.com.
2020 Nov 24
2
ID Mapping
Hi, I'm using samba for login in Linux via Active Directory (win 2008). In my Active Directory, there is a user "jin", and its primary group is "xts", its supplementary group is "Domain Users". I found that the gid mapping is inconsistent with different samba version. That is: For samba-4.4.4: # id jin uid=30000(jin) gid=30000(xts)
2014 Jan 03
2
[LLVMdev] Tracing values in llvm IR
You will have to insert callinst to tracing functions immediately after the value is produced, not at the entry points. Giri code has many such examples of how to do this. Thanks, Swarup. ________________________________ From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] on behalf of Jin Huang [54jin.huang at gmail.com] Sent: Thursday, January 02, 2014 9:47 PM To: llvmdev at
2020 Nov 24
2
ID Mapping
I'm pretty sure you need to clear your winbind cache after modifying the range. I can't find any official documentation on it anywhere, but I think the process goes like: systemctl stop winbind systemctl stop smbd net cache flush systemctl start winbind systemctl start smbd If that doesn't work you could try clearing the tdb files and the group mapping ldb file in /var/lib/samba (
2020 Nov 24
1
ID Mapping
Your 'range' in your 4.6.2 config is different than the one in your 4.4.4 config. Try setting it to: 'idmap config *:range = 30000-40000' , to see if the issue no longer occurs. On Tue, 2020-11-24 at 09:17 +0800, ??? via samba wrote: > Hi, > > ????I'm using samba for login in Linux via Active Directory (win > 2008). > > ????In my Active Directory, there is
2018 Apr 27
0
[LLVM][RFC] Representing the target device information in the LLVM IR
Hi Hal, We are not trying to address issues where the object mapped are of different sizes between host and target with different ABI. The issue is when the objects are of same size like double which is 8bytes on both 32bit and 64bit platform. If a double is used in a first_private on a target clause, the 64 bit side will pass it as value whereas on the 32bit side since the value does not
2014 Jan 03
2
[LLVMdev] Tracing values in llvm IR
Thank you , James. But this way needs to determine whether the instruction is a LOAD/STORE ,and if I want to preserve the operations on these variables for further dynamic symbolic execution usage(just like KLEE ,but it's a static analysis ,not dynamic),I had to backtrace instructions ,this may be not very efficient if the operation is very complex! -Jin Huang 2014/1/3 Jin Huang
2018 Apr 27
2
[LLVM][RFC] Representing the target device information in the LLVM IR
On 04/26/2018 07:03 PM, Narayanaswamy, Ravi wrote: > > Hi Hal, > >    We are not trying to address issues where the object mapped are of > different sizes between host and target with different ABI. > Why are you not trying to address that issue?  -Hal > The issue is when the objects are of same size like double which is > 8bytes on both 32bit and 64bit platform.  If a
2004 Oct 20
1
Error when intstalling R on intel box running linux
Hi there, I have been trying to install R-2.0.0 on my Linux box (Intel chip) from source. I am getting the following error message when running 'make': make[3]: Entering directory `/devtop/private/jin/R-2.0.0/src/appl' g77 -mieee-fp -fPIC -g -O2 -c ch2inv.f -o ch2inv.lo /tmp/ccm8Zyp4.s: Assembler messages: /tmp/ccm8Zyp4.s:165: Error: junk `(%ebx)' after expression
2018 Apr 26
0
[LLVM][RFC] Representing the target device information in the LLVM IR
Hi, Jin, Can you please back up a bit and talk about the programming environment in which this problem manifests? If I have a host and a target with different ABIs, then it seems we have lots of problems. For one thing, the layouts of structures are different, the sizes of some integer types are different, the sizes of pointers are different, and so on. It seems like a solution in this space
2008 Feb 14
1
Installation of R on UNIX - Sparc Solaris v8 [SEC=UNCLASSIFIED]
Dear Prof Ripley and Don, Thank you all for your kind reply. The UNIX system we have is Sparc Solaris v8 (a 64bit version). The Precompiled binary distributions of the base system and contributed packages are only available for Linux, MacOS X and Windows. The only thing available for UNIX seems Source Code for all Platforms. Could you please guide me to the "Prebuilt versions of R are
2009 Sep 30
0
[LLVMdev] long double type on ARM
That is from 2.5, and just because there is nothing special listed in config.gcc does not mean it doesn't work. For 2.5, the ARM port of llvm-gcc did not require a separate llvm-arm.cpp source file, so nothing needed to be added to config.gcc. It worked fine as far as I know. For 2.6, you will see that there are some ARM-related changes to config.gcc in llvm-gcc. On Sep 30, 2009,
2004 Nov 22
4
How to correct this
Hi there, I tried to add a few circles on an existing figure using the following codes grid.circle(x=0.5, y=0.5, r=0.1, draw=TRUE, gp=gpar(col=5)) grid.circle(x=0.5, y=0.5, r=0.3, draw=TRUE, gp=gpar(col=5)) grid.circle(x=0.5, y=0.5, r=0.5, draw=TRUE, gp=gpar(col=5)) points(0.5, 0.5, col = 5) # centre of the circle , but all circles moved away from the centre. Could we do any
2011 Jun 02
1
aucRoc in caret package [SEC=UNCLASSIFIED]
Hi all, I used the following code and data to get auc values for two sets of predictions: library(caret) > table(predicted1, trainy) trainy hard soft 1 27 0 2 11 99 > aucRoc(roc(predicted1, trainy)) [1] 0.5 > table(predicted2, trainy) trainy hard soft 1 27 2 2 11 97 > aucRoc(roc(predicted2, trainy)) [1] 0.8451621 predicted1: 1 1 2
2007 Sep 12
1
install R packages [SEC=UNCLASSIFIED]
Hi All, I installed R 2.5.1 recently on a PC (Windows XP Professional 2001) and tried to install some R packages. It took several minutes and gave me the following message. > utils:::menuInstallPkgs() --- Please select a CRAN mirror for use in this session --- Error in open.connection(file, "r") : unable to open connection In addition: Warning message: unable to connect to