search for: targetbrand

Displaying 3 results from an estimated 3 matches for "targetbrand".

2018 Jun 01
4
Regroup and create new dataframe
...1. I split the original data frame which I called data1: X = split(data1, Product_name) 2. Unlist X X1 = unlist(X) 3. Create a new data frame new_df = as.data.frame(X1) But, when I used the command View(new_df), I had only two columns: The left one is similar to TargetBrand.Sales, etc. and the right one is just "X1" I did not achieve what I wanted. **A potentially big question from readers:* Why am I doing this? *Answer:* I want to run a multiple regression model later to see among different regions, what the sales look like for these three brands of ta...
2018 Jun 01
0
Regroup and create new dataframe
...? ?1. ? ?I split the original data frame which I called data1: ? ?X = split(data1, Product_name) ? ?2. ? ?Unlist X ? ?X1 = unlist(X) ? ?3. ? ?Create a new data frame ? ?new_df = as.data.frame(X1) But, when I used the command View(new_df), I had only two columns: The left one is similar to TargetBrand.Sales, etc. and the right one is just "X1" I did not achieve what I wanted. **A potentially big question from readers:* Why am I doing this? *Answer:* I want to run a multiple regression model later to see among different regions, what the sales look like for these three brands of ta...
2018 Jun 01
0
Regroup and create new dataframe
...? ?1. ? ?I split the original data frame which I called data1: ? ?X = split(data1, Product_name) ? ?2. ? ?Unlist X ? ?X1 = unlist(X) ? ?3. ? ?Create a new data frame ? ?new_df = as.data.frame(X1) But, when I used the command View(new_df), I had only two columns: The left one is similar to TargetBrand.Sales, etc. and the right one is just "X1" I did not achieve what I wanted. **A potentially big question from readers:* Why am I doing this? *Answer:* I want to run a multiple regression model later to see among different regions, what the sales look like for these three brands of ta...