search for: regrouping

Displaying 20 results from an estimated 60 matches for "regrouping".

Did you mean: grouping
2012 Nov 08
3
Regrouping dataframe
...as table heads and the "TYPE " only in individual expression. The result should look like in the example pic. exp4.png <http://r.789695.n4.nabble.com/file/n4648927/exp4.png> I think reshape can do it? Thanks GeO -- View this message in context: http://r.789695.n4.nabble.com/Regrouping-dataframe-tp4648927.html Sent from the R help mailing list archive at Nabble.com.
2009 May 22
1
regrouping factor levels
Hi all, I had some trouble in?regrouping factor levels for a variable. After some experiments, I have figured out how I can recode to modify the factor levels. I would now like some help to understand why some methods work and others don't. Here's my code : rm(list=ls()) ###some trials in recoding factor levels char<-letters[1...
2011 Dec 15
1
Reordering a numeric variable
I'm running a linear model in R using the car package. I have a variable education, which i have recoded and regrouped to my wishes. However, R seems to place each element of that variable in alphabetical order. When I am running the model, don't I need the model order from lowest to highest to make an inference that a one unit change in one variable produced a one unit change in
2018 Jun 01
0
Regroup and create new dataframe
Responses should be copied to r-help using ReplyAll. You are still sending html formatted emails. If you are using Microsoft Outlook, click the Format Text tab and select ?Aa Plain Text?. No one has asked you to reveal the data set, only to create one with a similar structure. Is the data I sent reasonably close? What should it look like after it is transformed? David C From: nguy2952
2018 Jun 01
0
Regroup and create new dataframe
No html!, Copy the list using Reply-All. The data frame group_PrivateLabel does not contain variables called Product_Name or Region. David C From: nguy2952 University of Minnesota <nguy2952 at umn.edu> Sent: Friday, June 1, 2018 2:13 PM To: David L Carlson <dcarlson at tamu.edu> Subject: Re: [R] Regroup and create new dataframe Hi David, your example is perfect! I am still
2011 Apr 07
2
Regrouping data
Dear R forum I have just started my venture with R. While I am trying to learn R through the tutorials, I think the current problem I need to address to is beyond my knowledge about R. I have a dataframe as defined below - rat_dat = data.frame(name = c("A", "A", "A", "B", "B", "B", "C", "C", "C",
2018 Jun 01
4
Regroup and create new dataframe
Hello folks, I have a big project to work on and the dataset is classified so I am just going to use my own example so everyone can understand what I am targeting. Let's take Target as an example: We consider three brands of tape: Target brand, 3M and Avery. The original data frame has 4 columns: Year of Record, Product_Name(which contains three brands of tape), Sales, and Region. I want to
2003 Sep 12
3
factor creation
Another newbie question.... I want to create a factor (say cT)from a numerical variable (sy temp) by regrouping the values in classes (say cT <390, [390,400[,[400,409[...>=550) Is there a simple way of doing that using the factor function? AND I do not find how to manipulate strings (I want to concatenete characters strings ("abkdas","chjw") into something like ("abkdas;chjw...
2010 Jul 08
2
transformation of data.frame
Hello all R users, I have a problems transforming (or maybe better regrouping) a data.frame. I have a big data.frame, which I would like to sum up according to a specific column. This is an example of my matrix: ID gen 0042787 gen2 0016070 gen2 0016070 gen3 0007409 Gen1 0007409 gen3 0006511 gen2 0006417 gen3 0016070 gen4 0006511 gen4 I want t...
2013 Apr 17
2
Mancova with R
Dear all, I'm trying to compare two sets of variables, the first set is composed exclusively of numerical variables and the second regroups factors and numerical variables. I can't use a Manova because of this inclusion of numerical variables in the second set. The solution should be to perform a Mancova, but I didn't find any package that allow this type of test. I've already
2005 Jan 19
2
recoding large number of categories (select in SAS)
Hi, I have data on stomach contents. Possible prey species are in the hundreds, so a list of prey codes has been in used in many labs doing this kind of work. When comes time to do analyses on these data one often wants to regroup prey in broader categories, especially for rare prey. In SAS you can nest a large number of "if-else", or do this more cleanly with "select"
2014 Jan 13
4
[LLVMdev] test suite 'owner'
Hi Eric, Could you explain the intent and policy regarding the test-suite body of code. Should the test be left as much as possible as-is (even if technically incorrect)? Should changes only affect the XCore target (#ifdef) or should all targets get the changes? Taking "int32_t main" as an example. The correct return type & argc for main is 'int'. In the XCore tool chain,
2012 Oct 28
2
Syslinux docs for core variants and installers
I'm currently in the process of trying to convert the existing core documentation (doc/syslinux.txt for starters) to AsciiDoc which can be used to generate man pages for installed systems, HTML for the website and possibly cleaner text file output (along with various other possibilities). I'm also doing a bit of editing as I go with the goals of being correct, complete, clear and concise,
2008 Jul 19
1
Discretize continous variables....
Hi R helpers, I'm preparing dataset to fir logistic regression model with lrm(). I have various cointinous and discrete variables and I would like to: 1. Optimaly discretize continous variables (Optimaly means, maximizing information value - IV for example) 2. Regroup discrete variables to achieve perhaps smaller number of level and better information value... Please suggest if there is
2017 Jan 31
0
Linking Linux kernel with LLD
...nal stream. However this means that the stream below: "(foo)" is always lexed to 3 tokens (2 for the brackets and one for the identifier). The Parser then has the context on how to process these tokens. My example has some drawbacks. By always splitting into the basic tokens and possibly regrouping you'll need more rellocations for processing. And therefore losing performance. However i find this approach simple to test and write tests for. 2017-01-31 10:47 GMT+01:00 George Rimar via llvm-dev < llvm-dev at lists.llvm.org>: > >> I have a question also. You added -m elf_i38...
2017 Jan 31
2
Linking Linux kernel with LLD
>> I have a question also. You added -m elf_i386 to workaround emulation conflict issue in LLD, do you know >> does output produced by BFD boot fine after that change ? >Doesn't seem to affect BFD at all. Thanks ! ?George. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Oct 25
2
[LLVMdev] [RFC] What options should be hidden/not-hidden for opt command
Hi, all Take the discussion thread [1] as an example. Although "-help-hidden" is not intended to be use by normal folk, I think there should be somewhere notes "-help-hidden" revealing more options which might be needed by developers. I thought it will be a good idea to mention the existence of "-help-hidden" on the web page, but the patch I sent brought some
2020 Sep 09
1
[PATCH v2 2/7] kernel/resource: move and rename IORESOURCE_MEM_DRIVER_MANAGED
On Tue, Sep 08, 2020 at 10:10:07PM +0200, David Hildenbrand wrote: > IORESOURCE_MEM_DRIVER_MANAGED currently uses an unused PnP bit, which is > always set to 0 by hardware. This is far from beautiful (and confusing), > and the bit only applies to SYSRAM. So let's move it out of the > bus-specific (PnP) defined bits. > > We'll add another SYSRAM specific bit soon. If we
2006 Oct 10
2
rarefy a matrix of counts
Hi all, I have a matrix of counts for objects (rows) by samples (columns). I aimed for about 500 counts in each sample (I have about 80 samples) and would now like to rarefy these down to 100 counts in each sample using simple random sampling without replacement. I plan on rarefying several times for each sample. I could do the tedious looping task of making a list of all objects (with its
2010 Jul 08
1
Query about using timestamps returned by SQL as 'factor' for split
I have a simple query as follows: "SELECT m_id,sale_date,YEAR(sale_date),WEEK(sale_date),return_type,DATEDIFF(return_date,sale_date) AS elapsed_time FROM risk_input" I can get, and view, all the data that that query returns. The question is, sale_date is a timestamp, and I need to call split to group this data by m_id and the week in which the sale occurred. Obviously, I would