1 Comment
User's avatar
Héctor Moreno's avatar

Existe un problema al correr el código en r, este se presenta en la linea: "chart.Weights(msr_opt, main = "Pesos del MSR")"

El error es el siguiente:

Warning: Recycling array of length 1 in vector-array arithmetic is deprecated.

Use c() or as.vector() instead.

Warning: Recycling array of length 1 in array-vector arithmetic is deprecated.

Use c() or as.vector() instead.

Error in `[.xts`(w, row, column) : subscript out of bounds

Seria de gran ayuda una actualización al código, muchas gracias.

Expand full comment