Displaying 4 results from an estimated 4 matches for "market_share".
2013 Mar 04
3
Excel User interface for R
HI,
Assume I have the data frame generated from R as the following:
Product Price market_share
A 100 10%
B 110 9%
C 120 20%
D 90 61%
What I want to do is to have this kind of excel user interface by changing price of certain products, to get the impact of market share generated from R:
if I change A price...
2013 Mar 15
2
How to make the labels of pie chart are not overlapping?
I have the following dataframe:
Product predicted_MarketShare Predicted_MS_Percentage
A 2.827450e-02 2.8
B 4.716403e-06 0.0
C 1.741686e-01 17.4
D 1.716303e-04 0.0
.......
Because there are so many products,
2008 Jan 30
9
catching errors, rspec basics
...nished in 0.006333 seconds
2 examples, 1 failure
monsterbox:spec andrew_wc_brown$
class Audience
attr_accessor :stats
def initialize(name = nil,value = nil)
@name ||= ''all''
@value ||= value
end
def stats=(flux)
@stats = @value * flux / 0.025
end
def market_share
"The Market share is for #{@name} at a high of #{@stats}"
end
end
describe "Audience.stats" do
before :all do
@audience = Audience.new(nil,20)
end
it "should have a stats of 80 when passed a flux of 10" do
@audience.stats = 10
@audience.stats.sho...
2020 Sep 21
2
Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"
Hello everyone,
I am using *mlogit* to analyse my choice experiment data. I have *3
alternatives* for each individual and for each individual I have *9
questions*. I have a response from *516 individuals*. So it is a panel of
9*516 observations. I have arranged the data in long format (it contains
100 columns indicating different variables and identifiers).
In mlogit I tried the following