I got a report from a large function in R. It prints a table for plotting. I copied the text format output like this
cyl wt mpg se LLCI ULCI
4.0000 2.1568 27.3998 0.7199 25.9250 28.8746
6.0000 2.1568 23.2805 0.8261 21.5882 24.9727
8.0000 2.1568 19.1611 1.5544 15.9770 22.3452
4.0000 3.3250 21.0658 1.2733 18.4575 23.6742
6.0000 3.3250 18.8352 0.6544 17.4947 20.1758
8.0000 3.3250 16.6046 0.7792 15.0084 18.2008
4.0000 3.8436 18.2540 1.8031 14.5604 21.9476
6.0000 3.8436 16.8619 0.8921 15.0345 18.6892
8.0000 3.8436 15.4697 0.6120 14.2161 16.7234
and pasted it using x <- readClipboard()
. Then I summary(x)
and got
Length Class Mode
10 character character
How can I change x
into a numeric table with headings for plotting? Thanks!