However, the main drawback is that your import options will not be saved for a future usage so you will need to import your dataset manually each time you open RStudio. This user-friendly method has the advantage that you do not need to remember the code (see the next section for the entire code). You should now see your dataset in a new window and from there you can start analyzing your data. Change this option if missing values in your raw data are coded as “NA” or “0” (tip: do not code yourself missing values as “0”, otherwise you will not be able to distinguish the true zero values and the missing values)Īfter changing the import options corresponding to your data, click on “Import”. From our raw data above, you can see that missing values are simply empty cells, so leave NA to default or change it to “empty”. NA: how missing values are specified (default is empty cells).Change it to semicolon if your values are separated by “ ” From our raw data above, you can see that the delimiter is a comma (“,”).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |