search for: categorise

Displaying 20 results from an estimated 58 matches for "categorise".

Did you mean: categories
2009 Nov 23
2
categorisation of continuous variables in R
Dear all, I'm looking for a function comparable to switch, to categorize a continuous variable in a few levels. Off course that can be done with a series of ifelse statements, but that looks rather clumsy. I looked at switch, but couldn't figure out how to use it for this. I guess that's not possible, as it only works with characters or integers, not with intervals. Basically,
1999 Feb 18
1
Fishers exact test
Dear All, R keeps crashing when I use fisher.test . I'm using it on 2 x c (where c varies from 2 to 7) table, the total number of counts is 918. It does work with some of the categorisations of the data, but it's failing on those categorisations where the Chi-squared approximation breaks down due to small expected counts. A conglomeration of categories is not feasible. Is my memory too
2011 May 08
2
help with mysql and R: partitioning by quintile
....g u1,1,10 u1,2,100 u1,3,110 u1,4,200 u1,5,120 u1,6,130 . u2,1,23 . . where "frequency" is the number of times a music track is played by a "userid" I need to turn my 'frequency' table into a rating table (it's for a recommender system). So, for each user, I need to categorise the frequency of tracks played by quintile so that each particular track can have 5 ratings (1-5), with the ratings allocated as follows: inter-quintile range 100-80% = rating 5, inter-quintile range 80-60% = rating 4, ..., inter-quintile range 20-0% = rating 1) Hence, I need to create a table w...
2006 Mar 14
2
[OT] Comments wanted on use of bitwise op
Here''s the scenario. I have a main tree-like table (actually it''s more of a hierarchy), where the entries (or at least some of them) can be categorised as one or more of a fixed number of types (prob about 6 poss types). So an entry could be a Type A and a Type D; a Type C, D, E; just a Type F; etc. Having a join table would seem like it might get rather expensive since I''m going to want to know the types each time I call an entry. S...
2013 Feb 13
1
[LLVMdev] Overhauling the command-line processing/codegen options code
...yone currently working on overhauling the command-line processing code? > I'm currently doing some work on the CommandLine library but I don't think my work is going to help you. I'm current working on... - Allowing declared command line options to be put into categories to allow a categorised --help for tools - Providing an iterator so that clients can iterate through registered command line options and programmatically hide options. I did send out an e-mail about the idea last week ( http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-February/059129.html ) but didn't hear anything b...
1998 Nov 10
1
Pivoting a data.frame
...is being used sometimes to describe this, I believe). B1 B2 B3 1 0.3 0.2 0.2 2 0.4 0.2 0.1 3 0.3 NA NA 5 NA 0.4 0.2 6 NA 0.1 NA [Data Frame 22] As you see above, the columns of Table 1 is rearrange to categorise the third column (in terms of Col1 and Col2). I wonder whether anybody here could help me to code this in S-Plus or R, or point me on the direction how to do this. Many Thanks, Athula. -- Athula Herath, PhD, CEng, MBCS, Biostatistician Oxford GlycoSciences,10, The Quadrant Abingdon Scien...
2008 Jun 02
1
Ancova: formula with a common intercept
I have some data with two categorises plus/minus (p53) and a particular time (Time) and the outcome is a continuous vairable (Result). I set up a maximum model. ancova <- lm(Result~Time*p53) > summary(ancova) .. Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 0.05919 0.55646 0.106 0.916...
2012 May 01
1
btrfs on low end and high end FLASH
How well suited is btrfs to low-end and high-end FLASH devices? Paraphrasing from a thread elsewhere: FLASH can be categorised into two classes, which have extremely different characteristics: (a) the low-end (USB, SDHC, CF, cheap ATA SSD); and (b) the high-end (SAS, PCIe, NAS, expensive ATA SSD). My own experience is that the low end (a) can have erase blocks as large as 4MBytes or more and they are easily worn out t...
2004 Sep 17
2
lattice: bwplot and panel.lmline()
On Friday 17 September 2004 13:52, RenE J.V. Bertin wrote: > Hello again, > > I am doing regressions (using panel.lmline() (and panel.abline( > rlm(...))) ) inside a panel method which I pass to bwplot(). > > What I would like to do is create a boxplot of categorised data > (binned on the independent variable), and superpose a regression line > which is calculated using the non-categorised, raw data. I expect > that would give more accurate regression results even if a bwplot > panel used 'world' co-ordinates. > > My initial idea was...
2010 Jan 15
1
Best method
...quation "chance_to_present_symptom ~ variables": Y~X1+X2+X3 Y is not linear value with normal distribution. Y describe something like chance of to have symptom. I can't use linear regression, but something like logistic regression. Logistic is only for two (or more) Y value which is categorised not linear. Thank for any advice. -vladimir-
2009 Feb 18
2
Counting/processing a character vector
Dear List, I have a data set stored in the following format: > head(dat, n = 10) id sppcode abundance 1 10307 10000000 1 2 10307 16220602 2 3 10307 20000000 5 4 10307 20110000 2 5 10307 24000000 1 6 10307 40210000 83 7 10307 40210102 45 8 10307 45140000 1 9 10307 45630000 1 10 10307 45630600 41 >
2012 May 21
2
[LLVMdev] VMKit build broken
...eGen/Release+Asserts/CGCleanup.o] Error 1 make[4]: Leaving directory `/home/ganapathy/projects/llvm/tools/clang/lib/CodeGen' make[3]: *** [CodeGen/.makeall] Error 2 make[3]: Leaving directory `/home/ganapathy/projects/llvm/tools/clang/lib' I have filed a bug for this as well. I might have categorised it wrong as there was no category for vmkit there. Can someone help me with this ? If people can give pointers, I can try to fix this as well. Thanks -- Thank you Balachandran Sivakumar Arise Awake and stop not till the goal is reached.                                                          ...
2004 Oct 05
4
U32 Port Range
Hi all... How do i set U32 to filter a port range, instead of a single port? In normal use: source port 80 we use: "... match ip sport 80 0xffff ..." - I know that is something about the 0xffff parameter.... I need to filter ports 1 ~ 1024 to a higher priority class... i tried with IPTABLES MARK and TC FW, but it''s not working.... (...) # iptables -t mangle -A PREROUTING -p
2007 May 02
3
acts_as_tree related question
hi, I''ve a normal Category model implemented with acts_as_tree (name, parent_id) that has_many :products (name, category_id). What I''m asking for is a method to fetch every product that belongs fall into a particular category and its children, eg: if I''m asking for a root node (/category/show/1) I need to display every product that have category_id = 1 AND every product
2017 Jun 01
4
Data import R: some explanatory variables not showing up correctly in summary
Hi Tara, It seems that you categorise and count for each category. Could it be that the method you use puts everything that doesn't match the predefined categories in Other? I'm only guessing because without a minimal reproducible example it's difficult to do anything else. Best wishes Ulrik Rui Barradas <ruipbarrada...
2005 Mar 28
1
glmmPQL questions
I am looking a risk factors for disease in cattle and am interested in modelling farm and sampling cluster as random effects (My outcome is positive or negative at the level of the farm). I am using R version 2.0.1 on a Mac and have identified glmmPQL as hopefully the correct function to use. I have run a couple of models using this but was hoping that you might be able to answer a few questions.
2009 Apr 17
2
Generate bivariate binomial data
Dear all, Could someone point me to a function or algorithm to generate random bivariate binomial data? Some details about what I'm trying to do. I have a dataset of trees who were categorised as not damaged or damaged. Each tree is measured twice (once in two consecutive years). The trees can recover from the damage but the data is clearly correlated. As a (un)damaged tree is more likely to stay (un)damaged. A GEE-model indicates a correlation of about 0.6 between the measures on the s...
2016 Sep 28
2
Good Bye SAMBA?!?!?
..., etc. etc. What is important to one person may > not be important to another, and so on. > > Having said that, the way in which feedback is given is important; and > there is also a question as to whether the thread belongs on this list > or in another forum..? Much of this could be categorised into a wider > Windows vs Linux debate, or commandline vs GUI, I think - the OP seems > to be conflating Linux and Samba together. > And, I think we don't understand his problem because he hasn't actually stated his problem. What were his commands that kept "trying over and...
2010 Aug 28
1
Matchspy and faceting
Have been working recently on a site that classifies posts using tags in taxonomies, so a post about the Oil spill in the Gulf of Mexico might be tagged 'Subscribers only' (access level), 'Barack Obama' (person), 'Tony Hayward' (person), 'BP' (company), 'Transocean' (company), 'Gulf of Mexico' (location). With some advice from Richard Boulton I
2017 Jun 01
0
Data import R: some explanatory variables not showing up correctly in summary
Check for leading or trailing spaces in the strings in your data. dput(dataset) would show them. Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Jun 1, 2017 at 8:49 AM, Ulrik Stervbo <ulrik.stervbo at gmail.com> wrote: > Hi Tara, > > It seems that you categorise and count for each category. Could it be that > the method you use puts everything that doesn't match the predefined > categories in Other? > > I'm only guessing because without a minimal reproducible example it's > difficult to do anything else. > > Best wishes &g...