search for: deig

Displaying 6 results from an estimated 6 matches for "deig".

Did you mean: debg
2005 Jan 13
6
random samples
hi, I am encoutering a very little problem that seemed to be so easy to solve.... I need to divide the array > A<-c(1:200) into two subsets at random. Therefore I use the function "sample" in R: > S<-sample(A,100) for a random sample of size 100. Then I need the values in A that are not selected in S to be put in another array, there is my problem! Is there anyway to do
2005 Jan 14
5
subsampling
hi, I would like to subsample the array c(1:200) at random into ten subsamples v1,v2,...,v10. I tried with to go progressively like this: > x<-c(1:200) > v1<-sample(x,20) > y<-x[-v1] > v2<-sample(y,20) and then I want to do: >x<-y[-v2] Error: subscript out of bounds.
2005 Jan 01
4
plot
Is it possible to make multiple plots i.e. to represent more than one function on the same figure? Thank you Email: botti23@libero.it [[alternative HTML version deleted]]
2005 Jan 12
4
(no subject)
hi, I am trying to grow a classification tree on some data, but I have a little problem. In order to do so I have to use a function like "tree" in R and on the internet help(tree) I get the following: "The left-hand-side (response) should be either a numerical vector when a regression tree will be fitted or a factor, when a classification tree is produced" I would like to
2004 Dec 17
0
(no subject)
> -----Original Message----- > From: NICOLAS DEIG > > hello, > > i am encoutering problems with a function of R concerning the > classification trees. > > In the library {tree}, when I use the function "tree" to grow a ^^^^^^^ That should be "package"... > classification tree it should giv...
2004 Dec 22
0
(no subject)
...a data frame named `data', why do you call tree() with the formula V1 ~ X1? Where is V1? `data' is the name of a built-in R function. Try using some other name for the data frame. Also, give us the output of traceback() after the error occur. That should help. Andy > From: NICOLAS DEIG > > hello, > > I am encoutering problems with a function of R. > The function is for classification trees. > > I am working on datas of this kind: > > X1 X2 X3 X4 X5 class > 1 2.092 1.902 2.779 2.944 1.946 1 > > for 200 observa...