search for: milu

Displaying 20 results from an estimated 57 matches for "milu".

Did you mean: mill
2016 Apr 12
2
Adding Two-Headed Arrow in map legend
Hello Jim, Thanks again. I am getting the two-headed arrow but I cannot seem to get the coordinates right for the arrow to appear beneath the map. These coordinates puts the arrow on the left hand side. Thanks again! Sincerely, Milu On Tue, Apr 12, 2016 at 1:15 PM, Jim Lemon <drjimlemon at gmail.com> wrote: > Hi Milu, > There is a two-headed arrow on the image you sent, and it seems to be > where you specified. Did you want it beneath the map, as: > > par(xpd=TRUE) > arrows(-22,54.75,-22,74,code=3) &g...
2016 Apr 13
0
Adding Two-Headed Arrow in map legend
Hi Milu, My fault here. As I don't have the data to make the map and try out my suggestions I mixed up the x and y coordinates. Try this: par(xpd=TRUE) arrows(-19.75966,53,33.60000,53,code=3) par(xpd=FALSE) Jim On Tue, Apr 12, 2016 at 10:11 PM, Miluji Sb <milujisb at gmail.com> wrote: > Hel...
2016 Apr 12
2
Adding Two-Headed Arrow in map legend
...btain coordinates for the arrow par('usr') # -19.75966 54.75966 33.60000 71.40000 # Arrows par(xpd=TRUE) arrows(-19.75966, 54.75966, 33.60000, 71.40000,code=3) par(xpd=FALSE) As the output shows I cannot seem to get the correct coordinates for the arrows. Thanks again. Sincerely, Milu -------------- next part -------------- A non-text attachment was scrubbed... Name: myplot.pdf Type: application/pdf Size: 116608 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20160412/d53f8072/attachment.pdf>
2016 Apr 12
0
Adding Two-Headed Arrow in map legend
Hi Milu, There is a two-headed arrow on the image you sent, and it seems to be where you specified. Did you want it beneath the map, as: par(xpd=TRUE) arrows(-22,54.75,-22,74,code=3) par(xpd=FALSE) Jim On Tue, Apr 12, 2016 at 7:58 PM, Miluji Sb <milujisb at gmail.com> wrote: > Dear Jim, > &g...
2016 Apr 11
0
Adding Two-Headed Arrow in map legend
Hi Milu, I just realized that by "the bottom of the map" you may mean "beneath the map", in which case you should use: par(xpd=TRUE) arrows(...) par(xpd=FALSE) Jim On Mon, Apr 11, 2016 at 11:50 PM, Miluji Sb <milujisb at gmail.com> wrote: > Dear David, > > Thank you ve...
2016 Apr 11
2
Adding Two-Headed Arrow in map legend
Dear David, Thank you very much for your replies! I didn't know about par('usr'). I get different coordinates though: [1] -19.75966 54.75966 33.60000 71.40000 But the arrow is not at the bottom of the map. I will keep playing with this. Thanks again! Sincerely, Milu On Mon, Apr 11, 2016 at 12:00 AM, David Winsemius <dwinsemius at comcast.net> wrote: > > > > On Apr 10, 2016, at 1:45 PM, Miluji Sb <milujisb at gmail.com> wrote: > > > > Dear David, > > > > The device was the issue. The quartz() device works fine b...
2018 Feb 20
3
Take the maximum of every 12 columns
This is what I was looking for. Thank you everyone! Sincerely, Milu <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Mail priva di virus. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DA...
2016 Apr 10
2
Adding Two-Headed Arrow in map legend
Dear David, The device was the issue. The quartz() device works fine but pdf() does not. Now I just need to figure out the limits for map for Europe. Thanks for all your help and patience. Sincerely, Milu On Sun, Apr 10, 2016 at 7:10 PM, David Winsemius <dwinsemius at comcast.net> wrote: > > > On Apr 10, 2016, at 4:12 AM, Miluji Sb <milujisb at gmail.com> wrote: > > > > Hello David, > > > > This is exactly what I want but I still can't get the arrow...
2016 Apr 10
0
Adding Two-Headed Arrow in map legend
> On Apr 10, 2016, at 1:45 PM, Miluji Sb <milujisb at gmail.com> wrote: > > Dear David, > > The device was the issue. The quartz() device works fine but pdf() does not. Now I just need to figure out the limits for map for Europe. Thanks for all your help and patience. After plotting a map of Europe with base gr...
2018 Feb 20
0
Take the maximum of every 12 columns
...r a reason. Or is there something I am missing? Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Feb 20, 2018 at 8:16 AM, Miluji Sb <milujisb at gmail.com> wrote: > This is what I was looking for. Thank you everyone! > > Sincerely, > > Milu > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Mail > priva di v...
2018 Feb 20
2
Take the maximum of every 12 columns
...heers, > Bert > > > > Bert Gunter > > "The trouble with having an open mind is that people keep coming along and > sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > On Tue, Feb 20, 2018 at 8:16 AM, Miluji Sb <milujisb at gmail.com> wrote: > >> This is what I was looking for. Thank you everyone! >> >> Sincerely, >> >> Milu >> >> >> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_cont...
2018 Feb 20
0
Take the maximum of every 12 columns
Hi Milu, byapply(df, 12, function(x) apply(x, 1, max)) You might also be interested in the matrixStats package. Best, Ista On Tue, Feb 20, 2018 at 9:55 AM, Miluji Sb <milujisb at gmail.com> wrote: > Dear all, > > I have monthly data in wide format, I am only providing data (at the botto...
2016 Apr 10
2
Adding Two-Headed Arrow in map legend
Hello David, This is exactly what I want but I still can't get the arrows. R and R studio is updated. Thanks again! Sincerely, Milu On Sat, Apr 9, 2016 at 10:29 PM, David Winsemius <dwinsemius at comcast.net> wrote: > > > On Apr 9, 2016, at 1:27 PM, David Winsemius <dwinsemius at comcast.net> > wrote: > > > > > >> On Apr 9, 2016, at 11:18 AM, David Winsemius <dwinsemius at comca...
2017 Nov 06
2
Error in Zero inflated model (ziP) with bam
...is a family object specifying the distribution and link to use in fitting etc. See glm and family for more details. The extended families listed in family.mgcv can also be used." The family.mgcv does include ziP. What am I doing wrong? Any guidance will be appreciated. Thank you! Sincerely, Milu [[alternative HTML version deleted]]
2016 Apr 10
0
Adding Two-Headed Arrow in map legend
> On Apr 10, 2016, at 4:12 AM, Miluji Sb <milujisb at gmail.com> wrote: > > Hello David, > > This is exactly what I want but I still can't get the arrows. R and R studio is updated. Thanks again! I didn't try it in Rstudio until just now (and I don't remember that you ever mentioned RStudio as a possi...
2017 Jun 17
3
Prediction with two fixed-effects - large number of IDs
...g2 <- felm(lny ~ x1+ I(x1)^2 + x2+ I(x2)^2 | id + year , data=mydata, na.action="na.omit") ### However, predict does not work with felm. Is there a way to either make lm faster or use predict with felm? Is parallelizing an option? Any help will be appreciated. Thank you! Sincerely, Milu [[alternative HTML version deleted]]
2018 Feb 20
0
Take the maximum of every 12 columns
...gt; >> Bert Gunter >> >> "The trouble with having an open mind is that people keep coming along and >> sticking things into it." >> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) >> >> On Tue, Feb 20, 2018 at 8:16 AM, Miluji Sb <milujisb at gmail.com> wrote: >> >>> This is what I was looking for. Thank you everyone! >>> >>> Sincerely, >>> >>> Milu >>> >>> >>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&amp...
2018 Feb 20
5
Take the maximum of every 12 columns
...() and return object sapply(index.list, function(i) { do.call(fun, list(x[, i], ...)) }) } ## Compute annual means y <- byapply(df, 12, rowMeans) How can I switch rowMeans with a command that takes the maximum? I am a bit baffled. Any help will be appreciated. Thank you. Sincerely, Milu ### dput(droplevels(head(x, 5))) structure(list(X0 = c(295.812103271484, 297.672424316406, 299.006805419922, 297.631500244141, 298.372741699219), X1 = c(295.361328125, 297.345092773438, 298.067504882812, 297.285339355469, 298.275268554688), X2 = c(294.279602050781, 296.401550292969, 296.7779846191...
2018 May 16
2
Bilateral matrix
...0 0 1 c 0 0 1 0 0 d 0 0 1 1 1 e 0 0 1 1 0 Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, May 16, 2018 at 7:49 AM, Miluji Sb <milujisb at gmail.com> wrote: > Dear Bert and Huzefa, > > Apologies for the late reply, my account got hacked and I have just > managed to recover it. > > Thank you very much for your replies and the solutions. Both work well. > > I was wondering if there was an...
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
...ot;white", mapRegion="Europe", addLegend=FALSE) The following command does not seem to add the arrow. What am I doing wrong? do.call(addMapLegend, c(eps_europe, legendLabels="none", arrows(-100,-140,100,-140,code=3))) Thank you again. I really appreciate it. Sincerely, Milu On Sat, Apr 9, 2016 at 12:20 PM, Jim Lemon <drjimlemon at gmail.com> wrote: > Hi Miluji, > Try this: > > arrows(-100,-140,100,-140,code=3) > > Jim > > > On Fri, Apr 8, 2016 at 10:24 PM, Miluji Sb <milujisb at gmail.com> wrote: > > I am trying to draw m...