search for: palestinefact

Displaying 20 results from an estimated 29 matches for "palestinefact".

Did you mean: palestinefacts
2012 Mar 14
2
sum(hist$density) == 2 ?!
...(h$density) [1] 1 ----------------------------- now it's 1. why?! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://www.memritv.org http://openvotingconsortium.org http://thereligionofpeace.com http://mideasttruth.com http://palestinefacts.org ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x)))
2011 Jul 12
3
when to use `which'?
...) > a [1] 1 2 3 4 5 6 > a[a==4] [1] 4 > a[which(a==4)] [1] 4 > which(a==4) [1] 4 > a[which(a>2)] [1] 3 4 5 6 > a[a>2] [1] 3 4 5 6 > seems unnecessary... -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://jihadwatch.org http://palestinefacts.org http://mideasttruth.com http://truepeace.org http://thereligionofpeace.com Good programmers treat Microsoft products as damage and route around it.
2012 Dec 04
3
list to matrix?
...ic,2 [4,] Numeric,2 [5,] Numeric,2 [6,] Numeric,2 [7,] Numeric,2 [8,] Numeric,2 [9,] Numeric,2 --8<---------------cut here---------------end--------------->8--- thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://palestinefacts.org http://dhimmi.com http://jihadwatch.org http://www.PetitionOnline.com/tap12009/ http://memri.org Rhinoceros has poor vision, but, due to his size, it's not his problem.
2006 May 11
3
cannot turn some columns in a data frame into factors
...or inside sapply(), but after that it is numerical again! what am I doing wrong? -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://honestreporting.com http://truepeace.org http://openvotingconsortium.org http://thereligionofpeace.com http://memri.org http://palestinefacts.org UNIX, car: hard to learn/easy to use; Windows, bike: hard to learn/hard to use.
2012 Aug 28
5
variable scope
...ot;i" and "x". this means that at the end of the for loop body I have to write rm(x) gc() is there a more elegant way to handle this? Thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://camera.org http://palestinefacts.org http://iris.org.il http://www.PetitionOnline.com/tap12009/ http://truepeace.org Computers are like air conditioners: they don't work with open windows!
2012 Aug 27
1
write.matrix.csr data conversion
...0 1 5194394 23487 $ cut -d' ' -f1 f | sort | uniq -c 23487 2 5194394 1 i.e., 0 is written as 1 and 1 is written as 2. why? is there a way to disable this? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://palestinefacts.org http://mideasttruth.com http://pmw.org.il http://ffii.org http://www.memritv.org http://dhimmi.com Experience always comes right after it would have been useful.
2013 Sep 18
2
strsplit with a vector split argument
...-------end--------------->8--- Is this a bug or did I misunderstand the docs? Thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 13.04 (raring) X 11.0.11303000 http://www.childpsy.net/ http://www.memritv.org http://truepeace.org http://camera.org http://openvotingconsortium.org http://palestinefacts.org Experience comes with debts.
2012 Oct 07
2
a merge() problem
...-------->8--- why is the suffixes argument ignored? I mean, I expected that the second "a" to be "a.y". (when I omit suffixes, the result is the same). Thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://palestinefacts.org http://honestreporting.com http://truepeace.org http://openvotingconsortium.org My name is Deja Vu. Have we met before?
2011 Feb 15
2
strptime format = "%H:%M:%OS6"
...;); and it, apparently, works: > all$X.Time[2]-all$X.Time[1] Time difference of 5.12188 secs so, why doesn't format = "%H:%M:%OS6" work as documented? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) http://dhimmi.com http://openvotingconsortium.org http://palestinefacts.org http://honestreporting.com http://www.memritv.org http://camera.org There are two kinds of egotists: 1) Those who admit it 2) The rest of us
2012 Sep 20
1
aggregate help
...e = FALSE) : corrupt data frame: columns will be truncated or padded with NAs --8<---------------cut here---------------end--------------->8--- Thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://www.memritv.org http://palestinefacts.org http://pmw.org.il http://dhimmi.com http://jihadwatch.org http://ffii.org I'm out of my mind, but feel free to leave a message...
2012 Aug 30
3
apply --> data.frame
...function to return a data frame? the closest thing I think of is foo <- as.data.frame(sapply(...)) names(foo) <- c(....) is there a more "elegant" way? Thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://palestinefacts.org http://dhimmi.com http://honestreporting.com http://ffii.org http://mideasttruth.com Lisp: it's here to save your butt.
2012 Feb 08
4
"unsparse" a vector
Suppose I have a vector of strings: c("A1B2","A3C4","B5","C6A7B8") [1] "A1B2" "A3C4" "B5" "C6A7B8" where each string is a sequence of <column><value> pairs (fixed width, in this example both value and name are 1 character, in reality the column name is 6 chars and value is 2 digits). I need to
2012 Sep 06
2
merge a list of data frames
...efined columns selected what does 'formal argument "sort" matched by multiple actual arguments' mean? thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://ffii.org http://pmw.org.il http://dhimmi.com http://palestinefacts.org http://iris.org.il I just forgot my whole philosophy of life!!!
2006 Mar 29
0
bug in pictex() (package:grDevices)
...00pt,0.00pt> at 124.00 275.33 the underscores have a special meaning in TeX, so they should be quoted or converted to dashes. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 4 (Stentz) http://www.iris.org.il http://www.openvotingconsortium.org http://pmw.org.il http://www.palestinefacts.org http://www.memri.org Just because you're paranoid doesn't mean they AREN'T after you.
2011 Feb 15
1
[[]] confusion
...3.21796 [17] 58.12660 19.69056 55.99009 45.76731 46.52072 also, > all$X.Time[0] character(0) why no error? I thought that vectors were 1-based. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) http://www.memritv.org http://iris.org.il http://honestreporting.com http://palestinefacts.org OK, so you're a Ph.D. Just don't touch anything.
2011 Feb 16
2
create a data frame with the given column names
...., I have a vector of strings for names and I want to get an _EMPTY_ data frame with these column names. is it at all possible? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) http://openvotingconsortium.org http://pmw.org.il http://memri.org http://mideasttruth.com http://palestinefacts.org I don't like cats! -- Come on, you just don't know how to cook them!
2012 Jan 18
1
drop rare factors
...tax wrong and I want c("A","B") to be generated automatically from frame$MyFactor and the number 0.01 (1%). Thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://thereligionofpeace.com http://mideasttruth.com http://memri.org http://palestinefacts.org http://dhimmi.com http://truepeace.org DRM "access management" == prison "freedom management".
2012 Jul 13
1
LiblineaR: read/write model files?
How do I read/write liblinear models to files? E.g., if I train a model using the command line interface, I might want to load it into R to look the histogram of the weights. Or I might want to train a model in R and then apply it using a command line interface. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/
2012 Aug 27
1
matrix.csr %*% matrix --> matrix
...d by a regular one, the result is usually not sparse. However, when matrix.csr is multiplied by a regular matrix in R, a matrix.csr is produced. Is there a way to avoid this? Thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://palestinefacts.org http://truepeace.org http://americancensorship.org http://honestreporting.com If you have no enemies, you are probably dead.
2013 Apr 09
0
str on large data.frame is slow on factors with many levels
...rint each factor variable which have a lot of levels. Why? (R version 2.15.3 (2013-03-01) -- "Security Blanket" Platform: x86_64-pc-linux-gnu (64-bit)) -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.10 (quantal) X 11.0.11300000 http://www.childpsy.net/ http://pmw.org.il http://palestinefacts.org http://mideasttruth.com http://americancensorship.org http://camera.org Garbage In, Gospel Out