Skip to content
Prev 164665 / 398503 Next

Creating a vector

It seems the crux of the problem is:

#Heres my problem...my attempt below is to build a vector of
length-"candslength" of all of the 
	#"TAZDetermine_FEET" values that are less than or equal to Dev_size.

If you do:

TAZDetermine_FEET[ TAZDetermine_FEET <= Dev_size ]

then you will get the vector of values that you describe (assuming
I understand properly). If you need that to be some other length
than what it actually is, then perhaps 'rep' can be of use.

Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User")
PDXRugger wrote: