Re: [R] Beginner Question: List value without Levels

From: dabs <ragon016_at_web.de>
Date: Tue, 24 May 2011 12:31:20 -0700 (PDT)

Hey Joshua,

thanks for your help. Here are the dput outputs :)!

>dput(myVal)
structure(list(I = structure(1L, .Label = "4,5", class = "factor"),

    V = structure(1L, .Label = "4,2", class = "factor"), L = structure(1L,

.Label = "3,8", class = "factor"),
F = structure(1L, .Label = "2,8", class = "factor"), C = structure(1L,
.Label = "2,5", class = "factor"),
M = structure(1L, .Label = "1,9", class = "factor"), A = structure(1L,

.Label = "1,8", class = "factor"),
    G = structure(1L, .Label = "-0,4", class = "factor"), T = structure(1L,

.Label = "-0,7", class = "factor"),
W = structure(1L, .Label = "-0,9", class = "factor"), S = structure(1L,
.Label = "-0,8", class = "factor"),
Y = structure(1L, .Label = "-1,3", class = "factor"), P = structure(1L,
.Label = "-1,6", class = "factor"),
H = structure(1L, .Label = "-3,2", class = "factor"), Q = structure(1L,
.Label = "-3,5", class = "factor"),
D = structure(1L, .Label = "-3,5", class = "factor"), N = structure(1L,
.Label = "-3,5", class = "factor"),
E = structure(1L, .Label = "-3,5", class = "factor"), K = structure(1L,

.Label = "-3,9", class = "factor"),

    R = structure(1L, .Label = "-4,5", class = "factor")), .Names = c("I", "V", "L", "F", "C", "M", "A", "G", "T", "W", "S", "Y", "P", "H", "Q", "D", "N", "E", "K", "R"), class = "data.frame", row.names = c(NA, -1L))

And

>dput(data)
structure(c(28L, 8L, 11L, 14L, 17L, 34L, 7L, 26L, 15L, 26L, 10L, 9L, 12L, 8L, 11L, 21L, 19L, 33L, 7L, 7L), .Dim = 20L, .Dimnames = structure(list(

    data= c("A", "C", "D", "E", "F", "G", "H", "I", "K",     "L", "M", "N", "P", "Q", "R", "S", "T", "V", "W", "Y")), .Names = "data"), class = "table")

Cheers!

dabs

--
View this message in context: http://r.789695.n4.nabble.com/Beginner-Question-List-value-without-Levels-tp3547911p3548009.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_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.
Received on Tue 24 May 2011 - 20:48:17 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 24 May 2011 - 21:40:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive