Have you tried writing a function to compute SS = sum of squares
deviations between the the left and right hand sides of your three
equations, then using 'optim'? See also Venables and Ripley (2002)
Modern Applied Statistics with S, 4th ed. (Springer).
hope this helps.
Gregor Gorjanc <[EMAIL PROTECTED]> writes:
> Thank you for the reply! I appologize for not reading the latest
> documentation - there was no word about droping names in 2.3.1. However,
> I do wonder why simple fix (as shown in previous mail) is not OK.
I see value in unique() keeping names and fro
Using "R version 2.4.0 Under development (unstable) (2006-08-08 r38825)"
on Windows XP and starting in a fresh session we get an error if we type BOD.
(There is no error in "Version 2.3.1 Patched (2006-06-04 r38279)".)
> BOD
Error in data.frame(Time = c("1", "2"), demand = c(" 8.3", "10.3"),
check
With all due respect, I don't think that the change to the sort function is "a
good change". New versions should be backward compatible whenever possible,
i.e. unless there's a very compelling reason to force large amounts of old code
to break. In this case, the sort function could have had an
Hello All,
I'm trying to convince someone that they should transition a large project
to use S4 instead of S3 classes. Does anyone have any good citations?
Thanks!
-- Dan Gerlanc
--
Daniel Gerlanc
Williams College '07
[[alternative HTML version deleted]]
_
[R 2.3.1 on Windows XP]
Hello,
The 'do.NULL=FALSE' option of 'rownames' and 'colnames' does not
work as documented when the array has a 0-extent dimension:
tmp <- matrix(1:15, ncol=3, dimnames=list(letters[1:5], LETTERS[1:3]))
rownames(tmp) # Fine
rownames(tmp[0,,drop=FALSE]) # NULL (okay, b
Seth Falcon fhcrc.org> writes:
> I see value in unique() keeping names and from what I understand
> the documentation could be changed to match
>
> I don't know if there are good reasons for dropping names from
> vectors.
>
> Given that unique is very commonly used, I think the way to make such
Is there a capability that you would like for the package which could
be achieved only if the package was transitioned to S4? If so,
explain this to the author. If not, why ask them to change?
Gordon
>[Rd] S4 Classes
>Daniel Gerlanc dgerlanc at gmail.com
>Thu Aug 10 23:37:15 CEST 2006
>
>Hello
Gordon Smyth <[EMAIL PROTECTED]> writes:
> Is there a capability that you would like for the package which could
> be achieved only if the package was transitioned to S4? If so,
> explain this to the author. If not, why ask them to change?
'achieved only if' sounds a bit strong. I've used S4 ob
Full_Name: Richard Cai
Version: R 2.3.1
OS: Windows XP SP2
Submission from: (NULL) (220.233.184.74)
My R scrpit code was interrupted when I was trying to load it into R's built-in
script editor.
R code for question 4
dat <- read.table("Drosophil
10 matches
Mail list logo