EVOLUTION-MANAGER
Edit File: list.names.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: Get or set the names of a list by expression</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 list.names {rlist}"><tr><td>list.names {rlist}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Get or set the names of a list by expression</h2> <h3>Description</h3> <p>Get or set the names of a list by expression </p> <h3>Usage</h3> <pre> list.names(.data, expr) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>.data</code></td> <td> <p>A <code>list</code> or <code>vector</code></p> </td></tr> <tr valign="top"><td><code>expr</code></td> <td> <p>the expression whose value will be set as the name for each list element. If missing then the names of the list will be returned. If <code>NULL</code> then the names of the list will be removed.</p> </td></tr> </table> <h3>Examples</h3> <pre> list.names(c(1,2,3)) list.names(c(a=1,b=2,c=3)) list.names(c(1,2,3),letters[.]) list.names(list(list(name='A',value=10),list(name='B',value=20)), name) </pre> <hr /><div style="text-align: center;">[Package <em>rlist</em> version 0.4.6.2 <a href="00Index.html">Index</a>]</div> </body></html>