> x=c(1,2,3,4,5)
> x1=list(n1=1,n2=2,n3=x)
> is.vector(x1)
[1] TRUE
> is.list(x1)
[1] TRUE
why is.vector(x1)=true?i can't understand.
See Question&Answers more detail:os> x=c(1,2,3,4,5)
> x1=list(n1=1,n2=2,n3=x)
> is.vector(x1)
[1] TRUE
> is.list(x1)
[1] TRUE
why is.vector(x1)=true?i can't understand.
See Question&Answers more detail:os