search for: zanne

Displaying 6 results from an estimated 6 matches for "zanne".

Did you mean: anne
2008 Dec 16
8
sliding window over a large vector
Hi all, I have a very large binary vector, I wish to calculate the number of 1's over sliding windows. this is my very slow function slide<-function(seq,window){ n<-length(seq)-window tot<-c() tot[1]<-sum(seq[1:window]) for (i in 2:n) { tot[i]<- tot[i-1]-seq[i-1]+seq[i] } return(tot) } this works well for for reasonably sized vectors. Does
2008 Dec 24
2
Using 'cat' on data frame
Dear all, I have the following data frame: > raw.count Var1 Freq 1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 707 2 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC 14 3 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAT 3 But why when printint it using 'cat', it doesn't print the desired string "AAA" ? > cat(raw.count$Var1,
2008 Dec 24
1
selecting a subset of a matrix based on a value occurring in 5 records
Hello, >I am hoping for some advice as to how I might create a subset of a >matrix. The matrix is 176 x 3530. The rows are individual records >and the columns words. I want to create a new matrix that only >consists of words which occur in at least 5 records. For example, >if column 7 is "charges" and this only appears in 4 records/rows >this variable would not
2007 Oct 03
0
Call for participation: Comparative Methods in R Hackathon
...that the funds, as well as the space, for this event are limited, and the organizers need to balance the skills of the attendees, so not all qualified applicants can be guaranteed acceptance. The Organizing Committee From NESCent: Hilmar Lapp, Brian O'Meara, Samantha Price, Todd Vision, Amy Zanne From UC Berkeley: Steven Kembel
2007 Dec 20
2
factor manipulation: edgelist to a matrix?
Hello All, I have had considerable bad luck with attempting the following with for loops. Here is the problem: # Suppose we have a data.frame with the following data, which can be considered a type of edgelist (for those with networks backgrounds): # # V1 V2 # 1 A # 1 A # 1 B # 2 A # 3 C # 3 A # 3 C # 3 B # # I want the output of the function to produce a matrix, such that #each factor of
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 ++++