Читать книгу Probability with R - Jane M. Horgan - Страница 29
1.8.1 Data Editing
ОглавлениеThe data you have read and stored may be edited and changed interactively during your R session. Simply click on Edit on the toolbar to get access to the Data Editor, which allows you to bring up any data frame as a spreadsheet. You can edit its entries as you wish.
It is also possible to change particular entries of a data frame. For example,
arch1[7] <- 10
changes the mark for the seventh student in in the data frame from 100 to 10. It may have been entered as 100 in error.