search for: nameofdatafram

Displaying 3 results from an estimated 3 matches for "nameofdatafram".

Did you mean: nameofdataframe
2003 Aug 26
3
Subsetting a dataframe
...are several rows, e.g.: subject treatment concentration day 19 a 15,4 1 19 a 18,3 2 19 a 2,3 3 etc. Im trying to subset the dataframe to get for example only the rows of subject 19 and subject 15. I tried this with nameofdataframe[nameofdataframe$subject==c(19,15),] This doesnt work as i get less rows than i should and a warning as well. How can i succeed doing this? Thanks a lot Gabi
2007 Jan 16
1
nested hierarchical design
Dear R-Helpers, I would like to know what syntax I need to use to do a nested anova for 1. a continuous variable and 2. count data (x out of y) 1. The first I used to do in SPSS and I would like to be able to do it in R as well. This is the hierarchical model I would like to use: a continuous variable explained by factor A(fixed) + factor B(random) nested in A + factor C (random) nested in
2010 Sep 26
2
Splitting a data frame into several completely separate data frames
Hello again, How do I split a data frame into smaller, completely separate data frames (rather than separate data frames comprising a single "list")? Consider the following data, and my coding attempt: x <- read.table(textConnection("id type number indv.1 bagel 6 indv.2 bagel 1 indv.3 donuts 10 indv.4 donuts 9"), header = TRUE) closeAllConnections() x.split <-