Displaying 20 results from an estimated 300 matches similar to: "A couple of suggestions: source function (package base)"
2009 Sep 26
0
Function source: desired characteristics
Hi,
We've been calling the function "source" (package base) from Tinn-R editor to
send files, marked blocks and selections to R interpreter because it avoids a
lot of problems related with input/output synchronization in the Rgui output.
The new RGedit plugin is also using this function in this way.
We (Jakson Aquino and I) are just finishing a new version of a plug in to Vim
2005 Jul 06
1
Help: Mahalanobis distances between 'Species' from iris
Dear R list,
I'm trying to calculate Mahalanobis distances for 'Species' of 'iris' data
as obtained below:
Squared Distance to Species From Species:
Setosa Versicolor Virginica
Setosa 0 89.86419 179.38471
Versicolor 89.86419 0 17.20107
Virginica 179.38471 17.20107 0
This distances above were obtained with proc
2016 Apr 09
2
Arguments to utils:::menuInstallPkgs
Dears,
Is it possible (in any viable way) to pass arguments to the base function
(install.packages I think) using the utils:::menu?
For example:
> utils:::menuInstallPkgs(loc=.libPaths()[2])
> utils:::menuInstallLocal(loc=.libPaths()[2])
Thanks,
///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\
Jose Claudio Faria
Estatistica
UESC/DCET/Brasil
joseclaudio.faria at gmail.com
Telefones:
2004 May 27
2
ANOVA and contrasts
Dears members of R list,
I would like that a more experienced R user help me to complete
this analysis:
r = gl(3, 8, label = c('r1', 'r2', 'r3'))
e = rep(gl(2, 4, label = c('e1', 'e2')), 3)
y = c(26.2, 26.0, 25.0, 25.4, 24.8, 24.6, 26.7, 25.2, 25.7, 26.3, 25.1, 26.4,
19.6, 21.1, 19.0, 18.6, 22.8, 19.4, 18.8, 19.2, 19.8, 21.4, 22.8, 21.3)
df =
2007 Jul 23
2
doubt about options(graphics.record=T)
Hi all,
I've been using R under WindowsXP.
So, where the R stores the graphic archives (don't saved) if I use the option
options(graphics.record=T) inside of Rprofile.site file?
Regards,
--
/////\\\\\/////\\\\\/////\\\\\/////\\\\\
Jose Claudio Faria
Brasil/Bahia/UESC/DCET
Estatistica Experimental/Prof. Titular
joseclaudio.faria em terra.com.br
joseclaudio.faria em
2004 Mar 22
1
Help to compare...
Dear list,
I'm needing submit values (V1 = 8,6,4,3,1,2,9) (Id = 2:8) of a data.frame
(DF), like below
Id V1 V2 ...
1 0 1 ...
2 8 10 ...
3 6 2 ...
4 4 4 ...
5 3 7 ...
6 1 8 ...
7 2 6 ...
8 9 7 ...
9 6 1 ...
10 5 4 ...
to selection (>=2 and <8) for remanescents like below:
Id V1 V2 ...
1 0 1 ...
2 .
2010 Apr 21
2
Help: formatting the result of 'cut' function
Dear list,
I would like to format the result of the 'cut' function to perform a subsequent
frequency distribution table (fdt) suitable for publications.
Below an reproducible example:
set.seed(1)
x <- c(rnorm(1e3, mean=10, sd=1), 50, 100)
start <- 0
end <- 110
h <-10
c1 <- cut(x, br=seq(start, end, h), right=TRUE)
levels(c1)
# I get:
# [1] "(0,10]"
2005 Jul 08
5
Help with Mahalanobis
Dear R list,
I'm trying to calculate Mahalanobis distances for 'Species' of 'iris' data
as obtained below:
Squared Distance to Species From Species:
Setosa Versicolor Virginica
Setosa 0 89.86419 179.38471
Versicolor 89.86419 0 17.20107
Virginica 179.38471 17.20107 0
These distances were obtained with proc 'CANDISC'
2005 Aug 04
4
An small suggestion for the R team
Hi all,
I would like to suggest that all R functions/etc like:
codes-deprecated
grid-internal
ns-alt
ns-dblcolon
ns-hooks
ns-internals
ns-lowlev
ns-reflect.Rd
tools-internal
ts-defunct
utils-deprecated
utils-internal
... and another
i.e, function/word separate for '-'
were all substituted by
codes_deprecated
grid_internal
ns_alt
2015 Jul 19
3
update.packages(checkBuilt=TRUE, ask=FALSE): possible bug
Hello,
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status Patched
major 3
minor 2.1
year 2015
month 07
day 16
svn rev 68681
language R
version.string R version 3.2.1 Patched (2015-07-16 r68681)
nickname World-Famous Astronaut
I
2016 Apr 09
0
Arguments to utils:::menuInstallPkgs
On 09/04/2016 8:14 AM, Jose Claudio Faria wrote:
> Dears,
>
> Is it possible (in any viable way) to pass arguments to the base function
> (install.packages I think) using the utils:::menu?
No, but why not just call install.packages directly? (If you are using
Rgui in Windows, you can add menu items using winMenuAddItem).
Duncan Murdoch
> For example:
>
> >
2005 Oct 14
2
Help with lattice, regressions and respective lines
# Dear R list,
#
# I'm needing help with lattice, regression and respective lines.
# My data is below:
bra = gl(2, 24, label = c('c', 's'))
em = rep(gl(3, 8, label = c('po', 'pov', 'ce')), 2)
tem = rep(c(0, 0, 30, 30, 60, 60, 90, 90), 6)
tem2 = tem^2
r = rep(1:2, 24)
y = c(40.58, 44.85, 32.55, 35.68, 64.86, 51.95, 42.52, 52.21,
2006 Aug 04
2
Doubt about Student t distribution simulation
Dear R list,
I would like to illustrate the origin of the Student t distribution using R.
So, if (sample.mean - pop.mean) / standard.error(sample.mean) has t
distribution with (sample.size - 1) degree free, what is wrong with the
simulation below? I think that the theoretical curve should agree with
the relative frequencies of the t values calculated:
#== begin options=====
# parameters
2010 Nov 22
1
Tinn-R 2.3.7.0 released
Dears users,
A new version of Tinn-R was released today. Below details:
2.3.7.0 (Nov/22/2010)
* Bug(s) fixed:
- A bug related with the intermittent loose of connection
(or appear to freeze) with Rgui.exe was fixed.
* The versions 2.3.6.4, 2.3.6.5, 2.3.6.6 and 2.3.6.7 restricted to
pre-release testers.
* The Application options interface was a bit changed:
- The
2009 Apr 08
2
Doubt about aov and lm function... bug?
Hi,
The below very strange:
# a) aov function
av <- aov(Sepal.Length ~ Species, data=iris)
# Error in parse(text = x) :
# unexpected symbol in "Sepal(Sepal.Length+Species)Length"
av <- aov(iris[, 1] ~ iris[, 5])
# summary(av)
# Df Sum Sq Mean Sq F value Pr(>F)
# iris[, 5] 2 63.2 31.6 119 <2e-16 ***
# Residuals 147 39.0 0.3
# ---
2004 Dec 17
2
Doubts about chi-square distribution
Dear list,
For educational purposes I have been working with the script below.
I have a observation:
line 31
#CScal[i] = (amo^2) # IT IS WRONG, I KNOW, BUT IT MAKE R TO CRASHES!
I'm thinking this is a possible bug in the R!
And I have a couple of doubts:
1) line 51
#curve(dchisq(x, n-1), add = T, col = 'red'
I think that it is correct, but the function no
2009 Oct 05
4
Vim-R-plugin (new version)
Dear R users,
The author of Tinn-R (Jose Claudio Faria) now is co-author of
Vim-R-plugin2, a plugin that makes it possible to send commands
from the Vim text editor to R. We added many new key bindings,
restructured the menu and created new Tool Bar buttons. The new
version is available at:
http://www.vim.org/scripts/script.php?script_id=2628
NOTES:
(1) Some old key binding changed,
2004 May 27
1
Statistics Avec R (Vincente Zoonekynd): portuguese translation
Dears friends,
I have been translating and extended, with educational porposes only, the available material in the www
(http://zoonek2.free.fr/UNIX/48_R/all.html) "Statistcs avec R" for the Portuguese of Brazil.
I consider the material very good and would like to share this work with anothers users R.
Already I translated and I extended two chapters: Introduction to the R and analysis
2005 Jul 10
2
Help to make a specific matrix
Dear R users,
The solution is probably simple but I need someone to point me to it.
How can I to generate a matrix from a numeric sequence of 1:10 like 'A' or 'B'
below:
A)
|--------------------|
| 1 2 3 4 5 |
|--------------------|
| 1 | 0 |
| 2 | 1 0 |
| 3 | 2 5 0 |
| 4 | 3 6 8 0 |
| 5 | 4 7 9 10 0 |
|--------------------|
2007 Jun 05
2
biplot package
Dears,
I've been learning biplot (Gabriel, 1971) and I found the function 'biplot', inside of the package 'stats',
useful but, a bit limited.
So, I'm thinking to start a colaborative package to enhance this methods to other multivariate methods. In this
way, I would like to start it, making public a new function (biplot.pca, still in development, but running)
that make