similar to: Question about is.na for missing data

Displaying 20 results from an estimated 5000 matches similar to: "Question about is.na for missing data"

2004 Sep 25
2
Strange behavior of is.na() on lists
Hello R-users, I have observed that is.na() behaves strange on some lists. Here is a simple example: > a = list(list('asd')) > a [[1]] [[1]][[1]] [1] "asd" > for(i in 1:5) + print(is.na(a)) [1] TRUE [1] FALSE [1] TRUE [1] TRUE [1] TRUE > > for(i in 1:10) + print(as.integer(is.na(a))) [1] 0 [1] 10 [1] 1 [1] 0 [1] 140897024 [1] 134567568 [1] 1 [1] 1953720684
2007 Sep 24
3
CallerID problem Asterisk 1.4.2
When receiving inbound calls from a Vonage Softphone extension, I'm unable to view/maniupulate calledid data. but it shows up in the CDR records and on called handsets.. any ideas? exten => asda,n,NoOp(callerID is ${CALLERID}) exten => asda,n,NoOp(CallerID is ${CALLERIDNAME}) exten => asda,n,NoOp(CallerID is ${CALLERIDNUM}) -- Executing [asd at pstn-in:2]
2010 Aug 20
2
Determining the length of unique items in a vector
Dear all, let suppose I have following vector:   > dat1 <- c(rep("asd", 5), rep("xyz", 12), rep("erd", 17)) > dat1 <- dat1[sample(1:length(dat1), length(dat1), replace=F)] > dat1  [1] "erd" "xyz" "erd" "asd" "asd" "erd" "xyz" "asd" "erd" "erd"
2011 Jan 10
1
Using combn
Dear list, I want to apply the "table" function to every pair of variables in df and the return should be a list. setwd(123) asd <- data.frame(a1=sample(1:4, 20, replace=TRUE), a2=sample(1:4, 20, replace=TRUE), a3=sample(1:4, 20, replace=TRUE), a4=sample(1:4, 20, replace=TRUE)) with(asd, table(a1, a2)) with(asd, table(a1,
2014 Jul 17
2
question about output of files copied/deleted
It seems to me that this output would be more useful if it were possible to uniquely translate a line of output back into a file path. Right now that's not possible due to the control character encoding. An output line like asd\#002\#003zxc could either mean a file of that name or asd^B\#003zxc or asd^B^Czxc or asd\#002^Czxc I was hoping to start with rsync -n, figure out what was going to be
2004 Mar 09
1
More factor names in x axis, how?
I have some data which records, amongst other things, age (recoded by me to be in months), and drug group (a factor). The drug group is a 2 digit number, but there is no numeric relationship, and only 50 of the possible groups occur So > asd <- read.table("asd.dat", header=TRUE) > asd$group <- as.factor(asd$group) > plot(age ~ group, data=asd) gives me a series of
2012 Dec 26
3
Working with date
Hi, Let say I have a date variable: > ?asd <- as.Date("2012-01-03") > asd [1] "2012-01-03" Now, I want to express this date like 3/1/2012. can somebody help me how to achieve that? Thanks,
2012 Mar 22
3
[LLVMdev] SPEC CPU2006 bitcode files
Hello, I'm trying to generate bitcode files from the SPEC CPU2006 benchmark suites. First I installed the benchmarks into ~/llvm/projects/test-suite/External/speccpu2006 and then I tried ~/mysandbox/bin/lnt runtest nt --sandbox=sandbox --cc=/Users/asd/llvm/Release/bin/clang --test-suite=/Users/asd/llvm/projects/test-suite --test-externals=/Users/asd/llvm/projects/test-suite/External -j 4
2010 Jul 13
2
how to extract information from anova results
Hi, I have used the instruction aov in the following manner: res <- aov(qwe ~ asd) when I typed "res" I get: _________ Call: aov(formula = qwe ~ asd) Terms: asd Residuals Sum of Squares 0.0708704 0.5255957 Deg. of Freedom 1 8 Residual standard error: 0.2563191 Estimated effects may be unbalanced _________ I need to access the value of
2011 Jun 17
1
[LLVMdev] Problem regarding llc command line option
Hi, I was trying to port a Target from llvm-2.6 to llvm-2.9 and have got stuck to a very strange problem. There was an option defined in the target Asm Printer file with signature as - static cl::opt<bool> AsdPri("asd-pri", cl::Hidden, cl::desc("Print ASD format")); How after compiling the target, I dont see the option enabled in $ llc -help-hidden Also it gives error
2013 Feb 28
1
header brakage on sieve redirect ?
Hi all, In the sieve file require ["copy"]; redirect :copy "asdf at asd.pl"; emails with headers containing \n in non terminated " field like Cc: xxx <xxx at plus.pl>, "asd, Grzegorz " <xxxxx at nsn.com> Subject: RE: RF after redirecting them Cc: xxx <xxx at plus.pl>, "asd,\ \ Grzegorz " <xxxxx at nsn.com> Subject:
2010 Jan 12
2
setfacl:operation not supported
Hi all from last few days i got struct in problem.when i try to use setfacl command "setfacl -m u:himmat:r-- /ide2/asd" i get the error setfacl : /ide2/asd : operation not supported i also has mounted acl using -: "mount -f -o remount,acl / " Note: -f option is for force i am using red hat kernel 2.4.20-8 and acl-2.2.3-1 One more thing i have to ask whether acl utility
2007 Sep 11
2
Missing data
Hi all, I'm looking for a contributed package that can provide a detailed account of missing data patterns and perhaps also provide imputation procedures, such as mean imputation or hot deck imputation and the like. Is there anything out there? Thanks in advance, David -- =========================================================================== David Kaplan, Ph.D. Professor
2007 May 18
2
Winbindd breaks after first unsuccessfull authentication
I have the following problem: # wbinfo -V Version 3.0.24 # wbinfo -a anyuser%goodpassword plaintext password authentication succeeded challenge/response password authentication succeeded # wbinfo -a anyuser%badpassword plaintext password authentication failed error code was NT_STATUS_WRONG_PASSWORD (0xc000006a) error messsage was: Wrong Password Could not authenticate user anyuser%badpassword
2008 Nov 21
3
list of list objects
hi there, I have a list of list objects i need to remove the top layer [[1]] [1].0 "ABC" "DEF""LMN" [1].1 "WER" "ERT" "TRY" [[2]] [2].0 "ASD","wer""qwe" [2].1 "wdv""ghj""ggj" I wanna avoid the top layer...that is [[1]] [[2]] shouldnt be there just a simple list is wat i need.
2004 Nov 19
2
accessing the attributes of a list inside lapply()
Hello R-users, I have the following problem, that I want to solve efficiently: I have a named list, for example: > l <- list(a = 1, b = 3, c = 'asd') > l $a [1] 1 $b [1] 3 $c [1] "asd" I know that I can iterate through it using lapply() function, but I would also like to able to get the list names or some attributes of l in the lapply(). For example if I use
2008 Sep 25
3
[LLVMdev] Kaleidoscope doesn't work properly
Hi I hope this is a proper place to put my question. I've compiled Kaleidoscope from "Adding JIT and Optimizer Support" tutorial. Basically it works just fine but when I try to run extern'ed putchard function it aborts. Please, tell me what am I doing wrong? Here is more information: My PC runs FreeBSD. I've copied the toy source code exactly and didn't change it.
2009 Nov 13
4
processing log file
Dear all, I'm trying to process a log file which logs the date, the username and the computer number accessed. The table looks like this: >table.users          Date UserName Machine 1  2008-11-25     John     641 2  2008-11-25    Clive     611 3  2008-11-25   Jeremy     641 4  2008-11-25     Walt     722 5  2008-11-25     Tony     645 6  2008-11-26     Tony     645 7  2008-11-26    
2006 Mar 13
4
Trouble Using AR Object based on a Piggyback Query?
Hi, I''m new to Rails and Ruby and can''t access methods/columns from an ActiveRecord object that is a "piggy-back" row as described by David here: http://www.loudthinking.com/arc/000235.html Via Console I can create the piggyback object but reading attributes gives "TypeError: cannot convert String into Integer" (this is in Console and the browser).
2004 Sep 23
3
Problems with Samba 3.0.5 only seeing 1360 files on a share to a Windows 2000
Hi, I have a share: [share] path = /appl/md/data valid users = +asd write list = +asd read only = No create mask = 0664 directory mask = 0775 And it has directories that have 3000 files in them, but when I look at the same directory thru a Windows 2000, I only see 1360 files, no more. If I type the path a file that isn't shown in the