Hi,I had a question about transforming data into data frame object with two columns. I have data "genal2.txt" (see attachment) My data frame called "genal2frame" has to be in the form: genal2frame[1:6,] y mut 1 0.5105618 0.005 2 0.3428392 0.005 3 0.5490900 0.005 4 0.4460895 0.010 5 0.5214594 0.010 6 0.4009612 0.010 Thanks in advance! Kind regards,Esra Atescelik
"0.005" "0.01" "0.015" "0.02" "0.025" "0.03" "0.035" "0.04" "0.045" "0.05" "0.055" "0.06" "0.065" "0.07" "0.075" "1" 0.510561784157908 0.446089473106538 0.209861235061248 0.446000046564511 0.432075333933442 0.35120479469923 0.384765149194445 0.387313965149458 0.343947941496417 0.633758039384663 0.555185477005577 0.71609198992175 0.729582556128341 0.785937941439449 1.28080735990779 "2" 0.342839181586703 0.521459357371005 0.294233635341743 0.307345278915780 0.00426657405175686 0.266942510938353 0.337916560438585 0.289925493261812 0.308732080946334 0.57612486778155 0.41157344486345 0.616871878821525 0.897794731151328 1.13053103292545 1.26593722727103 "3" 0.549090009721869 0.400961224956219 0.384513240729823 0.369291213123216 0.271064744594809 0.0187921307123248 0.149104157453718 0.289305311611627 0.58053455380932 0.597164223679592 0.511411654613599 0.586360211562423 0.78082777617248 0.713006572150551 1.30748492333139
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.