similar to: How to replace NA's data with some value

Displaying 20 results from an estimated 90 matches similar to: "How to replace NA's data with some value"

2006 Feb 22
3
OT: svn installation tutorial
Hello friendly Rails community, I''m sorry for this OT post, I''ve just switched to Mac and as I see there are so many friendly mac users here, may I ask is there another good/nice Subversion installation tutorial instead of this one: http://developer.apple.com/tools/subversionxcode.html? Is there another way to install it without compiling Subversion by myself? For example via
2008 Nov 10
1
cant boot after installation of centos 5
Hi all, I'm having problems with the installation of CentOS 5 for i386 to my Dell Percision T4500 Workstation. The installation run just fine. The installation DVD had been tested before installation. After installation, the installer ask me to reboot. after reboot, when the msg for LVM saying detection of my LVMs, 1 or 2 lines after that my monitor turned off, but i believed the cpu is still
2007 Aug 14
0
Limma - 2x2 factorial design matrix
Hi all, I'm working on microarray and currently analyzing the microrarray data using limmaGUI. Loop design has been applied in this experiment. This is a 2X2 factorial experiment where there are control and treatment at 2 different time points, week 6 and 9. The experimental design is almost the same as the limmaGUI work example: Weaver Data set. I would like to look at the effect of
2012 May 28
1
simulation of levene's test
hello, I try to run simulation of levene's test to find the p-value but the error of replacement has length zero occur, could anyone help me to fix this problem? asim <- 1000 pv<-rep(NA,asim) for(i in 1:asim) {print(i) set.seed(i) g1 <- rnorm(20,0,2) g2 <- rnorm(20,0,2) g3 <- rnorm(20,0,2) x <- c(g1,g2,g3) group<-as.factor(c(rep(1,20),rep(2,20),rep(3,20))) library(Rcmdr)
2010 Mar 25
1
Problem with reshaping data from wide to long format
Hi, I have a data.frame in wide format which I would like to reshape into a long format: example (nonsense) data: > dput(perus2) structure(list(id = c(30L, 38L, 21L, 12L, 22L, 28L, 31L, 44L, 8L, 47L, 23L, 20L, 41L, 42L, 29L, 50L, 5L, 33L, 4L, 17L, 11L, 1L, 18L, 6L, 9L, 32L, 16L, 14L, 39L, 48L, 37L, 43L, 25L, 27L, 35L, 40L, 45L, 49L, 2L, 34L, 10L, 15L, 24L, 26L, 46L, 7L, 13L, 3L, 19L, 36L),
2005 Aug 12
2
coercing created variables into a new data frame using na.omit()
Hi, I am an R newbie and one thing I am having trouble with binding variables that I have created within one data frame into a new data frame when using na.omit(). To illustrate this problem I will give the example I am working on and the approah I have been using:- data.frame1<-filepath.... attach(data.frame1) #create a new variable using a function new.variable<-rep(1,length(weight3))
2009 Sep 29
4
[LLVMdev] LLVM: C++ -> C
I've read that LLVM can convert from C++ to C code. So I've used it in such a way: I'm Windows-user so I used MinGW. I employed this file as the test: llvm-hello.cpp: #include <iostream> int main(int argc, char* argv[]) { system("pause"); return 0; } result of "llvm-g++ C:\llvm_hello.cpp -o C:\llvm_hellopp.exe" worked just fine. as a result of
2003 Jan 20
2
ave across columns
Hi: How do I find average across three columns such as weight1, weight2, weight3 (20 people, each person has three different measures)? They have NA's also. Thanks Tom, Univ of Pittsburgh, ttrut at yahoo.com
2009 Dec 26
2
Question regarding if statement in while loop
Hi all, I'm running R version 2.9.2 on a PC. I'm having a problem with a loop, and have tried using an if statement within to fix it, but to no avail. Any advice would be appreciated. Here is my code: ***************************************************** eblest <- function(i,dir, sterr, weight, aux) { n <- nrow(dir) Y <- as.matrix(dir[,i], ncol=1) sigma2ei <-
2009 Sep 29
0
[LLVMdev] LLVM: C++ -> C
On Sep 29, 2009, at 9:37 AM, dilas dilas wrote: > I've read that LLVM can convert from C++ to C code. It does, but it does not supply a C++ library. You'll need to do that. > So I've used it in such a way: > I'm Windows-user so I used MinGW. > I employed this file as the test: > > llvm-hello.cpp: > > #include <iostream> > > int main(int
2001 Jan 17
0
Couldn't open status file /var/adm/slh/samba/locks/STATUS..LC K
Gunnar, Check (ll -d dirname) to make sure that there is at least x permission for everyone in each directory down the /var/adm/slh/samba/locks path; also, does the STATUS..LCK file exist in the named directory, and if so what are the permissions on it? Hope this helps, Don -----Original Message----- From: Bakken, Gunnar [mailto:bakkengj@mail.slh.wisc.edu] Sent: Tuesday, January 16, 2001 6:08 PM
2001 Jan 16
0
Couldn't open status file /var/adm/slh/samba/locks/STATUS..LCK
Every thing works fine but... Samba 1.9.18 using default (oplocks = True) $ /usr/local/samba/bin/smbstatus -d No path in service weight4 - using /tmp No path in service lj4d - using /tmp No path in service lj3si - using /tmp No path in service lj4si - using /tmp No path in service lyle4 - using /tmp No path in service steve4 - using /tmp No path in service lp - using /tmp No path in service lp2
2003 Apr 03
0
New Coin Operated Mobile Phone Charger - Seeking Overseas Distributors
ProductPublic Mobile Phone Multi-charger (With/Without Coin Module) Functions1. Accept coins. 2. Allows conversation while charging. 2. 10 travel charger plugs for most models. 3. Light box advertising. 4. UV phone sanitizing InputAC 110 - 250V 50~60Hz Output< 12 V 1C 5 A x 10 Measurement29 cm x 20 cm x 51.6 cm Net Weight5 kg Contacthttp://www.YukiCharger.com sales@YukiCharger.com
2003 Dec 01
0
No subject
And route print? Do you have any servers on the WAN? (or is everyone connecting to the servers THROUGH the WAN?) Can you see the samba machines at all in network neghborhood? What happens when you type in the UNC of a samba server manually? (i.e. \\SAMBASERVERNAME) I hope I can help you, and I'm trying, but I'm not a samba guru. -Dan PS. Please change your email type to PLAIN TEXT from
2007 Nov 02
0
[PATCH] PVWin: Fix warnings
This patch cleans up some 80-odd warnings I was seeing when compiling the xenpci driver, all completely trivial. It also replaces the use of asm for calling cpuid with the __cpuid compiler intrinsic, and modifies calling code accordingly. I''m pretty sure my mailer going to mangle the inline patch (below) so I''m attaching the pristine version. (will try to fix for next time) --
2008 Sep 03
3
DID number
Hi All, I bought a DID number from VOxbone...this number could be dialed from any PSTN line and could be forwarded to any SIP server like asterisk server...Now I need to forward this number to my asterisk server so when a customer dial this number from his GSM or Land line PSTN number the call will be forwarde to my asterisk server and I need to play a wav file for example.. Can you please give me
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
Signed-off-by: Scott Seago <sseago at redhat.com> --- AUTHORS | 17 ++++++ README | 10 +++ conf/ovirt-agent | 12 ++++ conf/ovirt-db-omatic | 12 ++++ conf/ovirt-host-browser | 12 ++++
2009 Oct 03
0
[LLVMdev] Compilation of library
How to compile the libstdc++ library to LLVM bitcode?
2012 Jun 04
1
simulation of modified bartlett's test
Hi, I run this code to get the power of the test for modified bartlett's test..but I'm not really sure that my coding is right.. #normal distribution unequal variance asim<-5000 pv<-rep(NA,asim) for(i in 1:asim) {print(i) set.seed(i) n1<-20 n2<-20 n3<-20 mu<-0 sd1<-sqrt(25) sd2<-sqrt(50) sd3<-sqrt(100) g1<-rnorm(n1,mu,sd1) g2<-rnorm(n2,mu,sd2)