How to set scale and bias in CatBoost R package - r

The catboost documentation contains instructions for setting model scale and bias in the Python package (here) and the command line implementation (here), but not the R package.
Can anyone show how it is done in R?

Related

Is there an alternative to elrm (Exact logistic regression) in R - the elrm package is not available in repository

I am trying to run a simple binary logistic regression, but one of my cells has a 0. Because of this, I wanted to run exact logistic regression but I get that package elrm is not available for R 3.6.2.
I researched online and found you could install from archive, but I have never done that before.
I tried the following, but still got the message that "ERROR: dependency 'coda' is not available for package 'elrm'
elrmurl <- "https://cran.r-project.org/src/contrib/Archive/elrm/elrm_1.2.3.tar.gz"
install.packages(elrmurl, repos=NULL, type="source")
I'm very out of my depth with this one but would appreciate any guidance on either 1) how to properly install the elrm package from archive (https://cran.r-project.org/src/contrib/Archive/elrm/) or 2) potential alternative packages that might allow me to do exact logistic regression in R.
Try :
install.packages("devtools")
library(devtools)
Sys.setenv("R_REMOTES_NO_ERRORS_FROM_WARNINGS" = "true")
install_github("cran/elrm")
You probably already thought about it, but you could also collapse or delete levels in order to have enough observations to do a regular logistic regression with glm

How to use Truncated Multivariate Normal distribution in Julia

I am running an (Markov Chain Monte Carlo) MCMC in Julia where one of the steps requires that I simulate from a Truncated Multivariate Normal Distribution(TMvN).
Right now, I call the package TruncatedNormal from R using RCall.
The Distributions package in Julia offers the Truncated options but only seems to work for ivariate distributions.
Is there a native Julia package I can use to directly simulate from a TMvN?

fmincon in R - disappeared from 'pracma' package?

In the 'pracma' package manual there is function fmincon to Minimize Nonlinear Constrained Multivariable Function (page 116). However I've installed this package, but there is no such function.
Has it been removed from this package?
Could anyone indicate any other R ackage or function with such funcionality (Minimize Nonlinear Constrained Multivariable Function) ?
What version of pracma do you have installed? The manual you linked to is from version 2.2.5, and that's also the version on CRAN, and it does have fmincon.
Perhaps you forgot
library(pracma)
to attach it? Installing isn't enough to make the contents visible.

MBESS package in R

I want to compute an effect size for my linear models in R with the package MBESS.
I installed the package and then wanted to use effect.size (lm) but then R tells me that it canĀ“t find "effect.size".... I thought this was included in the package?

How to modify an R package to create a new package for Reweighted Kernel Density Estimation?

I am working on "Reweighted Kernel Density Estimation".
I couldn't find any package in R for "weighted bivariate density estimation.
That's why I am going to modify availabe univariate packages. But I don't know how to access to source code for those packages. Please let me know how do that.
All source files can be found on CRAN:
http://cran.r-project.org/web/packages/
You are looking for the tar.gz archive.
You can also type the function you are interested in modifying's name into the R console without parentheses. That will give you the code, but most even halfway complicated packages use either S3 or S4 classes/methods, so you'll need to know more about those to extend them properly.

Resources