search for: scale2

Displaying 7 results from an estimated 7 matches for "scale2".

Did you mean: scale
2020 Oct 24
0
Fitting Mixed Distributions in the fitdistrplus package
...tly. By the way, the Feller-Pareto distribution (see actual) is among the best distributions for the Danish dataset. You may also consider composite distributions, see https://CRAN.R-project.org/view=Distributions Kind regards, Christophe dmixgam <- function(x, prob, shape1, scale1, shape2, scale2) prob*dgamma(x, shape1, scale=scale1)+ (1-prob)*dpareto(x, shape2, scale=scale2) pmixgam <- function(q, prob, shape1, scale1, shape2, scale2) prob*pgamma(q, shape1, scale=scale1)+ (1-prob)*ppareto(q, shape2, scale=scale2) library(actuar) library(fitdistrplus) data("danishuni") x&...
2006 Apr 08
0
MSN like blind - BottomToTop
Previously, by mistake I added request in wish list for slide like MSN. Actully it was Blind like msn. However it was my mistake so I tried to created script by my slef - and able to do it. But I am new to this, so my script is not in good condition. Effect.Scale2 = Class.create(); Object.extend(Object.extend(Effect.Scale2.prototype, Effect.Base.prototype), { initialize: function(element, percent) { this.element = $(element) var options = Object.extend({ scaleMode: ''box'', // ''box'' or ''conten...
2005 Mar 07
1
plot gam object
...with package GAM ( I use lo() to fit 2 non-parametric additive components). When I plot the GAM object, along with the graphics window displaying plots of each components, I read the following warnings at the prompt: 3: the condition has length 1 and only the first element will be used in: if (scale2 < scale) rep(mean(ylim), 2) + ((ylim - mean(ylim)) * 4: number of items to replace is not a multiple of replacement length . I am changing the scale parameter but I still get the same warnings. I have no idea of the meaning of the warnings, I would be grateful if you could help. Is it pos...
2012 Sep 26
2
specifying arguments in functions and calling functions, within functions
Esteemed R UseRs, Regarding specifying arguments in functions and calling functions within functions: ## beginning ## ## some data ex <- rnorm(10) ex[5] <- NA ## example function Scale <- function(x, method=c("mean", "median")) { scl <- method scl(x) } ## both return NA Scale(ex, method=median) median(ex, na.rm=FALSE) ## both return the median Scale(ex,
2011 Jul 16
2
Utility function to apply a scale object on another data frame
Hi Everyone, I would like to scale a data frame and then using the same scaling parameters scale on another data frame. This will be helpful in scaling the test dataset based on train dataset's scaling parameters. I couldn't find any utility functions that do this. Any suggestions on how to approach this problem? x = data.frame(a=1:10,b=11:20) y = data.frame(a=2:11,b=12:21) s <-
2016 Aug 26
2
[PATCH 9/9] Optimize silk_inner_prod_aligned_scale() for ARM NEON
...*/ + opus_int smooth_coef_Q16, /* I Smoothing coefficient */ + int arch /* I Architecture */ ) { opus_int scale, scale1, scale2; @@ -52,7 +53,7 @@ opus_int32 silk_stereo_find_predictor( /* O Returns nrgy = silk_RSHIFT32( nrgy, scale - scale2 ); nrgx = silk_RSHIFT32( nrgx, scale - scale1 ); nrgx = silk_max_int( nrgx, 1 ); - corr = silk_inner_prod_aligned_scale( x, y, scale, lengt...
2019 May 17
5
Give update.formula() an option not to simplify or reorder the result -- request for comments
Dear All, Martin Maechler has asked me to send this to R-devel for discussion after I submitted it as an enhancement request ( https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17563). At this time, the update.formula() method always performs a number of transformations on the results, eliminating redundant variables and reordering interactions to be after the main effects. This is not always