similar to: One Dimensional Monte Carlo Simulation

Displaying 20 results from an estimated 5000 matches similar to: "One Dimensional Monte Carlo Simulation"

2017 Aug 01
0
One Dimensional Monte Carlo Simulation
Tony, I?m not sure what exactly you?re trying to do, but you're not really taking advantage of vectorization in your R code. I've tried to clean it up a little. The clamped lognormal is almost always 0 or L? That seems a little odd. You seem to be using the inverse cdf method of drawing samples. That's not necessary in R for standard probability distributions. You may want to do a
2017 Jul 07
2
italic font on cairo devices in R 3.4
Hi Ilia, I'm running Arch Linux, R 3.4.0. Here's my test.pdf from your minimal example: https://ptpb.pw/HxsA.pdf It doesn't look pixelated to me... Here's a post that I wrote when I solved my last font problem in R, almost 2 years ago: https://stackoverflow.com/a/40940331/5087283 I had to install some Microsoft font packages, which is sad, because there are some perfectly
2017 Jul 07
2
[Rd] italic font on cairo devices in R 3.4
Hi Ilia, I'm running Arch Linux, R 3.4.0. Here's my test.pdf from your minimal example: https://ptpb.pw/HxsA.pdf It doesn't look pixelated to me... Here's a post that I wrote when I solved my last font problem in R, almost 2 years ago: https://stackoverflow.com/a/40940331/5087283 I had to install some Microsoft font packages, which is sad, because there are some perfectly
2017 Jul 08
1
[Rd] italic font on cairo devices in R 3.4
Hi Ilia, You may want to have a try of the showtext package (https://github.com/yixuan/showtext). Below is a quick example: library(showtext) showtext.auto() pdf("test.pdf") ## Use the "sans" font family provided by the showtext package ## font == 3 means italic font face plot(1, xlab = "Unicode characters: \u00C0 \u00C6 \u00D8", family = "sans",
2017 Jul 04
2
italic font on cairo devices in R 3.4
Hi all, I have the following problem: Since R 3.4.0, italic fonts rendered on Cairo devices appear pixelated. Here's a minimal example: cairo_pdf('test.pdf') plot(1:10, ylab=expression(italic(test))) dev.off() The same problem occurs with bolditalic, but not bold. I am using Debian Stretch. Several friends tried the same on their machines, another Debian machine has the same
2017 Jul 04
2
italic font on cairo devices in R 3.4
Hi all, I have the following problem: Since R 3.4.0, italic fonts rendered on Cairo devices appear pixelated. Here's a minimal example: cairo_pdf('test.pdf') plot(1:10, ylab=expression(italic(test))) dev.off() The same problem occurs with bolditalic, but not bold. I am using Debian Stretch. Several friends tried the same on their machines, another Debian machine has the same
2017 Jul 07
0
[Rd] italic font on cairo devices in R 3.4
On Fri, Jul 07, 2017 at 07:08:52PM +0200, Ilia Kats wrote: > Interesting. I did not have the package installed, but I did at some point > extract Helvetica from some MacOSX font files and R was using that just fine > until 3.3. This is how the plot looks in 3.4 (still using Helvetica): > https://ptpb.pw/HikX.pdf . After removing Helvetica, installing the > ttf-mscorefonts-installer
2017 Jul 07
0
[Rd] italic font on cairo devices in R 3.4
Interesting. I did not have the package installed, but I did at some point extract Helvetica from some MacOSX font files and R was using that just fine until 3.3. This is how the plot looks in 3.4 (still using Helvetica): https://ptpb.pw/HikX.pdf . After removing Helvetica, installing the ttf-mscorefonts-installer package, and running fc-cache --force the plot looks like this:
2017 Jun 21
2
R and Tableau Compatibility
Good morning R helpers, I hope this email finds you well. Recently, I am thinking of using R with connection to Tableau. I search information online but I did not see any official documentations about these compatibilities. I have Tableau version 10.1 and I wonder which versionS of R is compatible to this Tableau version. Thank you very much. Your quick assistance will be appreciated. Best,
2017 Jun 21
0
R and Tableau Compatibility
> On Jun 21, 2017, at 6:24 AM, Dai, Shengyu [HCSUS] <SDai9 at its.jnj.com> wrote: > > Good morning R helpers, > > I hope this email finds you well. > > Recently, I am thinking of using R with connection to Tableau. I search information online but I did not see any official documentations about these compatibilities. I have Tableau version 10.1 and I wonder which
2017 Jul 06
1
R loop function in Tableau
Hi R helpers, I hope this email finds you well. I am having trouble with R loop function in Tableau. Please see the attachment of a simple dataset. The problem is to test whether the value of columns is match. Because Tableau do not have iteration function, I coded ?if statement? in Tableau to realize the function, which is slow if having huge amount of data. I wonder to integrate
2011 Jun 30
1
Italicized greek symbols in PDF plots
I know that this has been asked before in other variations but I just can't seem to figure out my particular application from previous posts. My apologies if I have missed the answer to this question somewhere in the archives. I have indeed looked. I am running Ubuntu 11.04, with R 2.12.1 and ESS+Emacs. For journal formatting requirements, I need to italicize all the greek letters in any
2010 Apr 02
1
Tableau Public vis software / Ubuntu
Hey all -- First post, so first off thanks for creating this wonderful software and helping out new users like me adapt to the wine-way :) Has anyone managed to get Windows/Mac only data analysis and vis suite Tableau Public (http://www.tableausoftware.com/public/download) running with any version Wine yet? It goes through the motions of installing, but then won't run. I'd welcome any
2006 May 21
5
Looking for a Rails AJAX gallery/tutorial
Hello everyone, Do any of you know of a downloadable Rails app that demonstrates all the bundled AJAX-iness in an impressive form? I''m looking for two things: - something I can show off to wow people with Rails'' built-in AJAX power, then show them the code that does the work and wow them again with the simplicity. In short, something that will impress potential customers, as
2008 Apr 18
1
Embedding fonts in pdfs
Hi all, I'm having problems embedding fonts in my graphics - and I've tried embedFonts to no avail. I have a pdf file and pdffonts tells me: name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- ZapfDingbats Type 1 no no no 5 0 Helvetica
2017 Jul 27
2
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
Hi, Please help about the error I am getting after the h1.dat<- line : this line worked with much more independant variables and bigger data. This time I want to work with just 2 variables cteD & cteTh. What is wrong ? > setwd("C:/Rstudio/Trot") > library(mlogit) > horse1.data<-read.csv("cte2.csv") >
2009 Jun 05
1
Antialiasing plots and text on different devices
I have a question about antialiasing when R generates bitmaps. (This follows a thread on the ggplot2 mailing list.) I mostly use R on Linux, although I sometimes use it in Mac and Windows as well. On Linux, I've found that plotting shapes 15-18 via cairo results in bad-looking output. The points are not antialiased, and they are jagged and misshapen. Plots generated in Windows also aren't
2009 Jan 21
1
Italics in svg output display as bold (PR#13463)
Full_Name: Yan Wong Version: 2.8.1 OS: Mac OS X 10.4 Submission from: (NULL) (78.149.167.246) When printing a plot to and svg file, text intended to be in italics is rendered in bold (svg file viewed using both Safari 3.2.1 and Firefox 2.0.0.9. For example, try viewing the test.svg file generated by svg("test.svg", width=4,4,8) plot.new();
2010 Jun 04
1
strange behaviour of CairoPNG
Hi, could it be that the text() fuction gives different output for normal png() and CarioPNG()? See the following example and the attached images: the font=2 and font=3 seem to be exchanged! Thanks for help, Thomas CairoPNG("Test-cairo.png",width=750,height=690) #png("Test-normal.png",width=750,height=690) plot(1,1,type="n",main="normal")
2017 Jul 27
3
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
> On 27 Jul 2017, at 18:03 , Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote: > > Looks like you need to pay attention to how you read in your data. In general, you should always execute one statement at a time until you know your script is working. All the errors after the first one are unhelpful to you or us. > > If you actually pay attention to what is in your