Displaying 1 result from an estimated 1 matches for "oputframe".
Did you mean:
outputframe
2008 May 21
1
problems with data frames, factors and lists
...[1] 77
$one
[1] 9
$two
[1] 2
$diff
[1] 8.577195
$noseqs
[1] 11
$twogrp
[1] "more"
>
I then use this function in another function that just runs this
function through a lot of data:
doset <- function(sameset) {
pids = unique(c(sameset$APID, sameset$BPID))
for (f in pids) {
oputframe = data.frame(rbind(oputframe, mix(sameset, f)))
}
return(oputframe)
}
All values except $twogrp are numbers. There are two possible values
for $twogrp, "one" and "more". the first one is more common and gets
added to the data frame first. The result is that I cannot add the
r...