search for: obser

Displaying 4 results from an estimated 4 matches for "obser".

Did you mean: ober
2011 Oct 08
2
Connecting points over missing observations in Lattice
Hello, I'm trying to plot connected time series of two variables in a lattice plot: xyplot(y1 + y2 ~ t, data=size, type="b") y2 has missing data for some of the observations and some points are therefore not connected. It would make theoretical sense to connect the points - is there a way of doing that? (Without filling the obserations using package 'zoo'). Thanks, Allan -- DrAllan Sikk Lecturer in Baltic Politics University College London, Sch...
2011 Jun 02
1
Help in a project
To whom it may concern, I am a new user to R and I need help in my if and for statements as I need a place marker. I would like to convert the following table: Observation | Variable 1 --------------------|------------- 1 | 10000 2 | A 3 | 631 Into : Observation| Variable 1 | Variable 1 Flag ----------------|------------------|------------------ 1 | 10000 | NA 2 | NA | A 3 | 631 | NA please note | represents another column. this is for a large data set...
2009 Apr 30
1
unexpected behavior of rpart 3.1-43, loss matrix
Hi, I just noticed that rpart behaves unexpectecly, when performing classification learning and specifying a loss matrix. if the response variable y is a factor and if not all levels of the factor occur in the observations, rpart exits with an error: > df=data.frame(attr=1:5,class=factor(c(2,3,1,5,3),levels=1:6)) > rpart(class~attr,df,parms=list(loss=matrix(0,6,6))) Error in (get(paste("rpart", method, sep = ".")))(Y, offset, parms, wt) : Wrong length for loss matrix note that w...
1999 Feb 02
1
Survivors and bugs ...
Two questions: I have a lot of data for which the last of each of the repeated individual obserations is censored. Apart from the suite in survival, which seems to be very complex to a new R user, is there any other simple function that exists in CRAN library (I have most of these but haven't found one!) that is essentially the same as lm() but with an additional censor argument (vector...