I think you want:

v <- data$VA


On 7/2/07, Judith Flores <juryef@yahoo.com> wrote:
>
> Hi,
>
>   I need to run a script under the variable (that
> comes from a csv file) that is assigned to another
> variable. This is very a simplified version of what I
> want to do:
>
> data<-read.csv('name.csv')
> names(data)<-("VA","VB","VC")
>
> v<-VA
>
> mn(v)
>
>
> Thank you in advance,
>
> Judith
>
>
>
>
>
>
>
> ____________________________________________________________________________________
> Got a little couch potato?
> Check out fun summer activities for kids.
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

	[[alternative HTML version deleted]]

