Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 206235

R: is there a pandas function map in R?

$
0
0

I want to map values from a named list in R to a dataframe. Is there a equivalent of pandas map function in R?

list = (a=1, b=2)
df = data.frame(a)

df.map(list) in r?

I want to map values of list onto df.


Viewing all articles
Browse latest Browse all 206235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>