Re: [R] How can R be used to solve algebra equations?

2007-11-29 Thread Daniel Lakeland
there is uniroot, but here I want the expression not the value, because I do not have values for y and z. I suggest the use of maxima rather than R. The two complement each other very nicely: http://maxima.sf.net -- Daniel Lakeland [EMAIL PROTECTED] http://www.street-artists.org/~dlakelan

Re: [R] Homework help: Is this how CIs of normal distributions are computed?

2007-10-31 Thread Daniel Lakeland
(.025,.975),mean=mean(x100),sd=sd(x100)/sqrt(length(x100))) -- Daniel Lakeland [EMAIL PROTECTED] http://www.street-artists.org/~dlakelan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] 2-way Factorial with random factors

2007-10-26 Thread Daniel Lakeland
a deviation from the trend, and we think of that particular soil and weather also causing a deviation from the between species trend in the last model. As I say, I'm not an expert in this field, so I would be very glad if someone would correct any mistakes I have made here. -- Daniel Lakeland [EMAIL

Re: [R] Multi-objective optimization

2007-10-17 Thread Daniel Lakeland
y. Hope this helps. -- Daniel Lakeland [EMAIL PROTECTED] http://www.street-artists.org/~dlakelan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] Bootstrapping Contrasts for Repeated Measures ANOVA

2007-10-16 Thread Daniel Lakeland
with factor level 2. Compute the difference in averages. This is a single sample of the difference of averages. Do this procedure several thousand times. You will have a bootstrap distribution of the difference in averages. Am I missing some other issue? -- Daniel Lakeland [EMAIL PROTECTED] http

Re: [R] help with nls and Hill equation

2007-10-16 Thread Daniel Lakeland
always benefit from trying various starting points, and from doing some analysis to determine a good range of starting points. -- Daniel Lakeland [EMAIL PROTECTED] http://www.street-artists.org/~dlakelan __ R-help@r-project.org mailing list https

Re: [R] Need some help

2007-10-16 Thread Daniel Lakeland
he wants is the number of times that the current sample is different from the previous sample. (ie. imagine heads = 1 and tails = -1 how many times does the sequence change sign?) -- Daniel Lakeland [EMAIL PROTECTED] http://www.street-artists.org/~dlakelan

Re: [R] Calculating confidence in an estimate including number of trials?

2007-10-16 Thread Daniel Lakeland
your table of area under the normal curve. To account for size of sample you have to scale the variance appropriately according to the theory you have learned in your course. -- Daniel Lakeland [EMAIL PROTECTED] http://www.street-artists.org/~dlakelan

Re: [R] Calculating confidence in an estimate including numberof trials?

2007-10-16 Thread Daniel Lakeland
] 0.3108435 You have calculated the probability that your sample estimate of the mean will be between 19 and 21, in your previous post you asked for 10 to 21, but I am guessing it was simply a typo. In any case, it looks like you are on the right track. -- Daniel Lakeland [EMAIL PROTECTED] http

[R] specifying models : and %in% and soforth

2007-10-14 Thread Daniel Lakeland
what (if any) the differences are. Thanks, Dan -- Daniel Lakeland [EMAIL PROTECTED] http://www.street-artists.org/~dlakelan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Graphics and LaTeX documents with the same font

2007-09-28 Thread Daniel Lakeland
It can be useful to see multiple timeseries on the same x (time) scale but with different y scales for each to see if there are time-lag correlations between different quantities -- Daniel Lakeland [EMAIL PROTECTED] http://www.street-artists.org/~dlakelan

Re: [R] beginner's questions ... sorry

2007-09-13 Thread Daniel Lakeland
? write.table write.csv or my favorite way of keeping data well organized is RSqlite or sqldf (related) -- Daniel Lakeland [EMAIL PROTECTED] http://www.street-artists.org/~dlakelan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Percentiles in R

2007-09-11 Thread Daniel Lakeland
) If you need an element of the data set, you could simply do something like (sort(x))[round(NROW(x) * p)] -- Daniel Lakeland [EMAIL PROTECTED] http://www.street-artists.org/~dlakelan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman