[R] for loop help

Bill.Venables at csiro.au Bill.Venables at csiro.au
Wed Sep 15 02:14:41 CEST 2010


Most likely.

If you care to be more specific, we might be able to give you a more specific answer. 

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of lord12
Sent: Wednesday, 15 September 2010 6:30 AM
To: r-help at r-project.org
Subject: [R] for loop help


If you have:
Name   Value
A           2
A           3
A           4
B           5
B           6
B            7


In R how do you assign one value to the name:

A:9
B:18
-- 
View this message in context: http://r.789695.n4.nabble.com/for-loop-help-tp2539621p2539621.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help at r-project.org 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.



More information about the R-help mailing list