Displaying 20 results from an estimated 2000 matches similar to: "get index of elements in vector"
2006 Oct 20
1
mcmcsamp - How does it work?
Hello,
I am a chemical student and I make use of 'lme/lmer function'
to handle experiments in split-plot structures.
I know about the mcmcsamp and I think that it's very promissory.
I would like knowing "the concept behind" of the mcmcsamp function.
I do not want the C code of the MCMCSAMP function.
I would like to get the "pseudo-algorithm" to understanding
that
2006 Oct 16
2
New package Ryacas
Ryacas is an R interface to the free yacas computer algebra
system. Ryacas allows one to send R expressions,
unprocessed yacas strings and certain other R objects to a
separate yacas process from R and get back the result. It
also has facilities for manipulating yacas strings and R
expressions destined for yacas processing.
It can be used for exact arithmetic, symbolic math, ASCII
pretty
2006 Oct 16
2
New package Ryacas
Ryacas is an R interface to the free yacas computer algebra
system. Ryacas allows one to send R expressions,
unprocessed yacas strings and certain other R objects to a
separate yacas process from R and get back the result. It
also has facilities for manipulating yacas strings and R
expressions destined for yacas processing.
It can be used for exact arithmetic, symbolic math, ASCII
pretty
2006 Oct 16
2
New package Ryacas
Ryacas is an R interface to the free yacas computer algebra
system. Ryacas allows one to send R expressions,
unprocessed yacas strings and certain other R objects to a
separate yacas process from R and get back the result. It
also has facilities for manipulating yacas strings and R
expressions destined for yacas processing.
It can be used for exact arithmetic, symbolic math, ASCII
pretty
2006 Mar 30
2
'loop FOR' for make plots
Hello
How to create plots dynamically with results of several analysis ?
I got many outputs from lm fuction like:
mp1.lm mp2.lm mp3.lm mp4.lm mp5.lm ...
I'd like to make experimental versus predicted response plots of all
analysis
in a 'for loop':
for( i in 1:10){
x11()
plot( mp*i*$experimental_response, fitted( mp*i* ) ); abline(0,1)
}
I tried: paste( 'mp', i,
2008 Jan 26
5
double-click in RData file versus load( file )
hello all,
when I start up the R and I execute o follow code:
> ls()
character(0)
> x=123
> assign("test_x", x, envir = .GlobalEnv )
> ls()
[1] "test_x" "x"
> setwd('C:\\R\\etc')
> save.image('TEST.RData')
> q('no')
I have two different behaviours:
(a) - when I start up R again by "double click" in
2008 Dec 08
1
example of gladeXML - RGtk2
hello all,
where I find a example or tutorial of RGtk2 package?
I would like to know about the gladeXML functions in R.
thanks in advance
Cleber Borges
2006 Jun 22
1
How to plot a image with restrictions?
Hello All!
How to plot a image ( image function )
with restrictions, like a polygon??
Thanks in advance!
Cleber N. Borges
##### problem example
x <- y <- seq(-4*pi, 4*pi, len=27)
r <- sqrt(outer(x^2, y^2, "+"))
image( z )
contour(z, add = TRUE, drawlabels = FALSE)
m=scan()
0.2 0.2
0.8 0.2
0.5 0.8
m = matrix(m,nr=3,byrow=T)
polygon( m, lwd=5 )
2011 Apr 04
1
RGtk2: How to populate an GtkListStore data model?
hello all
I am trying to learn how to use the RGtk2 package...
so, my first problem is: I don't get the right way for populate my
gtkListStore object!
any help is welcome... because I am trying several day to mount the code...
Thanks in advanced
Cleber N. Borges
---------------------------
# my testing code
library(RGtk2)
win <- gtkWindowNew()
datamodel <-
2008 Jun 24
1
Hessian in box-constraint problem - concern OPTIM function
Hello all useRs,
I am using the OPTIM function with particular interest in the method
L-BFGS-B,
because it is a box-constraint method.
I have interest in the errors estimates too.
I make:
s.e. <- sqrt( diag( solve( optim(...,method='L-BFGS-B',
hessian=TRUE)$hessian )))
but in help say:
"Note that this is the Hessian of the unconstrained problem even if the
box constraints
2006 Jun 27
3
how to rotate a triangle image(ZMAT) ?
Hello R users...
how to align this Zmat (triangle image) in X axis?
I would like that the triangle's base become in the X
axis and
the triangle's height become in the Y axis
Is there some trick for make this?
Thanks.
Cleber
######################## my test and try
f <- function(x,y){
z=1-x-y
z[ z < (-1e-15) ] <- NA
return( -100*x+0*y+100*z )
}
x = seq( 1, 0,
2007 Dec 02
1
odfWeave error
hello all,
I trying to use the package 'odfWeave'
and I get the follow error:
### error message
#############################################################
...
Removing content.xml
Post-processing the contents
Error in .Call("RS_XML_Parse", file, handlers, as.logical(addContext), :
Error in the XML event driven parser for content_1.xml: error parsing
attribute name
2017 Dec 21
1
develop.raw error ( adimpro )
Hello all,
I'm trying to use the adimpro package to read RAW files (image). Make
readins is OK!
> r <- read.raw( '20171218_210956.dng', type='RAW', compress=FALSE )
> summary( r )
> ### cut the many lines...
Filter pattern: GR/BG
> extract.info( r )
[1] "GR/B"
>
To next, develop the raw file using the "develop.raw" function.
But the
2016 Sep 12
5
Sieve filtering SPAM and redirect
Hi every body. I'm having difficulties to setup my filters correctly
and I really need some help.
This is my environment:
Mail that is received on the system passes through a sieve_before
script that checks the message header for SPAM tag and store it into
the "Junk" folder. If no spam tag is found, mail goes to inbox.
My horde webmail is integrated with sieve, so this allow
2013 Oct 05
3
trying to compile R in win 7 (with Rtools)
hello all,
I am trying to compile the R in Win7
and compiles one small part
but the script don't move from the 'base' directory to 'stats'
I installed the Rtools likee administrator
and call the terminal (MS-DOS) like administrator too.
if somebody can tell me any tips, I thank in advanced
cleber
#############################################
File LOG
2005 Sep 28
1
scatterplot3d + density() + polygon(color)
Hi R Users,
How to use the function polygon()
together with the package scatterplot3d?
I am trying to color below of the curves
defined for the function density().
I tried to use the site: R GRAPH GALLERY
as tutorial.
I tried to adapt the example of this page:
[figure]:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=30
[code]:
2006 Jul 08
2
String mathematical function to R-function
hello
I make a subroutine that give-me a (mathematical)
function in string format.
I would like transform this string into function ( R
function ).
thanks for any tips.
cleber
#e.g.
fun_String = "-100*x1 + 0*x2 + 100*x3"
fun <- function(x1,x2,x3){
return(
############
evaluation( fun_String )
############
)
True String mathematical function :-( :-(
> nomes
[1]
2024 Oct 26
2
Help in Recursive Function for steps reconstruction in Clusters Analysis - HCA: Single Link
Hello everybody,
I'm trying to build a function to illustrate, in 2D, the sequence of the
"Single Link" algorithm (the purpose is merely didactic).
The idea is to have the scatter of points on a graph.
Iteratively, build the segments (with the "segments()" function, for
each step).
I simulated a data set "d", and created an object "r" using the
2011 Mar 27
1
gtk, RGtk2 and error in callback: delet_event in mai window
Hello All,
I am trying to learn about the GUI in R (with GTK+Glade+RGtk2) and in my
test I don't get sucess in to make
an callback to destroy the application...
When I try to define an function for "delet-event callback", I get the
error message:
(with mouse click in X window)
*Error in function () : *
* unused argument(s) (<pointer: 0x017ca000>, <pointer:
2008 May 30
1
Get all X iterations in optim output when controls(trace=6)
Hi,
I would like to get all X iterations in optim output in matrix form.
I know about the follow approach:
sink("reportOptim")
optim( ......., control=list( trace=6,..........) )
sink()
all_iterOptim <- readLines("reportOptim")
unlink("reportOptim")
all_iterOptim <- all_iterOptim[ grep( '^X', all_iterOptim ) ]
### TODO: the rest !!! :-)
But it is very