Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130404/abe58263/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130901/6ce906fc/attachment.pl>
Dear R experts, I am using a 'for' loop to apply commands to multiple datasets (each file is one participant). The only one not working is the command that identifies zeros in my datasets and changes them to NAs. But...
Thank you for your patience. This is the output of dput(head(d, 10)) structure(list(V1 = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), .Label = "9.9761E+11,", class = "factor"), V2 = structure(c(1L, 1L...
Thank you all. Your suggestions worked. As you said, the problem appeared to have been the commas that were part of the data frame. Thanks again ? ________________________________ From: Rui Barradas <ruipbarradas at sapo.pt> Sent: Tuesday, April 21, 2020 9:38...
Thank you all for your input. This is an example of one data file (I have 74 data files): 2.90546E+11, threat, 1, 2, 1, 2, 1, death, stove, NA, NA, 205, 0, 394 2.90546E+11, threat, 2...
I have one column that represents correct response versus error (correct is coded as 1 and error is coded as 0). Nowhere else in the dataset are there values of 0. The vector is treated as an integer. ________________________________ From: Michael...
Thank you for your reply. I tried d[] <- lapply(d, function(x) {is.na(x) <- x == 0; x}) ?but I am still getting zeros instead of NAs in my output.. I wonder if the problem is that some of my...
Can't find what you're looking for? Try searching with Google .