row

  1. B

    “CFINDER” output data importation and calculation of mean of pairs

    Hi, I face a problem: I have to import a text file (from_soft.txt, which is output from "CFINDER" software). It looks like this: [...]CFINDER_output/from_soft: # text-text-text-text-text-text-text-text-text-text- # text-text-text-text-text-text-text-text-text-text- #...
  2. G

    how to remove a row in the data.frame which contain a empty element

    I have a data.frame with many empty element, and I want to remove the row with a empty element. Is there a convient way to do this like the command na.omit. I create a data.frame like this dat <- data.frame(name = c("a","b","c", "", "h","k"), x2 = c(100,200, 300, 400, 500,600)) I can use the...
  3. T

    How to define a field inside a dataframe based on the columnname and the rowname ?

    I have a dataframe called HMDAYTIME with the columnname "A" and the rownames "2" and "3", and based on a raw data csv called "DATA". My question is (i didn´t found anything about that on the internet), if i want to do a for loop to change each value of the "A" column, how can I make the...
  4. R

    More observations than individuals - convert rows to variables - reshape????

    Dear everyone, I have a HH dataset consiting of about 50 or so subsets which I am trying to merge together. The following problem occures. In some of these datasets there are more observations then individuals in the survey because data on jobs has been coded as job1, job2, job3 etc... each...