search for: to24412577

Displaying 3 results from an estimated 3 matches for "to24412577".

Did you mean: a24412577
2009 Sep 17
2
What is the best way to get a subset of a data.frame?
Hi, I want to construct a data.frame 'y' by using x$x and x$y. I think that there might be better ways to do it (because, for example, we can use a_matrix[3:5,] to extract certain rows, where 'a_matrix' is a matrix). Can somebody let know what the best way is? > a=data.frame(x=1:10,y=rep("abc",10),z=rep("xyz",10)) > a x y z 1 1 abc xyz 2 2
2009 Jul 23
4
remove multiple columns by name from dataframe
Hi there, I'm trying to remove multiple columns by name from a data.frame. As a result I need to get back the modified data.frame without the removed columns. My columns I want to delete are listed in a vector called "delete". data <- read.csv2("data.csv") delete <- c("col1", "col2", "col3") newData <- subset(data, select =
2009 Aug 18
6
Eliminar variable de un data frame
Hola, que tal? Tendo una duda, como se puede eliminar una variable de un data.frame? Tambien tengo otra duda, tengo una base de datos importada del spss, donde tengo espacios asignados como missings, pero al pasarlo al R, me coje los espacios como una categoria más. Como los puedo poner como missings? Dolors Giralt _________________________________________________________________ [[elided