Conservative matching in R

This discussion demonstrates the surprise that partial matching in R provides. One option to avoid this, if you do not want it to occur, is either to not to use the $ operator or tell R both to warn when it does occur and then handle it as an error:


Leave a Reply

Your email address will not be published. Required fields are marked *