Re: [R] Plotting Histogram using histogram() and for loop and Iwant to save the histogram individually ... HELP

2009-11-17 Thread ychu066
Hi again, do you know how can I use the main function to change the title for eac h histogram. i.e that first graph show have a title "Index 1" but because the variable name column starts the 8th the title shows up as "Index 8" , i have tried use main = colnames(data)[i-1] but it result errors

Re: [R] re placing the dates format in R for exporting the data set...

2009-11-17 Thread ychu066
Moreover, I want to rename the column name V1,V2,V3,V4.V146. how do i write the code in R ??? thanks everyone that look at the thread/ ychu066 wrote: > > hi everyone, i am having difficulties with replacing the dates format in R > for exporting the data set... > > eg: the code that i u

[R] HOw to delete a row in the data matrix and change the order of the row ???

2009-11-17 Thread ychu066
hi, i delete row 65,70,75 in my data data<- data[-c(65,70,75),] But i also want the order of the row to match up eg: 67 11111111111111 1 68 11111111111111 1 69 1

Re: [R] SVM Param Tuning with using SNOW package

2009-11-17 Thread cls59
raluca wrote: > > Hello, > > Is the first time I am using SNOW package and I am trying to tune the cost > parameter for a linear SVM, where the cost (variable cost1) takes 10 > values between 0.5 and 30. > > I have a large dataset and a pc which is not very powerful, so I need to > tune the pa

Re: [R] A combinatorial optimization problem: finding the best permutation of a complex vector

2009-11-17 Thread Erwin Kalvelagen
Ravi Varadhan jhmi.edu> writes: > > > When I increased N = 1000, the time was about 1400 seconds! > Not sure of this is important for you: This can be solved much faster. A good solver can solve the n=1000 problem in less than 2 seconds. The Cplex network code shows: Network - Optimal: O

<    1   2