search for: catagorize

Displaying 15 results from an estimated 15 matches for "catagorize".

2010 Oct 24
1
best predictive model for mixed catagorical/continuous variables
Would anybody be able to advise on which package would offer the best approach for producing a model able to predict the probability of species occupation based upon a range of variables, some of them catagorical (eg. ten soil types where the numbers assigned are not related to any qualitative/quantitative continuum or vegetation type) and others continuous such as field size or vegetation height.
2012 Jan 13
2
function to replace values doesn't work on vectors
I've got a numeric vector with values ranging from 1 to 5, I would like to catagorize these values like this: 1 becomes catagory 1 3 becomes catagory 3 And everything else in catagory 2. The simple function I wrote beneath works for single numeric data, but for some reason I am unable to feed it vectors. Any help would be appreciated, as I'm fairly new to R. -- View this mes...
2005 Feb 18
3
Barplot - Can't figure it out
Hi, I have two catagorical vectors like this; x = c(1, 2, 4, 2, 1) y = c(2, 4, 2 ,4, 1) I want to set up a barplot with the catagories 1-4 horizontally and number of occurances vertically for each vector x,y. I've tried boxplot(table(x,y), beside=T) and boxplot(c(x,y), beside=T) among others, but can't get it to work...Any ideas? I'd apppreciate any help
2008 Jan 29
2
rpart error when constructing a classification tree
I am trying to make a decision tree using rpart. The function runs very quickly considering the size of the data (1742, 163). When I call the summary command I get this: > summary(bookings.cart) Call: rpart(formula = totalRev ~ ., data = bookings, method = "class") n=1741 (1 observation deleted due to missingness) CP nsplit rel error 1 0 0 1 Error in yval[, 1] :
2003 Feb 09
1
label storage and conversions: DBMS and R
Hi R users, I am new to using DBMS with R for large datasets. Thanks to all who responded with useful suggestion to my earlier postings about using large datasets and DBMS with R. I am writing to get some help about how to design good tables in DBMS to take full advantage of the wonderful built-in facilities in R, like labels. I am using RMySQL client. Because R makes good use of variable
2007 Jun 22
1
Implicit storage tiering w/ ZFS
...e foundation QoSS feature). I''ve searched the forum and inspected the documentation looking for a means to do this, and haven''t found anything, so pardon the post if this is redundant/superfluous. I would imagine this would require something along the lines of: a) the ability to catagorize devices in a zpool with thier "class of storage", perhaps a numeric rating or otherwise, with the idea that the fastest disks get a "1" and the slowest get a "9" (or whatever the largest number of supported tiers would be) b) leveraging the copy-on-write nature of ZFS,...
2009 Sep 04
2
Nested Fixed Effects - basic questions
Hi R people, I have a very basic question to ask - I'm sorry if it's been asked before, but I searched the archives and could not find an answer. All the examples I found were much more complicated/nuanced versions of the problem - my question is much more simple. I have data with multiple, nested fixed effects (as I understand it, fixed effects are specified by the experimental design
2015 Jan 23
1
New to samba development
Hi, I have just started with samba.Can somebody guide me to any introductory bugs can I can fix? Thanks, Navya
2009 Jul 13
0
adjusting survival using coxph
I have what I *think* should be a simple problem in R, and hope someone might be able to help me. I'm working with cancer survival data, and would like to calculate adjusted survival figures based on the age of the patient and the tumour classification. A friendly statistician told me I should use Cox proportional hazards to do this, and I've made some progress with using the
2012 Jan 13
1
Nabble? Was Re: function to replace values doesn't work on vectors
...through the R-help list didn't have all the information that was apparently there: On Fri, Jan 13, 2012 at 11:32 AM, Berend Hasselman <bhh at xs4all.nl> wrote: > > WoutH wrote >> >> I've got a numeric vector with values ranging from 1 to 5, I would like to >> catagorize these values like this: >> >> 1 becomes catagory 1 >> 3 becomes catagory 3 >> And everything else in catagory 2. The simple function I wrote beneath >> works for single numeric data, but for some reason I am unable to feed it >> vectors. Any help would be appreci...
2020 Sep 21
2
Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"
Hello everyone, I am using *mlogit* to analyse my choice experiment data. I have *3 alternatives* for each individual and for each individual I have *9 questions*. I have a response from *516 individuals*. So it is a panel of 9*516 observations. I have arranged the data in long format (it contains 100 columns indicating different variables and identifiers). In mlogit I tried the following
2006 Jan 19
2
gam
Dear R users, I'm new to both R and to this list and would like to get advice on how to build generalized additive models in R. Based on the description of gam, which I found on the R website, I specified the following model: model1<-gam(ST~s(MOWST1),family=binomial,data=strikes.S), in which ST is my binary response variable and MOWST1 is a categorical independent variable. I get the
2004 May 05
4
Analysis of ordinal categorical data
Hi I would like to analyse an ordinal categorical variable. I know how I can analyse a nominal categorical variable (with multinom or if there are only two levels with glm). Does somebody know which command I need in R to analyse an ordinal categorical variable? I want to describe the variable y with the variables x1,x2,x3 and x4. So my model looks like: y ~ x1+x2+x3+x4. y: ordinal factor
2009 Jul 28
5
Summarising Data for Forrest Plots
I tried to post this a few times last week and it seems to have got stuck somehow so I'm trying from a different email in the hope that works. If somehow this has appeared on the list 20 tiems and I never saw any of them I apologize ;-) I'm basically an R-newbie. But I am VERY computer literate. But this has me stumped... All the examples for using the rmeta package to create a
2017 Jun 01
35
.ogg extension and Theora
>Paul E Wrote [snip] >Windows 2000 (although it's the same for all of them) doesn't read in >any mime-type to correctly identify a file, it just uses the extension. [snip] What if, at least for Windows, someone wrote a simple application which when associated with .ogg files and an .ogg file was opened simply read enough of the ogg stream to identify the type of content and then