Displaying 2 results from an estimated 2 matches for "assignemt".
2006 Jun 16
1
Assignemt problem ,,,,,,,,,,,,,,,
Hello list,
i have a very simple question about matrix assignment.
i did like this.
res<-1:30
dim(res)<-c(5,6)
ind<-1:6
now i want to assign the value of this variable ind to first coloumn in matrix res.
like
res[,1]<-ind
but this code is giving error , Actualy i have a for loop and value of ind variable is changing every time ,,total 6 times,,i want to assign every vlaue
2004 Jan 29
2
Object validation and formal classes
I'm using R 1.8.1 (Win32, Linux) and have some difficulties using
validation functions for S4 classes. The problem is if I specify a
validation function with setValidity("myclass", validate.myclass) object
validation is only performed when I create an instance using
new("myclass"), or when I explicitly call validObject(x) where x is of
class "myclass", of