[BioC] pdmClass plot error

Martin Morgan mtmorgan at fhcrc.org
Sat Sep 1 16:02:04 CEST 2012


On 08/31/2012 03:02 AM, Jonah Mushava wrote:
> Hi Dick
>
> this is random.i saw your post on the internet where you had a problem with
> the error message in R;
>
> *"Error in rbind(vars[, coord.pair], means[, coord.pair]) : *
> *  subscript out of bounds"*
>
> I am having the same problem with my code using the mda package for
> flexible and mixture discriminant analysis.I have a simple code of the form:
>
> z<-fda(y~x,data=mydata)
>
> when i put in the command  "plot(z)" the error appears.
>
> been on it for ages to no aveil.I would appreciate if you still remember
> how you solved this error and assist me.

Jay -- this isn't the right forum, try R-help.

'Subscript out of bounds' comes up for instance when sub setting a 
matrix outside of its extent

 > m = matrix(0, 5, 5)
 > m[,6]
Error: subscript out of bounds

maybe that provides you with a hint as to what's going wrong; for others 
to help (on the R-help mailing list) they'd need a reproducible example, 
maybe generating a small example of 'mydata' that illustrates the error.

Martin


>
> regards
>
> Jay
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
>


-- 
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M1 B861
Phone: (206) 667-2793



More information about the Bioconductor mailing list