[R] There is an error when I performed chisquare and postanova test...:(

2015-09-25 Thread massmatics
I am studying for a quiz and while I was solving two problems, an error occured. a) So the problem is we want to test if the block program makes a difference in retention at α = 1% (which is the significance level) This is the code I used to perform chisquare test. My solution: blockprogram <-

Re: [R] There is an error when I performed chisquare and postanova test...:(

2015-09-25 Thread massmatics
Yes, so far, we only learned how to use chisq.test when performed at 0.05 significance level But not when it is at 0.01 -- View this message in context: http://r.789695.n4.nabble.com/There-is-an-error-when-I-performed-chisquare-and-postanova-test-tp4712770p4712772.html Sent from the R help

[R] How do I use the proper r code to find the value of intersection (What horsepower(hp) does the “Valiant” have?)

2015-09-18 Thread massmatics
I am studying for a quiz and I have some problems while reviewing. I used the command data(mtcars) and I used *intersect(mtcarsValiant,mtcarshp)* but the value I received was *numeric(0) *What is the proper r code I must use to get the correct value? (The value I should get is 105) Thanks! --

Re: [R] How do I use the proper r code to find the value of intersection (What horsepower(hp) does the “Valiant” have?)

2015-09-18 Thread massmatics
Wow thank you so much! -- View this message in context: http://r.789695.n4.nabble.com/How-do-I-use-the-proper-r-code-to-find-the-value-of-intersection-What-horsepower-hp-does-the-Valiant-tp4712428p4712438.html Sent from the R help mailing list archive at Nabble.com.

[R] I have trouble loading histogram :(

2015-09-14 Thread massmatics
Make a histogram and boxplot of the data sets: *south.csv*. south.csv (the following is how it is displayed in the excel file) x -> Acolumn, 1st row 12 10 10 13 12 12 14 7 16 18 8 29 12 14 33 10 6 18 11 25 8 16 14 11 10 20 14 11 12 13 -> Acolumn, 31st row This is the code I used to run but

[R] I need help with extracting data :(

2015-09-11 Thread massmatics
So this is the question that I need help on. :( 4.) ‘Warpbreaks’ is a built-in dataset in R. Load it using the function **data(warpbreaks)**. It consists of the number of warp breaks per loom, where a loom corresponds to a fixed length of yarn. It has three variables namely, breaks, wool, and

[R] how to find the mean and sd :(

2015-09-11 Thread massmatics
I need help on 4b please :( 4.) ‘Warpbreaks’ is a built-in dataset in R. Load it using the function data(warpbreaks). It consists of the number of warp breaks per loom, where a loom corresponds to a fixed length of yarn. It has three variables namely, breaks, wool, and tension. a.) Write a