search for: class4

Displaying 14 results from an estimated 14 matches for "class4".

Did you mean: class
2012 Aug 07
5
summing and combining rows
...oup based on a certain variable. I'm pretty sure rowsum() or rowsums() can do this but it's difficult for me to figure out how it will work for my data based on the examples I've read. My data are structured like this: Plot SizeClass Stems 12 Class3 1 12 Class4 3 17 Class3 5 17 Class4 2 I simply want to sum the size classes by plot and create a new data frame with a size class called "Class34" or with the SizeClass variable removed. I actually do have other size classes that I want to leave alone,...
2011 Oct 10
4
Type of Graph to use
Hi, Please advice on what type of graph can be used to display the following data set. I have the following: Name Class a Class 1 a Class4 b Class2 b Class1 d Class3 d Class5 e Class4 e Class2 So each entry in name can belong to more than one class. I want to represent the data as to see where overlaps occur that is which names are in the same Class Name and also...
2004 Jun 18
0
Problem with setValidity() or resetClass() or ... ?
...neric("name", function(object) standardGeneric("name")) setMethod("name", "Class1", function(object) object@name) setClass("Class2", representation("Class1")) setClass("Class3", representation("Class2")) setClass("Class4", representation("Class3")) setClass("Class5", representation("Class4")) getClass("Class3") # as I expected Class3Def <- getClassDef("Class3", where = topenv(parent.frame())) ## the following is called in setValidity() via resetClass() ##...
2005 Nov 06
2
cox models
...umber of level but i don't really know. Please can you help me? Class Levels: 1 2 3 4 5 coxph(formula = Surv(delai.etat, etat) ~ class, data = igr1) coef exp(coef) se(coef) z p class2 -0.093 0.911 0.245 -0.38 7.0e-01 class3 -0.749 0.473 0.286 -2.62 8.9e-03 class4 -0.600 0.549 0.343 -1.75 8.0e-02 class5 -0.874 0.417 0.197 -4.44 8.9e-06 Likelihood ratio test=24.9 on 4 df, p=5.28e-05 n=740 (1 observations deleted due to missing) Thanks for your help Bertrand
2008 Mar 25
2
ggplot2 - facetting
...upid, because I always get an error, even if it seems I am doing everything like the examples. My code is below. set.seed(123) plotdata2<-data.frame(x=rep((1:4),4), y=rep(0.1*(1:4),4), group=sample(factor(rep(1:4,rep(4,4)), labels=c('Class1', 'Class2', 'Class3', 'Class4')))) plotdata2 <- plotdata2[order(plotdata2[,'group']),] plot0<-ggplot() layer1<-layer(data=plotdata2, mapping=aes_string(x='x',y='y'),geom='point', stat='identity') scaleY<-scale_y_continuous() scaleX <- scale_x_continuous() Facets<-fa...
2002 Aug 07
1
No subject
...;d like to run some simple regressions that look something like this: lm(length ~ elapsed) I'd like to do the regressions several times, split out by questionkey, student, class. What I've been doing is using a series of which's to create new data sets (e.g. class1, class2, class3, class4) and running the regressions (or whatever) against each of those new data sets. It seems that there should be better a way to do this. -- Jay Pfaffman pfaffman at relaxpc.com +1-415-821-7507 (H) +1-415-810-2238 (M) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2005 Jun 27
3
Bad Bad Performance; Max 20 Calls on Quad Proc?
Here is the setup: Dell 6250, Quad Proc P3 500Mhz. Digium Single Span T1 card. System has 71 sip peers/users. All calls are G729; we have 10 licenses. All calls follow this path: UA -> Asterisk -> Digium PRI -> Class4/5 switch. The switch dictates if it should go out local PRI for local termination or out PRI to our Cisco AS5300 for LD termination. Our biggest problem is echo. Sometimes there is none, sometimes there is A LOT, sometimes there is a little. Sometimes it happens on local PRI->PRI calls, some...
2005 Aug 04
1
exact goodness-of-fit test
Hello, I have a question concerning the R-function chisq.test. For example, I have some count data which can be categorized as follows class1: 15 observations class2: 0 observations class3: 3 observations class4: 4 observations I would like to test the hypothesis whether the population probabilities are all equal (=> Test for discrete uniform distribution) If you have a small sample size and therefore a sparse (1xr)-table, then assumptions for chisquare-goodness-of-fit test are violated (the numbers e...
2012 Jan 26
2
R extracting regression coefficients from multiple regressions using lapply command
...set the data by states PUFnum <- subset(PUF, state==num) #Attach data set with state specific data attach(PUFnum) #Run our prediction regression #the variables class1 through e19700 are the 27 covariates I want to use regression <- lapply(PUFnum, function(z) lm(z ~ class1+class2+class3+class4+class5+class6+class7+xtot+e00200+e00300+e00600+e00900+e01000+p04470+e04800+e09600+e07180+e07220+e07260+e06500+e10300+e59720+e11900+e18425+e18450+e18500+e19700)) Beta <- lapply(regression, function(d) d<- coef(regression$d)) detach(PUFnum) } Thanks, Mike [[alternative HTML version delete...
2004 Aug 18
4
Gamest and QoS
Hi I share my bandwith (adsl 512/128) between 12 users. I set up simple qos script for incoming (IMQ) and outgoing traffic using htb in root, 4 classess and esfq qdisc at leafs. Interactive traffic goeas to class1 , http,mail etc. to class2, p2p, ftp to class3, and rest to class4. Classess divide link in proportion 20% (prio 1), 40% (prio 2), 20% (prio 3) ,20% (prio 4) This works very well when users surfing internet (www,mail, ssh), but is insufficient when i really need low, stable latency for example for games. Games traffic is in class1. Without QoS, while...
2010 Nov 03
2
[klaR package] [NaiveBayes] warning message numerical 0 probability
Hi, I run R 2.10.1 under ubuntu 10.04 LTS (Lucid Lynx) and klaR version 0.6-4. I compute a model over a 2 classes dataset (composed of 700 examples). To that aim, I use the function NaiveBayes provided in the package klaR. When I then use the prediction function : predict(my_model, new_data). I get the following warning : "In FUN(1:747[[747L]], ...) : Numerical 0 probability with
2009 Apr 01
1
VAR with binary endogenous variables
Hi all! Does anyone know if a vector autoregression package is avaialable that allows binary variables as part of the endogenous system? I'm looking for something along the lines of what is implemented in "Dynamic Forecasts of Qualitative Variables: A Qual VAR Model of US Recessions" by Michael Dueker, 2003, Fed Reserve Bank of St. Louis. Another possibility is the autoregressive
2006 Feb 11
9
Upgrading to Ruby 1.8.4 and strange problems!
Hi folks, There is a strange problem here, I''ve installed the latest version of One-Click Ruby installer [1.8.4-16 preview3], everything went fine, and after that I''ve installed Rails 1.0. No problem in setup process, but now, when I try run my rails application, there are many strange things happening. In one my application no CSS apply, looks like there is no CSS file, and
2012 Jan 18
4
R-Help
I am trying to create a frequency distribution and I am a bit confused. Here are the commands I have entered: > data <- read.csv(file="40609_sortedfinal.csv",head=TRUE,sep=",") > NumberOfActionsByStatus = data$STATUS > NumberOfActionsByUser = data$ETS_LOGIN > NumberOfBidOffer = data$BID_OFFER > NumberOfActionsByUser.freq = table(NumberOfActionsByUser) >