You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dta_agg<-aggregate(dta[,"id"]~passenger_count,dta,mean)
barplot(dta_agg[,2],names.arg = dta$passenger_count,main=input$passenger_count,
ylab="Number of Pickup location",xlab="users")
This is the code i have tried and got an error :"incorrect number of names". Can you help me with this aggregate function.
The text was updated successfully, but these errors were encountered:
dta_agg<-aggregate(dta[,"id"]~passenger_count,dta,mean)
barplot(dta_agg[,2],names.arg = dta$passenger_count,main=input$passenger_count,
ylab="Number of Pickup location",xlab="users")
This is the code i have tried and got an error :"incorrect number of names". Can you help me with this aggregate function.
The text was updated successfully, but these errors were encountered: