I have a csv file and when i use this command SOLK<-read.table(\'Book1.csv\',header=TRUE,sep=\';\')
I have a file like below: P1 A,B,C P2 B,C,D,F P3 C,D,E,F and I need to compare each row to all other rows to get a count of intersecting elements like below:
I\'m using R on a dataset containing trips. Each line is a trip (from A to B). On each line, I know the identity of the individual (a number), the purpose of the trip (1,2,3 or 4), the time category (
I’m looking for advice on how to subtract values from each other listed in two data frames. In the example below with the two data frames A and B, I would like to subtract the values开发者_StackOverf
is it possible to use the subset function by saying sth like subset(dataset, IA_LABEL not equal to \"Er\" or \"Sie\" or \"Es\" or \"wird\" or\"gleich\") ?
Please give me some 开发者_JAVA百科advice on the followings. There is a data frame with three columns, the first one is a datetime(precise to seconds), the second one is a person\'s name, and the thi
I have a question similar to this one, but my dataset is a bit bigger: 50 columns with 开发者_运维百科1 column as UID and other columns carrying either TRUE or NA, I want to change all the NA to FALSE
I have 2 data frames (a1 and a2) a1 ABCD 1A68 2D73 #** 3X33 a2 ABCD 4D23 #** 5Z35 6X34 a1 <- data.frame( A = 1:3,
I have a CSV with a long list of data that looks like this: Dateuser_idvalue 4/115 4/123 4/1310 4/211 4/237
I have a large data.table, with many missing values scattered throughout its ~200k rows and 200 columns.I would like to re code those NA values to zeros as efficiently as possible.