Displaying 6 results from an estimated 6 matches for "diegol".
Did you mean:
diego
2008 Dec 25
3
Percent damage distribution
R version: 2.7.0
Running on: WinXP
I am trying to model damage from fire losses (given that the loss occurred).
Since I have the individual insured amounts, rather than sampling dollar
damage from a continuous distribution ranging from 0 to infinity, I want to
sample from a percent damage distribution from 0-100%. One obvious solution
is to use runif(n, min=0, max=1), but this does not seem to be
2008 Mar 11
2
Adding x-axis values to a histogram
Dear useRs,
Is there a way one can add x-axis values to a histogram? Example:
z = rgamma(n=1000, shape = 8, scale = 1000)
hist(z, breaks = 30)
Currently I see 4 x-axis values: 5000, 10000, 15000, 20000. Can I add more
values or modify the ones currently showing? I tried ?hist, yet couldn't
work this out.
Thank you very much.
-----
~~~~~~~~~~~~~~~~~~~~~~~~~~
Diego Mazzeo
Actuarial Science
2009 Mar 15
2
Testing for Inequality à la "select case"
Using R 2.7.0 under WinXP.
I need to write a function that takes a non-negative vector and returns the
parallell maximum between a percentage of this argument and a fixed value.
Both the percentages and the fixed values depend on which interval x falls
in. Intervals are as follows:
>From | To | % of x | Minimum
2009 Jun 28
2
Same initial seed
Hello,
I have tried a few searches without luck before posting, since this one
seems a pretty basic question.
I am using R 2.7.0 on WinXP, as I have long started using this version for
my thesis work and am reluctant to update fearing consistency/backward
compatibility issues could happen.
I noticed that whenever I start an R session (launch the console
application) and run a script involving
2008 Dec 26
1
starting values update
...sis testing, survey package,
ts on samples, plotting (Peter Dalgaard)
10. Re: p(H0|data) for lm/lmer-objects R (Daniel Malter)
11. Re: Implementing a linear restriction in lm() (Daniel Malter)
12. Re: p(H0|data) for lm/lmer-objects R (Andrew Robinson)
13. Percent damage distribution (diegol)
14. Re: ggplot2 Xlim (Wayne F)
15. Re: creating standard curves for ELISA analysis (1Rnwb)
16. Re: Percent damage distribution (Ben Bolker)
17. Re: How can I avoid nested 'for' loops or quicken the
process? (Prof Brian Ripley)
18. Re: Percent damage distribution (Prof Brian...
2009 Sep 01
1
Logistic Politomic Regression in R
...cott <d.scott@auckland.ac.nz>
Subject: Re: [R] Google's R Style Guide
To: ted.harding@manchester.ac.uk
Cc: r-help@r-project.org
Message-ID: <4A9B9DDA.1050608@auckland.ac.nz>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
(Ted Harding) wrote:
> On 29-Aug-09 17:51:54, diegol wrote:
>> Max Kuhn wrote:
>>> Perhaps this is obvious, but Ive never understood why this is the
>>> general convention:
>>>
>>>> An opening curly brace should never go on its own line;
>>> I tend to do this:
>>>
>>> f <- fun...