B <- X[2:3] you are indexing out of bounds because
you are trying
to assign a number that is in the second row in the third column
of matrix X
-----Ursprungliche Nachricht-----
Von: Jens Hainmueller [mailto:jens_hainmueller@ksg05.harvard.edu]
Gesendet: Thursday, September 30, 2004 3:57 PM
An:
Betreff: AW: [gov2001-l] Fw: problem set
it means that you are trying to index a position in a matrix that
does not exists.
for example in a 2 row 2 colum matrix (X), when you try to index
and there is no such number because the matrix is
only 2 by 2. B <- X[2:2] would work for example, B becomes the
second number in the second row of X.
hope this helps!
best,
jens
> -----Ursprungliche Nachricht-----
> Von: gov2001-l-bounces(a)lists.fas.harvard.edu
> [mailto:gov2001-l-bounces@lists.fas.harvard.edu]
> Gesendet: Thursday, September 30, 2004 3:53 PM
> An: gov2001-l(a)lists.fas.harvard.edu
> Betreff: Re: [gov2001-l] Fw: problem set
>
>
>
> Does anyone know what the "subscript out of bounds" error usually means?
>
> Ellie
>
>
> On Thu, 30 Sep 2004, Paul Bodnar wrote:
>
> > That's R-speak for "mayday, mayday"
> >
> > On Thu, 30 Sep 2004, Olivia Lau wrote:
> >
> > > control c, control c.
> > >
> > > ----- Original Message -----
> > > From: "Jonathan Harris" <jaharris(a)fas.harvard.edu>
> > > To: <gov2001-l(a)lists.fas.harvard.edu>
> > > Sent: Thursday, September 30, 2004 1:16 AM
> > > Subject: Re: [gov2001-l] Fw: problem set
> > >
> > >
> > > > What's the command in R to kill a command/force quit a
> > > > calculation?
> > > >
> > > > On Sep 30, 2004, at 1:14 AM, Olivia Lau wrote:
> > > >
> > > >> I don't think that quote is in context.
> > > >>
> > > >> ----- Original Message ----- From: "Kentaro Fukumoto"
> > > >> <fukumoto(a)dg8.so-net.ne.jp>
> > > >> To: <gov2001-l(a)lists.fas.harvard.edu>
> > > >> Sent: Thursday, September 30, 2004 1:11 AM
> > > >> Subject: Re: [gov2001-l] Fw: problem set
> > > >>
> > > >>
> > > >>> Good evening, Wei and all,
> > > >>>
> > > >>>> In part d), do we need to answere under the condition of
n
> > > >>>> increase or just
> > > >>>> assume n equal 50?
> > > >>>
> > > >>> I heard from her that we get less than 50 observations.
> > > >>> Hope it helps.
> > > >>>
> > > >>> Kentaro
> > > >>>
> > > >>> _______________________________________________
> > > >>> gov2001-l mailing list
> > > >>> gov2001-l(a)lists.fas.harvard.edu
> > > >>>
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
> > > >>
> > > >> _______________________________________________
> > > >> gov2001-l mailing list
> > > >> gov2001-l(a)lists.fas.harvard.edu
> > > >>
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
> > > >
> > > > _______________________________________________
> > > > gov2001-l mailing list
> > > > gov2001-l(a)lists.fas.harvard.edu
> > > >
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
> > > >
> > >
> > > _______________________________________________
> > > gov2001-l mailing list
> > > gov2001-l(a)lists.fas.harvard.edu
> > >
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
> > >
> > _______________________________________________
> > gov2001-l mailing list
> > gov2001-l(a)lists.fas.harvard.edu
> >
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
> >
> _______________________________________________
> gov2001-l mailing list
> gov2001-l(a)lists.fas.harvard.edu
>
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
>