search for: numcheck

Displaying 4 results from an estimated 4 matches for "numcheck".

Did you mean: nulcheck
2009 Jun 04
1
how to tell if as.numeric succeeds?
Suppose I have a vector of strings. I'd like to convert this to a vector of numbers if possible. How can I tell if it is possible? as.numeric() will issue a warning if it fails. Do I need to trap this warning? If so, how? In other words, my end goal is a function that takes a vector of strings and returns either a numeric vector or the original vector. Assuming this doesn't already
2002 Mar 29
0
FW: Newbie struggling with "factors"
...t;,"factor") return(X) } contains <- function(X, name) { if(is.character(name) ) name <- pmatch( name, attr(X,"boxnames" ) ) retval <- sapply( strsplit(X, ",") , function(X) ( name %in% X ) ) return(retval) } numchecked <- function(X) { retval <- sapply( strsplit(X, ","), length ) return(retval) } summary.checklist <- function(x, ...) { sum <- apply( as.matrix(x), 2, sum ) mean <- apply( as.matrix(x), 2, mean ) return( rbind(sum,mean)) } as.matrix.checklist...
2002 Mar 29
3
Newbie struggling with "factors"
I am processing some survey results, and my data are being read in as "factors". I don't know how to process these things in any way. To start with, several of the survey questions are mulit-choice check boxes on the original (web-based) survey, as in "check all that apply". These are encoded as numbers. For example, if the survey has a question: Which operating systems
2006 Apr 12
1
powerd not behaving with an Asus A8V-MX and Athlon 64 X2 3800+
...1819 vfs.dirtybufthresh: 1637 vfs.numfreebuffers: 7108 vfs.lofreebuffers: 404 vfs.hifreebuffers: 808 vfs.getnewbufcalls: 598 vfs.getnewbufrestarts: 0 vfs.flushwithdeps: 0 vfs.cache.numneg: 30 vfs.cache.numcache: 483 vfs.cache.numcalls: 13298 vfs.cache.dothits: 93 vfs.cache.dotdothits: 18 vfs.cache.numchecks: 12063 vfs.cache.nummiss: 1096 vfs.cache.nummisszap: 33 vfs.cache.numposzaps: 23 vfs.cache.numposhits: 11003 vfs.cache.numnegzaps: 10 vfs.cache.numneghits: 1022 vfs.cache.nchstats: 11003 1022 33 0 1129 0 14 79 vfs.cache.numfullpathcalls: 24 vfs.cache.numfullpathfail1: 0 vfs.cache.numfullpathfail2:...