In R, we can assign names for a variable as:
> x<-c(1,2,3)
> names(x)=c("A","B","C")
> x
A B C
1 2 3In Julia, I can create a RArray by x=Rif.cR([1,2,3]) But anyone know how to assign the "names" to this RArray variable in Julia?
In R, we can assign names for a variable as:
> x<-c(1,2,3)
> names(x)=c("A","B","C")
> x
A B C
1 2 3In Julia, I can create a RArray by x=Rif.cR([1,2,3]) But anyone know how to assign the "names" to this RArray variable in Julia?