Hi!,
   
  Thanks in advance.
   
  I am using the example function provided in the library fPortfolio.
   
  The example is:
   
  library(fPortfolio)
   
  ## SOURCE("fPortfolio.B2-MarkowitzPortfolio")
  ## Not run: 
  ## berndtInvest -
  data(berndtInvest)
  # Exclude Date, Market and Interest Rate columns from data frame,
  # then multiply by 100 for percentual returns ...
  berndtAssets = berndtInvest[, -c(1, 11, 18)]
  rownames(berndtAssets) = berndtInvest[, 1]
  head(berndtAssets)
  
  ## portfolioMarkowitz - 
  myPortfolio = portfolioMarkowitz(x = berndtAssets, targetReturn = 20/100/12)
   
  I need to clarify the followings:
   
  1. targetReturn = 20/100/12
   
  I could not follow the format used for targetReturn. How can I explain the values 20, 100 and 12?
   
  2. What is the objective function? and
   
  3. What are the constraints?
   
  I am looking forward for your response.
   
  Regards,
   
  Debabrata (Deb)
   

 
---------------------------------

	[[alternative HTML version deleted]]

