search for: larocque

Displaying 10 results from an estimated 10 matches for "larocque".

Did you mean: baroque
2009 Aug 31
4
Simple column selection question- which and character lists
Dear R-list, Seems simple but have tried multiple approaches, no luck. I have a list of column names:
2006 Apr 16
0
TCP/UDP broken checksums redux (with UDP workaround)
...ev->features = NETIF_F_IP_CSUM; + netdev->features = 0; SET_ETHTOOL_OPS(netdev, &network_ethtool_ops); SET_MODULE_OWNER(netdev); 1. I can''t guarantee this is a correct modification; does it look like I know what I''m doing? -- J.P. Larocque is <piranha@thoughtcrime.us> and <piranha@ely.ath.cx> Encrypted/signed e-mail preferred; http://ely.ath.cx/~piranha/pgp Fpr 5612 10A8 4986 2D85 A995 252B 4C02 5E02 F61D 2E61; ID 0xF61D2E61 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource...
2009 Jul 09
0
Programming using formulas
...fine the hierarchical structure, is it the "|" and how can I restrict the number of hierarchical levels? And how to use in this context, the data, subset, weights and na.action arguments? In case you are wondering what I plan to implement, one references for example is: Haataja, R., Larocque, D., Nevalainen, J. and Oja, H. (2009). A weighted multivariate signed-rank test for cluster-correlated data. Journal of Multivariate Analysis, 100, 6, 1107-1119. Thanks you very much for your help in advance! Best wishes, Klaus -- Klaus Nordhausen Researcher Tampere School of Public Health...
2009 Dec 04
2
Class attributes
Dear R forum, I want to replace all the elements in a data frame (dd) which match the character "x" with "0". What's the most elegant way of doing this (there must be an easy way which I've missed)? I settled on the following loop: >for(i in 5:12){ # These are the column of dd I am interested in >dd[which(dd[,i]=="x"),i]<-0 >} The
2009 Jan 07
4
Another newbie question
Problem: I have a data frame with 1s and 0s denoting presence/absence of species (columns) for particular plot measurements (rows). What I want to do is make a new column whose entries for each row is a list of the column names in which a species is present (ie. for row one its entry might read: "sp1","sp2", etc.). I've tried various functions etc. but can't seem to
2009 Apr 01
1
Noobie ANOVA intercept question
Dear R list, I've been attempting to interpret the results from a three-way ANOVA. I think I understand contrasts and the R defaults for these (treatment contrasts). My question is: what is the intercept in this test? As far as I can tell, its NOT the expected value of a point that belongs to the first level of all three explanatory factors (because there is only one point that satisfies these
2008 Dec 17
1
Noobie question, regression across levels
NB: Not reply needed (Ben was extremely helpful!) I've just started using R last week and am still scratching my head. I have a data set and want to run a separate regression across each level of a factor (treating each one separately). The data right now is arranged such that the value of the factor along which I want to "split" my data is one column among many. Best way to do
2009 Aug 25
1
jpeg device loop problem
Dear R gurus, Trying to loop a graphing function and output a jpeg file each loop. It works fine for a single run (ie. not looping) but when I loop the output is nothing but white space. Here is my code, somewhat abridged: { <rest of loop> jpeg(filename=<"name for this loop.jpeg">) xyplot(AbvBioAnnProd~Year|factor(Plot), type = c("b", "r"), pch =
2010 Feb 26
1
Working directories... Again
Dear R forum, I've looked many places for this and figure there must be an easy way to implement. I want to set the working directory in my script to the place where the R code is located. Something like: >setwd(directory where this script is found). Thanks! -Allen -- View this message in context: http://n4.nabble.com/Working-directories-Again-tp1571058p1571058.html Sent from the R
2009 Jan 06
3
Two Noobie questions
1. I have a list of lm (linear model) objects. Is it possible to select, through subscripts, a particular element (say, the intercept) from all the models? I've tried something like this: List[[1:length(list)]][1] All members of the list are similar. My goal is to have a list of the intercepts and lists of other estimated parameters. Is it better to convert to a matrix? How to do this? 2.