similar to: Removing columns from data frame referenced by column index

Displaying 20 results from an estimated 12000 matches similar to: "Removing columns from data frame referenced by column index"

2010 May 31
1
getting the column name of a data frame
Sir, I want to store the column name of a data frame as a vector and use the vector to remove a column of the data frame ,if required. Thanks, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 10
1
To give column names of a data-frame
Sir, I want to export the results of R in a data frame. So I want to give rownames,columnnames & title to the data-frame.I have applied the following: data.frame(matrix(c(...),nrow=,ncol=),row.names=c("a","b"),col.names=c("c","d"),title="aaa") But, it does not work. Can you help me? Regards, Suman Dhara [[alternative HTML version
2010 Jun 18
2
double integral
Sir, I want to calculate double integral in R. Is there any function to do this? Regards, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 06
2
fitting multinomial logistic regression
Sir, I want to fit a multinomial logistic regression in R.I think mlogit() is the function for doing this. mlogit () is in packege globaltest.But, I can not install this package. I use the following: install.packages("globaltest") Can you help me? Regards, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 04
1
parttioning a matrix corresponding to different levels of y
Sir, I have a problem regarding partitioning a matrix.I state my problem as follows: I have a y vector of length say 1000.Variable y has 4 levels say 0,1,2.Corresponding to each y(response), I have a x-vector(explanatory) as a row of X matrix.Now, I want to partition the X matrix into 3 submatrices say x1,x2,x3 corresponding to each level of y.Is there any function to do this in R or how can I
2010 Jun 05
1
Prediction in discriminant analysis
Sir, I am working with multiclass discriminant analysis.(say response variable has 3classes).In R, using lda(), I get 2 sets of coefficients for the discriminant function.Now, I want to put a new x-vector(vector of independent variables) and want to check it corresponds to which class of y.Is there any formula for doing this? or how can I do this? Regards, Suman Dhara [[alternative HTML
2010 Jun 16
1
generating samples from multivariate distributions
Sir, I want to draw random from any multivariate disrtibution. Is there any function in R to do this? Regards, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 17
1
simulating data from a multivariate dist
Sir, I am working on fitting distribution on multivariate financial data and then simulate observations from that fitted distribution. I use stepAIC.ghyp() function of 'ghyp' library which select the best fitted distribution from generalized hyperbolic distribution class on the given dataset. data(indices) # Multivariate case: aic.mv <- stepAIC.ghyp(indices, dist =
2010 Jun 25
2
installing multicore package
Sir, I want to apply mclapply() function for my analysis. So, I have to install multicore package. But I can not install the package. >install.packages("multicore") It gives that package multicore is not available. Can you help me? Regards, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 10
2
drawing curve
Sir, I have a problem regarding drawing curve.I pose the problem as follows: suppose I have two vectors: x<-c(1:6) y<-c(.01,.09,.08,.03,.001,.02) plot(x,y) It gives me the plotted points.But I want to draw a smooth curve passing througt these points. How can I do this? Thanks & Regards, Suman Dhara [[alternative HTML version deleted]]
2010 Aug 15
1
Moving average in R
Hi, I want to fit moving average trend in R. In google, I see that it is in the package 'TTR'. But, I can't install this package. I have used the following code: >install.packages("TTR") But, it says there is no package called 'TTR'. Can you help me? Regards, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 16
1
Exporting multiple plots
Sir, I want to export 10, say graphs using 'for' loop. What will be the command and format for exporting multiple plots. Regards, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 23
1
calculating using user provided function
Sir, I'm writing a program in R that requires the user to provide a funtion. On the basis of the user provided function the program will proceed further and give results. Is there any technique in R that allow a user to give his own function and on the basis of that function the program will work. Regards, Suman Dhara [[alternative HTML version deleted]]
2020 Mar 06
1
[PATCH] virtio_ring: Fix mem leak with vring_new_virtqueue()
On 2/25/20 9:13 PM, Jason Wang wrote: > > On 2020/2/26 ??12:51, Suman Anna wrote: >> Hi Jason, >> >> On 2/24/20 11:39 PM, Jason Wang wrote: >>> On 2020/2/25 ??5:26, Suman Anna wrote: >>>> The functions vring_new_virtqueue() and __vring_new_virtqueue() are >>>> used >>>> with split rings, and any allocations within these
2008 Aug 20
4
Conversion - lowercase to Uppercase letters
I would like to know how to convert a string with characters to all uppercase or all lowercase? If anyone could let me know if there exists a function in R for the conversion, that will be very helpful. Regards, Suman [[alternative HTML version deleted]]
2009 Oct 19
3
Import SPSS file to R
Hello,   In R, How to read SPSS file and access the data item? Thank you. Regards, Suman Kundu [[alternative HTML version deleted]]
2009 Jul 08
3
Unix commands on R
I am using R on unix. While in R how do I execute the unix shell commands? Is there a way to do it? I am executing a function in R and the matrix resulting from the function has to be passed on as an input to unix command. Any directions will be helpful. Thanks, Suman [[alternative HTML version deleted]]
2007 Jun 27
3
Correlation ratio
Hi, I wanted to know how to compute the correlation ratio (eta) between two variables using R. Is there any function to compute the correlation ratio. Any help will be very much appreciated. Thanks, Suman [[alternative HTML version deleted]]
2015 Sep 17
2
DEFINE_IDA causing memory leaks? (was Re: [PATCH 1/2] virtio: fix memory leak of virtio ida cache layers)
On Wed, Sep 16, 2015 at 07:29:17PM -0500, Suman Anna wrote: > The virtio core uses a static ida named virtio_index_ida for > assigning index numbers to virtio devices during registration. > The ida core may allocate some internal idr cache layers and > an ida bitmap upon any ida allocation, and all these layers are > truely freed only upon the ida destruction. The virtio_index_ida
2015 Sep 17
2
DEFINE_IDA causing memory leaks? (was Re: [PATCH 1/2] virtio: fix memory leak of virtio ida cache layers)
On Wed, Sep 16, 2015 at 07:29:17PM -0500, Suman Anna wrote: > The virtio core uses a static ida named virtio_index_ida for > assigning index numbers to virtio devices during registration. > The ida core may allocate some internal idr cache layers and > an ida bitmap upon any ida allocation, and all these layers are > truely freed only upon the ida destruction. The virtio_index_ida