similar to: Combine subsets by factor level

Displaying 20 results from an estimated 400 matches similar to: "Combine subsets by factor level"

2011 Jan 21
3
complex transformation of data
Dear [R] people Could you please help with following data transformation. Any suggestions, hints, references and even guessing on performing any of the following steps are highly appreciated. Those transformations are crucial for my work. (n_, _n, j_, k_ signify numbers) SOURCE DATA: id cycle1 cycle2 cycle3 ? cycle_n 1 c c c c 1 m m m m 1 f f f f 2 m m m NA 2 f f f NA 2 c c c NA 3 a a
2018 Apr 06
1
InstrItin and SchedWriteRes
Hello Andy, I want to use the existing scheduling models to estimate performance on a subtarget. For that, I am looking at the new llvm-mca tool where they only use SchedReadWrite and state that not supporting Instruction Itineraries is a limitation. I have also read that the Instruction Itineraries allow to model certain things which cannot be represented in the SchedReadWrite however, I am
2011 Jan 22
2
meaning of formula in aggregate function
Dear R community Recently, dear Henrique Dallazuanna literally saved me solving one problem on data transformation which follows: (n_, _n, j_, k_ signify numbers) SOURCE DATA: id cycle1 cycle2 cycle3 ? cycle_n 1 c c c c 1 m m m m 1 f f f f 2 m m m NA 2
2011 Jul 11
3
quantile regression: out of memory error
Hello, I?m wondering if anyone can offer advice on the out-of-memory error I?m getting. I?m using R2.12.2 on Windows XP, Platform: i386-pc-mingw32/i386 (32-bit). I am using the quantreg package, trying to perform a quantile regression on a dataframe that has 11,254 rows and 5 columns. > object.size(subsetAudit.dat) 450832 bytes > str(subsetAudit.dat) 'data.frame': 11253 obs.
2011 Jan 22
0
how to call BayesX in R to see the graph
Hi Everybody, please can you help me how to call BayesX in R in order to see the graph already exist in BayesX Thanks ---------- Forwarded message ---------- From: <r-help-request@r-project.org> Date: Sat, Jan 22, 2011 at 5:00 AM Subject: R-help Digest, Vol 95, Issue 22 To: r-help@r-project.org Send R-help mailing list submissions to r-help@r-project.org To subscribe or
2012 Jun 29
1
Comparing factor level measurments
Hello, I have a data set where there are multiple "cycles" per "patient," and I want to exclude from my data set instances where a variable was not measured every cycle. The difficulty is that the patients have different cycles; some have cycles 1,2, and 3, others only have 1 and 3 (and everything in between). Therefore, I'm having difficulty in in distinguishing between
2012 Jul 18
3
Subsetting problem data
Hello, I need to subset my data to only look at the parts that have "holes" in it. I already have a formula to get rid of inconsistencies, but now I need to look only at the problem data to reconfigure it. In my data set where there are multiple "cycles" per "patient," and I want to highlight the patients who have a variable was not measured every cycle. Here's a
2010 Sep 07
1
how to combine several subsets?
I simply put, > NEVER=subset(infants$bwt,ISNO1) > UNTILPREGNANT=subset(infants$bwt, ISNO2) > ONCENOTNOW=subset(infants$bwt, ISNO3) and I wanna combine those three. I do it like ISNO=NEVER&UNTILPREGNANT&ONCENOTNOW and R tells me 1: In NEVER & UNTILPREGNANT : longer object length is not a multiple of shorter object length 2: In NEVER & UNTILPREGNANT & ONCENOTNOW
2011 Jan 13
2
[PATCH] One more -x to not traverse cyclic bind-mounts
This patch allows one to repeat the '-x' option a third time to stop rsync from traversing potentially cyclic bind mounts that are on the same filesystem. For example, the following scenario would cyclically traverse the bind mounts until the OS (Linux in this case) hits a maximum traversal count, thank goodness. Other OSes may traverse the bind mount indefinitely... su cd mkdir
2008 Sep 11
1
how to calcaulate matrices for two subsets
I am an R beginner and trying to run a market model using event study in R framework. First, I run a market model, that is lm(stock security~SP500 index, subset=Obs[197, 396]) ->result1 Then I get predict results for a new dataset using predict (result1, newdata=Obs[397,399]) ->pred1 Pred1 should have three numbers. Now I need to calculate abnormal return by the formula stock
2001 Apr 19
0
All subsets weighted regression in R ?
To everyone, I am currently doing analysis through Splus but am having severe problems. I am trying to fit all subset weighted regression to a multivariate data set and get PRESS statistics, along with Rsquare, Rsquare adjusted and Mallows Cp for all possible models. Splus, will give me these statistics but the leaps procedure is highly sensitive to nearly singular data matrices (which mine is)
2011 Sep 30
0
All subsets vector autoregression with exogenous variables
Hi, I am trying to fit all subsets for a vector autoregression with exogenous variables. I have been looking at the 'leaps' function but I not sure how to get it to work when lags for each variable are included in the model. I would be really appreciative if someone could provide some links to examples. Thanks in advance! -- View this message in context:
2000 Aug 20
1
Best subsets regression
Hi all, has anyone written a function to do "best subsets" regression similar to the Minitab command? Regards, Murray Jorgensen Murray Jorgensen, Department of Statistics, U of Waikato, Hamilton, NZ -----[+64-7-838-4773]---------------------------[maj at waikato.ac.nz]----- "Doubt everything or believe everything:these are two equally convenient strategies. With either we
2008 May 19
0
boxplot subsets
Hello, I am a new user to R and have a(proabably very basic) question relating to a boxplot with eleven sites in a river system where i measured Chlorophyll a concentrations. The eleven sites are made up of three sites above a point source pollution site; three sites below this pollution source and five sites in a different unaffected river. The following code is for a simple plot of the data
2004 May 18
1
list & calculaton in many df subsets
Hi, have anybody a hint /starting point how i can enlarge my code that's posiible for me make any calculaton's with variables in the 64 subset's. Example: I want calculate difference of two variables inside every of the 64 subset data.frames and getting this value in tList! Many thanks, Christian tasign <- paste("tList[[n]] <- try(dtree[dtree$class02 ==
2016 Apr 23
4
assign color to subsets
Hi I have the following df and I created two subsets but I don't know how to use these subsets as the colors of my plot. data.frame': 36919 obs. of 162 variables $TE :int 38,41,11,52,48,75,..... $TR :int 100,210,548,546,..... $Command :factor W/2229 levels
2016 Apr 24
0
assign color to subsets
my problem is that in Command I have 2229 levels and I want to do subsets based on the names I have in Command. for example if the name has t1 or t2 in it or if it has both of them.and then I need to plot in a way that colors are names with t1,names with t2 and names with both. But now even the grepl I use for the subsets does not work correct! :((( hast1=grepl("t1", df$Command,
2006 Apr 06
1
search on subsets
hi all i am building an experimental php search app on top of xapian (using the xapian-bindings). i want to add a feature so that you can search within a search - search on a subset. i haven't yet started working on it, but as far as i can tell, there seems to be no easy way of doing this. can someone point me in the right direction? thanks alec
2015 Jun 04
0
Does Dovecot allow different clients to subscribe different subsets of IMAP folders?
Hi Steve, I don't think the IMAP protocol has the concept of a "user agent". So there is no way for an IMAP server to distinguish between client programs. You could use POP and poll different mailboxes - but your clients probably don't support that. So you'll have to use different users. But that give you a cool solution: Use shared mailboxes. You could share all
2001 Oct 12
1
More trouble with empty subsets
Here's another curious problem with empty subsets: R> x <- as.factor(1:10) R> x[] <- NA Error in "[<-.factor"(*tmp*, , value = NA) : Argument "i" is missing, with no default Bug, or merely different from S-Plus? -- David Brahm (brahm at alum.mit.edu) Peter Dalgaard <p.dalgaard at biostat.ku.dk> in thread [Trouble with 3-dots] said: