Displaying 3 results from an estimated 3 matches for "verctor".
Did you mean:
vector
2010 Sep 22
3
merge verctor and matrix
hi,
can anyone tell me how to merge a vector and a matrix?
> v=c(1,4,2)
> names(v)=c("e","r","t")
> m=matrix(c("r","t","r","s","e",5,6,7,8,9),nr=5)
> colnames(m)=c("c1","c2")
I want to do like
merge(v, m, by.x="names",by.y="c1")
I got error
Error in fix.by(by.x, x) :
2009 Jun 08
6
Strange indices of support verctors from e1071
Hello,
In the attached file training.csv (I apologize for the large file) I
have 238 objects belonging to 13 classes, which are described by 183
properties. I would like to find a svm model for these objects.
I tried the following R statements.
library('e1071')
datatraining <- read.csv("training.csv",head=TRUE)
names<-names(datatraining)
print("before
2010 Feb 21
2
plot is not keeping the order of variable
...quot;,"2000","1500","1000","log","inverse","1SD","2SD")
and the numerical variable of the data frame has the F values for each one
of those trimming method.
When I ask R to plot it, it doesn''t keep the order of the trimm verctor
correctly and the plot confuses the order so the most left one will be 1500
and then 1SD etc.
The values are correct but it is important for me to keep it in the same
order I built it.
How can I do it?
Thank you very much,
Or D.
[[alternative HTML version deleted]]