samedi 5 octobre 2019

Is there a way to identify mistakes in my code

I subset (having only setosa) from the the dataframe iris:

iris[iris$Species=="setosa",]

Bellow is an example where , is missed, but it can be any other error or typo:

iris[iris$Species=="setosa"]

How can I identify that I have an error and what the error is?

Aucun commentaire:

Enregistrer un commentaire