similar to: Importing function that is previously imported by other package

Displaying 20 results from an estimated 1000 matches similar to: "Importing function that is previously imported by other package"

2019 May 06
1
Bug in function boxplot's axis labeling
Dear developeRs, I appreciate that boxplot now labels the axes with variable names per default. However, with argument "horizontal=TRUE" (which I always use), the default axis labels are mixed up, as can e.g. be seen with require(boot) boxplot(time ~ poison, poisons, horizontal=TRUE) The correct labels would be obtained by boxplot(time ~ poison, poisons, horizontal=TRUE,
2013 Feb 12
2
Private environments and/or assignInMyNamespace
Dear DevelopeRs, I've been struggling with the new regulations regarding modifications to the search path, regarding my Rcmdr plugin package RcmdrPlugin.DoE. John Fox made Rcmdr comply with the new policy by removing the environment RcmdrEnv from the search path. For the time being, he developed an option that allows users to put the environment from Rcmdr (RcmdrEnv) on the search path,
2009 Aug 25
1
Problem with correct usage of formula environment
Dear all, I am working on a function formula.design that should automatically generate reasonable lm formulae for a number of different designs. All works well as long as all variables used are columns of the design data frame. For one function, I would like to incorporate a dummy variable for center points that is not a column of the design. Without this function, it would work like this (at
2013 Jan 24
2
Please help R error message "masked from 'package:utils':combn"
Hi The message occurred from R, when I was selected of "optimization > block diagonal Fhiser matrix" and used the attached file on PFIM. Could you please advise me about the following message? ***************************** Loading required pakage: combinat Attaching package:'combinat' The following object(s) are masked from 'package:utils':combn
2009 Mar 24
4
Error in FrF2 example on Mac OS
Dear all, I just noticed that the 0.9 update for FrF2 did not work out for Mac OS due to an error in an example that ran without error on all other platforms. I do not find any reason for this. In the past, umlauts or tab characters have sometimes been an issue, but I didn't find any of these. The function definition is FrF2(nruns = NULL, nfactors = NULL, factor.names = if
2006 May 08
3
Non repetitive permutations/combinations of elements
Hello all, I am trying to create a matrix of 1s and -1s without any repetitions for a specified number of columns. e.g. 1s and -1s for 3 columns can be done uniquely in 2^3 ways. -1 -1 -1 -1 -1 1 -1 1 -1 -1 1 1 1 -1 -1 1 -1 1 1 1 -1 1 1 1 and for 4 columns in 2^4 ways and so on. I finally used the function combn([0 1],3) that I found at the following link
2005 Aug 17
2
Copying rows from a matrix using a vector of indices
Hi, I am trying to use a vector of indices to select some rows from a matrix. But before I can do that I somehow need to convert 'combinations' into a list, since 'mode(combinations)' says it's 'numerical'. Any idea how I can do that? library("combinat") combinations <- t(combn(8,2)) indices <- c(sample(1:length(combinations),10)) # convert ???
2008 Jul 03
1
Problem in applying conditional looping
Respected All, I hope you are enjoying good health, I am tring to write a program in R but could not be very sucessful. My program draws random sample form bivariate normal distribution and then compute a variable PIJ. For certian samples some entries of variable PIJ is apearing as negative, which result in negative variance estimator. I want to introduce a loop in my program that verify the each
2006 Oct 06
1
Sum of Bernoullis with varying probabilities
Hi Folks, Given a series of n independent Bernoulli trials with outcomes Yi (i=1...n) and Prob[Yi = 1] = Pi, I want P = Prob[sum(Yi) = r] (r = 0,1,...,n) I can certainly find a way to do it: Let p be the vector c(P1,P2,...,Pn). The cases r=0 and r=n are trivial (and also are exceptions for the following routine). For a given value of r in (1:(n-1)), library(combinat) Set <- (1:n)
2006 Jul 13
1
looping using combinatorics
I have a problem where I need to loop over the total combinations of vectors (combined once chosen via combinatorics). Here is a simplification of the problem: STEP 1: Define three vectors a, b, c. STEP 2: Combine all possible pairwise vectors (i.e., 3 choose 2 = 3 possible pairs of vectors: ab,ac, bc) NOTE: the actual problem has 8 choose 4, 8 choose 5 and 8 choose 6 combinations. STEP
2017 Nov 01
0
"prob" package alternative
> On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > The prob package has been archived because it depends upon some other > packages which have issues. > > However, such projects as Introduction to Probability and Statistics in R > depend upon it for learning. There are a few other resources that also use > it. > > Does anyone
2009 Jul 24
0
Wishlist: install.packages to look for the newest version (PR#13853)
Uwe, I am talking binaries and Windows. I was not thinking of building binaries for old versions, but of looking in the new version repositories first, whether there is a binary that is said to be valid for the older version. Wouldn't it be possible to have the process look up a table of a newer R version for compatible binaries ? I got stuck with R 2-8.1 (which is not that old and should
2017 Nov 02
2
"prob" package alternative
The issue is fAsianOptions. Is there a version that works with the latest version of R? If not, which version of it works with which version of R and where can it be found? I tried several at the archive already. Alternatively, is there another package that behaves similarly to prob? On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius <dwinsemius at comcast.net> wrote: > > > On Nov
2007 Apr 10
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9606)
I've created a .Rd file (below), then converted that to .sgml using R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml The output (shown below) is missing some of the sections: arguments seealso examples If instead I convert to .d (below), the same sections are missing, and the "note" section is included but without the necessary newline.
2006 May 09
1
combn(n, k, ...) and all its re-inventions
It seems people are reinventing the wheel here: The goal is to generate all combinations of 1:n of size k. This (typically) results in a matrix of size k * choose(n,k) i.e. needs O(n ^ k) space, hence is only applicable to relatively small k. Then alternatives have been devised to generate the combinations "one by one", and I think I remember there has been a quiz/challenge about 20
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > The issue is fAsianOptions. Is there a version that works with the latest version of R? If not, which version of it works with which version of R and where can it be found? I tried several at the archive already. sessionInfo() R version 3.4.2 Patched (2017-10-04 r73465) Platform:
2015 Mar 21
3
Combinatoria
Hola buenos días, me presento, me llamo Miguel y 'soy de' y 'vivo en' Galicia. Soy profesor de secundaria (Bachillerato Adultos) y llevo 15 días estudiando R a un buen ritmo, pero todavía me faltan miles de cosas. He visto que R facilita, no solo el análisis de datos y que posee una potencia en cálculos estadísticos a cualquier nivel, sino gran caudal de recursos para Data Mining,
2015 Mar 22
2
Combinatoria
Hola Miguel, Sí se pueden obtener las variaciones con y sin repetición en R. Eso sí están un poco escondidas... Se pueden calcular de esta forma: #---------------------- > #Cargar el paquete gtools > library(gtools) > #Definir el conjunto sobre el que se hará el cálculo > x <- c('rojo', 'azul', 'verde') > #Utilizar la función "permutations()"
2017 Nov 02
2
"prob" package alternative
Yes. That's the version I've been discussing that has non-zero exit status. That situation is why CRAN retired the prob package. It's possible you installed that library earlier in development and it's been "carried" along. It no longer installs, now. The problems with all of this seem to have started this month according to the conversations. However, no one has
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > Yes. That's the version I've been discussing that has non-zero exit status. That situation is why CRAN retired the prob package. It's possible you installed that library earlier in development and it's been "carried" along. It no longer installs, now. > > The problems