search for: thereligionofpeac

Displaying 20 results from an estimated 23 matches for "thereligionofpeac".

Did you mean: thereligionofpeace
2012 Mar 14
2
sum(hist$density) == 2 ?!
...gt; h <- hist(x,plot=FALSE, breaks=(-4:4)) > sum(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'?
...gt; 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.
2017 Nov 09
2
[R-pkgs] Release of ess 0.0.1
...the existence of ESS (Emacs Speaks Statistics - https://ess.r-project.org/) the package name "ess" seems unfortunate. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504 http://steingoldpsychology.com http://www.childpsy.net http://iris.org.il http://mideasttruth.com http://thereligionofpeace.com https://jihadwatch.org MS Windows: error: the operation completed successfully.
2012 Nov 19
2
generated list element names
...<- paste("f","oo",sep="") > z $foo [1] 10 --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://thereligionofpeace.com http://truepeace.org Unix roulette: `dd if=/dev/urandom of=/dev/kmem bs=1 count=1 seek=$RANDOM`
2012 Oct 18
3
how to concatenate factor vectors?
...-----end--------------->8--- so, unlist(list()) works. is there a better way or is this how this is supposed to be done? Thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://honestreporting.com http://think-israel.org http://thereligionofpeace.com http://mideasttruth.com (lisp programmers do it better)
2013 Apr 21
1
cedta decided 'igraph' wasn't data.table aware
...ccepts data.frame as the first argument. the igraph maintainers say that "it is not coming from igraph". thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.10 (quantal) X 11.0.11300000 http://www.childpsy.net/ http://www.PetitionOnline.com/tap12009/ http://memri.org http://thereligionofpeace.com http://jihadwatch.org Growing Old is Inevitable; Growing Up is Optional.
2011 Jul 12
1
how to find out whether a string is a factor?
...op1000$V1,] ysmd.rest <- ysmd[ysmd$X.stock "not in" top1000$V1,] but how so I check whether a string is a member of a factor? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http://truepeace.org http://camera.org http://thereligionofpeace.com http://pmw.org.il Professionalism is being dispassionate about your work.
2011 Feb 15
4
string parsing
....g., the hash table value is a data frame. A structure(record?) seems more appropriate. thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) http://pmw.org.il http://ffii.org http://camera.org http://honestreporting.com http://iris.org.il http://mideasttruth.com http://thereligionofpeace.com I haven't lost my mind -- it's backed up on tape somewhere.
2012 Sep 19
2
drop zero slots from table?
I find myself doing --8<---------------cut here---------------start------------->8--- tab <- table(...) tab <- tab[tab > 0] tab <- sort(tab,decreasing=TRUE) --8<---------------cut here---------------end--------------->8--- all the time. I am wondering if the "drop 0" (and maybe even sort?) can be effected by some magic argument to table() which I fail to discover
2011 Aug 16
2
merge(join) problem
...argest Time. How do I do that? unique() seems to have the right name, but I don't see how it can help me... tia. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://jihadwatch.org http://honestreporting.com http://ffii.org http://camera.org http://thereligionofpeace.com UNIX is a way of thinking. Windows is a way of not thinking.
2012 Oct 16
5
uniq -c
...5377L, 4475378L, 4475379L, 5500564L, 7871329L, 7871330L, 8670694L), class = "data.frame") --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://thereligionofpeace.com http://dhimmi.com http://ffii.org http://truepeace.org http://mideasttruth.com Bus error -- please leave by the rear door.
2011 Dec 21
4
qqnorm & huge datasets
...e loaded by acroread or evince. Any suggestions? (apart from sampling the data). Thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://mideasttruth.com http://honestreporting.com http://camera.org http://openvotingconsortium.org http://pmw.org.il http://thereligionofpeace.com A person without flaws probably lacks strengths either.
2006 May 11
3
cannot turn some columns in a data frame into factors
...st column), and it is indeed turned into a factor 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.
2011 Jul 11
1
plot means ?
...mean(yj such that |xj - xi|<epsilon) (running mean?) alternatively, discretize X as if for histogram plotting and plot mean y over the center of the histogram group. is there a simple way? thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://thereligionofpeace.com http://camera.org http://jihadwatch.org http://palestinefacts.org http://pmw.org.il http://ffii.org Flying is not dangerous; crashing is.
2012 Jan 18
1
drop rare factors
...n% c("A","B"))]] except that I probably got the syntax 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 Feb 13
1
entropy package: how to compute mutual information?
suppose I have two factor vectors: x <- as.factor(c("a","b","a","c","b","c")) y <- as.factor(c("b","a","a","c","c","b")) I can compute their entropies: entropy(table(x)) [1] 1.098612 using library(entropy) but it is not clear how to compute their mutual information
2012 Aug 10
1
summarize a vector
...length=ceiling(N/k)) > for (i in 1:length(w)) w[i] <- sum(v(i*k:(i+1)*k)) (modulo boundary conditions) but I wonder if there is a better way. thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://think-israel.org http://thereligionofpeace.com http://dhimmi.com http://truepeace.org http://www.PetitionOnline.com/tap12009/ Type louder, please.
2013 Sep 10
1
[PATCH] show vector length in summary()
...; = length(object)) if(any(nas)) c(qq, "NA's" = sum(nas)) else qq Diff finished. Tue Sep 10 10:19:40 2013 -- Sam Steingold (http://sds.podval.org/) on Ubuntu 13.04 (raring) X 11.0.11303000 http://www.childpsy.net/ http://dhimmi.com http://openvotingconsortium.org http://thereligionofpeace.com http://www.memritv.org http://camera.org Between grand theft and a legal fee, there only stands a law degree.
2012 Mar 26
2
Error during wrapup: incorrect number of dimensions
...s it a vector, not a matrix? Browse[1]> loopless [1] 0 1 Browse[1]> loopless[,1] Error during wrapup: incorrect number of dimensions -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://iris.org.il http://truepeace.org http://thereligionofpeace.com http://camera.org http://www.memritv.org Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots.
2017 Nov 10
1
[R-pkgs] Release of ess 0.0.1
...ts (ESS includes some R code, And I wouldn?t wonder if they would like to include it in a package?). > > -- > Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504 > http://steingoldpsychology.com http://www.childpsy.net http://iris.org.il > http://mideasttruth.com http://thereligionofpeace.com https://jihadwatch.org > MS Windows: error: the operation completed successfully. > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the pos...