EVOLUTION-MANAGER
Edit File: convert_to_NA.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Convert string values to true 'NA' values.</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for convert_to_NA {janitor}"><tr><td>convert_to_NA {janitor}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Convert string values to true <code>NA</code> values.</h2> <h3>Description</h3> <p>Converts instances of user-specified strings into <code>NA</code>. Can operate on either a single vector or an entire data.frame. </p> <h3>Usage</h3> <pre> convert_to_NA(dat, strings) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>dat</code></td> <td> <p>vector or data.frame to operate on.</p> </td></tr> <tr valign="top"><td><code>strings</code></td> <td> <p>character vector of strings to convert.</p> </td></tr> </table> <h3>Value</h3> <p>Returns a cleaned object. Can be a vector, data.frame, or <code>tibble::tbl_df</code> depending on the provided input. </p> <h3>Warning</h3> <p>Deprecated, do not use in new code. Use <code>dplyr::na_if()</code> instead. </p> <h3>See Also</h3> <p>janitor_deprecated </p> <hr /><div style="text-align: center;">[Package <em>janitor</em> version 2.1.0 <a href="00Index.html">Index</a>]</div> </body></html>