dataframe
Checking Multiple Conditions
I have a data frame and want to know if a a certain string is present. I want to know if any of the values in df[,1] contain anything from inscompany.[详细]
2023-03-11 10:09 分类:问答R: Replacing rownames of data frame by a substring[2]
I have a question about the use of gsub. The rownames of my data, have the same partial names. See below:[详细]
2023-03-11 07:13 分类:问答How do I get two lists together in R?
I am generating two tables using the table command in R.I want to make a table/dataframe/matrix such that all the names from 开发者_C百科both the tables are represented and proper \'zero\' counts are[详细]
2023-03-10 22:12 分类:问答subsetting a data.frame in R
I am having a data frame like playersgames ------------- rogertennis messifootball agasiten开发者_如何学Pythonnis[详细]
2023-03-10 20:21 分类:问答Checking conditions and adding items to a data frame
I\'m trying to develop a function which will allow me to input n开发者_如何学Pythonew elements to a data frame and then check if they contain certain[详细]
2023-03-10 09:12 分类:问答How to sort a data frame by date
I need to sort a data 开发者_如何转开发frame by date in R.The dates are all in the form of\"dd/mm/yyyy\". The dates are in the 3rd column.The column header is V3.I have seen how to sort a data frame b[详细]
2023-03-10 08:27 分类:问答How to create a new data frame with original data separated by ; and with different counts per category?
I have a table with the following format. df1 <- data.frame (A=c(\"aaa\", \"bbb\", \"ccc\", \"ddd\"),[详细]
2023-03-10 07:38 分类:问答R: randomize order of one column of a data.frame
I have a dataframe like this: df1 <- data.frame(A=c(\"xx\", \"be\", \"zz\", \"jj\"), B=c(\"xyx\", \"bea\", \"cce\", \"ggg\"), C=c(\"ges\", \"xyz\", \"cce\", \"edga\"))[详细]
2023-03-09 21:24 分类:问答Assign weights based on frequency of occurrence of values
I would like to ask you for help with my data frame. It is a vector of many phases and for every one we have names of variables. Lets say[详细]
2023-03-09 00:44 分类:问答Manipulating a data frame with contents from a different data frame
I have a large data.frame with geographic places names (mydata). The plac开发者_高级运维es appear in the data.frame in more than one cell.[详细]
2023-03-08 23:29 分类:问答