Displaying 4 results from an estimated 4 matches for "refm".
Did you mean:
ref
2017 Jun 18
2
About error bars on barplots
...R users,
I have a question about adding uncertainty bars to stacked bar plots.
DF:
year A B C Amin Amax Bmin Bmax Cmin Cmax
2009 40 45 15 30 61 23 56 14 17
2010 36 41 23 26 54 22 51 22 24
I use the code below:
DF.refm = melt(subset(DF[,c(1:4)]),id.vars='year',variable_name='Legend')
fig1 = ggplot(data=DF.refm, aes(x=year,y=value,fill=Legend))+
geom_bar(stat='identity',size=.5)+ theme_bw()+ xlab('Year')+
ylab('Percent (%)')
print(fig1)
But I don't know how to change...
2017 Jun 18
0
[FORGED] About error bars on barplots
...inty bars to stacked bar plots.
>
> DF:
> year A B C Amin Amax Bmin Bmax Cmin Cmax
> 2009 40 45 15 30 61 23 56 14 17
> 2010 36 41 23 26 54 22 51 22 24
>
> I use the code below:
>
> DF.refm = melt(subset(DF[,c(1:4)]),id.vars='year',variable_name='Legend')
>
> fig1 = ggplot(data=DF.refm, aes(x=year,y=value,fill=Legend))+
> geom_bar(stat='identity',size=.5)+ theme_bw()+ xlab('Year')+
> ylab('Percent (%)')
> print(fig1)
>
>...
2013 Jan 17
0
help with error: DV "converted to a factor"
...list', length(IVcat))
for(i in 1:length(IVcat)){
assign(paste("IVvalues",i,sep=""),unique(dataset[[toString(IVcat[i])]])[!is.na(unique(dataset[[toString(IVcat[i])]]))])
IVvalslist[i]<-list(get(paste("IVvalues",i,sep="")))
}
#Create a data frame (refM) with every combination of values for each IVcat
refM<-expand.grid(IVvalslist)
#Loop through all possible reference values, and then run the model,
#and then compile the model summary output into a single matrix
#Go through each row of the matrix of possible reference value combinations
for...
2000 Jan 28
1
Activating Graphics History
...the menu.
Any help would be greatly appreciated.
++++++++++++++++++++++++
James N. Ianelli
Alaska Fisheries Science Center
7600 Sand Point Way NE Bldg 4
BIN C15700
Seattle, Wa 98115-0070
phone 206-526-6510
fax 206-526-6723
e-mail jim.ianelli at noaa.gov
http://www.refm.noaa.gov
++++++++++++++++++++++++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2180 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20000128/f568fe50/winmail.bin