Try ?relevel
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of choonhong ang
Sent: Tuesday, February 24, 2009 2:33 PM
To: r-help@r-project.org
Subject: Re: [R] Insurance data in library(MASS)
Hi,
In the result shown, the District
Hi,
In the result shown, the District 1 is used as the base category. How to
change to make District 4 as a base category ?
On Mon, Feb 23, 2009 at 11:05 AM, choonhong ang wrote:
> I have used the insurance data from R library and I have 2 questions:
> I use the following:
> >library(MASS)
> >d
You are asking about support software for a book, and the book
contains the answers And it should be given due credit.
On Mon, 23 Feb 2009, choonhong ang wrote:
I have used the insurance data from R library and I have 2 questions:
I use the following:
library(MASS)
data(Insurance)
m1=gl
In the Insurance dataset both Age and Group are ordered factors so the default
encoding for them is orthogonal polynomials (assuming that the user has not
changed the default). In the output below the .L indicates that line is for
the "Linear" piece of the encoding or the Linear contrast on the
4 matches
Mail list logo