[R] Superscripts and rounding
ehux
emily.huxter at ec.gc.ca
Thu Jul 30 22:49:15 CEST 2009
Good one!! Although i think it is stn - none the less neither works.
Polwart Calum (County Durham and Darlington NHS Foundation Trust) wrote:
>
> Duh! did it again! the variables need str in front of them don't they!!
>
> sub = sprintf('Seasonal station with natural streamflow - Lat: %s Lon: %s
> Gross Area %s km\UB2 - Effective Area %s km\UB2 ',
> round( str[['metadata']][['latitude']], digits=4 ),
> round( str[['metadata']][['longitude']], digits = 4),
> round( str[['metadata']][['grossarea']], digits = 4),
> round( str[['metadata']][['effectivearea']], digits = 4))
>
>
> Let me know if that works.
>
> ********************************************************************************************************************
>
> This message may contain confidential information. If yo...{{dropped:21}}
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
--
View this message in context: http://www.nabble.com/Superscripts-and-rounding-tp24682319p24747066.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list