EVOLUTION-MANAGER
Edit File: merge.sf.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: merge method for sf and data.frame object</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 merge.sf {sf}"><tr><td>merge.sf {sf}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>merge method for sf and data.frame object</h2> <h3>Description</h3> <p>merge method for sf and data.frame object </p> <h3>Usage</h3> <pre> ## S3 method for class 'sf' merge(x, y, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>object of class <code>sf</code></p> </td></tr> <tr valign="top"><td><code>y</code></td> <td> <p>object of class <code>data.frame</code></p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>arguments passed on to <code>merge.data.frame</code></p> </td></tr> </table> <h3>Examples</h3> <pre> a = data.frame(a = 1:3, b = 5:7) st_geometry(a) = st_sfc(st_point(c(0,0)), st_point(c(1,1)), st_point(c(2,2))) b = data.frame(x = c("a", "b", "c"), b = c(2,5,6)) merge(a, b) merge(a, b, all = TRUE) </pre> <hr /><div style="text-align: center;">[Package <em>sf</em> version 0.9-5 <a href="00Index.html">Index</a>]</div> </body></html>