Description Usage Arguments Examples
To do.
1 |
x |
Search criterion. |
table |
Array. |
col_return |
Index. |
near_val |
Not yet implemented. |
sort_order |
Not yet implemented. |
1 2 3 4 5 6 7 8 9 10 11 | shopping <- data.frame(product = c("Sports Almanac", "Frisbee",
"Water bottles"),
quantity = c(1, 3, 6))
seller <- data.frame(product = c("Frisbee", "Lava lamp", "Sports Almanac",
"Video camera", "Water bottles"),
price = c(7, 20, 35, 75, 3))
shopping$unit_price <- vlookup(shopping$product, seller, "price")
shopping$total_price <- with(shopping, unit_price * quantity)
seller
shopping
sum(shopping$total_price)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.