# here's an example data frame
n <- 10
mydf <- data.frame(present=rnorm(n),
answer=sample(1:4, n, replace=TRUE),
p.num=sample(1:18, n, replace=TRUE),
session=sample(1:2, n, replace=TRUE),
count=sample(1:8, n, replace=TRUE),
type=sample(1:3, n, replace=TRUE))
# define a new variable, combo5, that
Hello Everybody,
I'm working with a dataframe that has 18 columns. I would like to subset the
data in one of these columns, "present", according to combinations of data in
six of the other columns within the data frame and then save this into a text
file. The columns I would like to use to subs
2 matches
Mail list logo