I have two data types price of type list and company of type character
price
[[1]]
[1] "Rp 83.000"
[[2]]
[1] "Rp 87.900"
[[3]]
[1] "Rp92,000"
[[4]]
[1] "Regular price 125,000.00 Discount price 125,000.00 "
and
company
[1] "Tororo" "Babyzania" "Bilna" "Babylonish"
I want to create a data frame using the two data types and of the form :
Tororo Rp 83.00
Babyzania Rp 87.900
Bilna Rp 92,00
Babylonish Regular price 125,000.00 Discount price 125,000.00
Can anyone help me out i tried using directly
df=data.frame(company,price)
But it is not giving the correct dataframe I want.