[R] SVYPLOT

Raphael Fraser raphael.fraser at gmail.com
Thu Nov 20 16:31:34 CET 2014


Does not work when ,style="grayhex".

library(survey)
data(api)
dstrat<-svydesign(id=~1,strata=~stype, weights=~pw, data=apistrat, fpc=~fpc)
svyplot(api00~api99, design=dstrat, style="grayhex")
svyplot(api00~api99, design=dstrat, style="grayhex", ylim=c(500, 700))

On Thu, Nov 20, 2014 at 9:19 AM, Adams, Jean <jvadams at usgs.gov> wrote:

> Raphael
>
> I just ran an example from the help file, and the xlim argument worked
> fine.  Can you post a small example where the xlim argument doesn't work?
>
> Jean
>
> library(survey)
> data(api)
> dstrat<-svydesign(id=~1,strata=~stype, weights=~pw, data=apistrat,
> fpc=~fpc)
> svyplot(api00~api99, design=dstrat, style="bubble")
> svyplot(api00~api99, design=dstrat, style="bubble", xlim=c(500, 700))
>
>
> On Thu, Nov 20, 2014 at 12:54 AM, Raphael Fraser <raphael.fraser at gmail.com
> > wrote:
>
>> How do I set the limits of my x and y axis in svyplot? xlim and ylim does
>> not work.
>>
>> Regards,
>> Raphael
>>
>>         [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> 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.
>>
>
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list