Displaying 3 results from an estimated 3 matches for "age5".
Did you mean:
age
2012 Feb 06
3
Duplicate rows when I combine two data.frames with merge!
...)) #sets up 1000 random
numbers for age 3,4,5
x.3<-sample(x[,1],60) #randomly selects 60 lengths from age 3
x.4<-sample(x[,2],740)
x.5<-sample(x[,3],200)
length<-c(x.3,x.4,x.5)
length<-round(length,digits=0) #rounds lengths to whole number
age3<-rep(3,60)
age4<-rep(4,740)
age5<-rep(5,200)
age<-c(age3,age4,age5) #combines ages into one vector
unique<-1:1000 #gives each fish a unique id
pop<-data.frame(unique,length,age)
pop<-pop[sample(1:1000,size=1000,replace=FALSE),] #randomized the order of
pop
c.one<-pop[sample(1:1000,size=100,replace=TRUE),]
a....
2005 Oct 20
1
Windows 2000 crash while using rbind (PR#8225)
...=20
month 10 =20
day 06 =20
svn rev 35749 =20
language R=20
One of the examples that has failed for me looks like
pop <- rbind(om.tp[,c(6,2,4,5,3)],eas[,c(2,1,3,4,5)])
> str(om.tp[,c(6,2,4,5,3)])
`data.frame': 1001384 obs. of 5 variables:
$ age5 : Factor w/ 18 levels "0 to 4","5 to 9",..: 1 1 1 1 1 2 2 2 2 2 =
...
$ sex : Factor w/ 2 levels "Females","Males": 1 1 1 1 1 1 1 1 1 1 ...
$ lga : Factor w/ 142 levels "Albany (C)","Armadale (C)",..: 21 21 21 =
21 21 21 21 21 21 21 .....
2010 Sep 12
3
reshape matrix entities to columns
Greeting R helpers J
I am not familiar with R but I have to use it to analyze data set that I have
(30,000 20,000)
I want to change the structure of the dataset and I am wondering how that might
be possible in R
A main data looks like this: some entities are empty
Age No. Age No. Age No.
Center1 5 2 8
7