[R] How to fit an linear model withou intercept

2007-08-23 Thread Michal Kneifl
Please could anyone help me? How can I fit a linear model where an intercept has no sense? Thanks in advance.. Michael __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] A problem with anova()

2007-07-25 Thread Michal Kneifl
I fitted tree growth data with Chapman-Richards growth function using nls. summary(CR) Formula: HEIGHT ~ A * (1 - exp(-B * AGE))^C Parameters: Estimate Std. Error t value Pr(|t|) A 29.007627 0.270485 107.24 2e-16 *** B 0.030813 0.001095 28.13 2e-16 *** C 1.849405 0.068659

[R] Help on looping problem needed!

2007-07-23 Thread Ing. Michal Kneifl, Ph.D.
I am wondering if someone could help me out with following problem: I have written a for loop which generates a random normal distribution let us say 1000 times. When the restriction is met (mean0.01), the loop stops, prints the mean value and plots a histogram. for(i in 1:1000) {

Re: [R] Classification

2007-07-19 Thread Michal Kneifl
For all who sent help on topic Classification: Thank you very much folks. I have got some inspiration how to solve this task. Michael - Original Message - From: Marc Schwartz [EMAIL PROTECTED] To: Ing. Michal Kneifl, Ph.D. [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Wednesday

[R] Classification

2007-07-18 Thread Ing. Michal Kneifl, Ph.D.
Hi, I am also a quite new user of R and would like to ask you for help: I have a data frame where all columns are numeric variables. My aim is to convert one columnt in factors. Example: MD 0.2 0.1 0.8 0.3 0.7 0.6 0.01 0.2 0.5 1 1 I want to make classes: 0-0.2 A 0.21-0.4 B 0.41-0.6 C . and

Re: [R] RODBC Access

2007-07-13 Thread Michal Kneifl
Please could you write an example of this command: table.db-sqlQuery(channel,paste(select * from table)) With real names of .mdb file and table? Thanks Michael - Original Message - From: Patrick Gonin [EMAIL PROTECTED] To: Prof Brian Ripley [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch