On 7/16/2008 8:29 AM, arezoo bagheri wrote:
Hi,
I know that if i want to see the SPLUS or R-source code of a function,i should give the command
without the brackets.For example:
rsquared.lmRobMM
function(x)
{
str0 <- "Initial S-estimate"
str1 <- "Final M-estimate"
if(x$est == "final") {
z
Hi,
I know that if i want to see the SPLUS or R-source code of a function,i should
give the command
without the brackets.For example:
rsquared.lmRobMM
function(x)
{
str0 <- "Initial S-estimate"
str1 <- "Final M-estimate"
if(x$est == "final") {
z <- x$r.squared
attr(z, "info") <- str1
}
2 matches
Mail list logo