[R] how to plot a graph with different pch

2007-10-01 Thread Letticia Ramlal
I am trying to plot a graph but the points on the graph should be different symbols and colors. It should represent what is in the legend. I tried using the points command but this does not work. Is there another command in R that would allow me to use different symbols and colors for the points?

[R] Help with functions (iterations)

2007-09-29 Thread Letticia Ramlal
Hello: I am a bit confused by this problem. Can anyone give me some advice on this I would greatly appreciate it. Thank you for all your help. Need to create a for loop that saves the estimate of pi from each 0f 100 separate iterations and store it in a numeric vector (of length 100). The for

[R] Need help with function writing

2007-09-25 Thread Letticia Ramlal
Hello: If anyone could guide me with this I would greatly appreciate it. Thanking you in advance for your assistance. Using a 3-level input factor alternative so that a function(below) can compute both a two-sided and one-sided p-values. Making the two-sided test the default. And produce outp

[R] Identifying objects from a data set

2007-09-16 Thread Letticia Ramlal
Hello Given the following data for a data set called airquality. To identify the nature of the objects from the data set airquality example "Ozone" would it be best to use the command is. like is.character(airquality$Ozone) ... I tried attributes(airquality$Ozone) but it came up null. Would

[R] Help with a problem

2007-09-15 Thread Letticia Ramlal
Hello I was wonderinf if anyone can help me with this problem, it seems trivial but for some reason I can not figure it out. With a single R command complete the following: create a vector calles seqvec that repeats the sequence 1, 3,6, 10,15,21.( I was trying to use c() but this does not work