Your code is full of syntactic errors. What do you think 1.71(se) means?
After you clean up your code, something like this might be what you want:
out <- lapply(seq(40,500,by = 25), f)
To get plots, just stick in a plot statement after you define m and d.
Have you gone through any R tutorials?
1. 2o is gibberish; 20 is the number of fingers and toes most of us have.
2. This is a plain text list. Your code became gibberish with your HTML
post.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Be
Hi,
I have the below function which returns confidence intervals. I wanted to pass
different sample sizes through the function, but for some reason it's not
working. n <- seq(from=40, to=300, by=2o)
I was also wondering how I can return a plot for different sample sizes.
plot(m~d, main="
3 matches
Mail list logo