Displaying 20 results from an estimated 2000 matches similar to: "about find the solution"
2007 Dec 12
3
Measure of agreement??
Dear List,
Please put me on the right track. I have been searching for the R functions for measures of agreement. Where should I look?
Patrik Öhagen
Läkemedelsverket
Box 26
751 03 Uppsala
Tel. +46(0)18-174924
patrik.ohagen@mpa.se
[[alternative HTML version deleted]]
2008 Aug 19
1
Exponential smoothing?
An r hel search picks up
http://tolstoy.newcastle.edu.au/R/help/01a/1162.html
from 2001, which points towards the ts package.
>>> ?hagen Patrik <Patrik.Ohagen at mpa.se> 19/08/2008 09:00:12 >>>
Dear List,
I have used all my resources (i.e. "help.search) and I still havn't been able to figure out if there is an Exponential Smoothing command in R.
Thank you in
2006 Aug 31
3
predict.lm within a function
Hi
I'm trying to wrap predict.lm within a function, but I'm having problems
passing arguments into it in this way.
Basically I want to create a lm object, then pass it into the predict.lm
function and be able to tell predict.lm which variable I want to predict
for, by passing the variable name as an argument of the wrapper
function. This variable will always be a factor with 3 levels,
2011 Aug 29
3
how to start R script editor by default
Hi All,
1) Is it possible to set the options such that R opens a new script editor
every time I start the R and 2) specify the size of windows.
Thanks for the suggestion and Best regards,
Krishna
[[alternative HTML version deleted]]
2012 Dec 18
7
Summarizing elements for a data.frame
Hello again, let say we have following data:
Dat1 <- structure(list(factor.sample.LETTERS.1.3...6..replace...T.. =
structure(c(1L,
3L, 2L, 1L, 3L, 3L), .Label = c("A", "B", "C"), class = "factor"),
factor.sample.letters.1.2...6..replace...T.. = structure(c(2L,
2L, 1L, 1L, 2L, 1L), .Label = c("a", "b"), class =
2002 May 17
0
options()$warn==2 and try()
Dear R-help folks:
Here is my platform:
> version
platform sparc-sun-solaris2.7
arch sparc
os solaris2.7
system sparc, solaris2.7
status
major 1
minor 5.0
year 2002
month 04
day 29
language R
I have a
2010 Mar 13
2
dmvnorm masked by emdbook
I am using curve3d in the emdbook package to graph a gaussian copula density
function generated via the copula package. Unfortunately, it appears that
emdbook masks dmvnorm from the package mvtnorm in a way that prohibits
copula from generating the gaussian copula. (Sounds very confusing!) For
example,
> library(copula)
> f<-function(x,y) dcopula(normalCopula(0),c(x,y))
>
2013 Mar 14
3
Create patterns within a plot?
Dear All,
As an attempt to highlight the overall pattern in a Forest plot, I would like to "highlight" the area around HR=1. I cannot find any simple tools for painting a grey ribbon between 0.9 and 1.1. Any suggestions?
Thank you in advance!
Cheers, Patrik
[[alternative HTML version deleted]]
2004 Apr 05
0
Selecting Best Regression Equation : leaps() in R and stepwise() in S+
Dear all,
First of all - thanks to the R-users who replied my previous mail
"Selecting Best Regression Equation". However, seems i've got some other
problems now -
My data in c:\leafbrn.txt file is-
--------------------------------------
i x1 x2 x3 y
1 3.05 1.45 5.67 0.34
2 4.22 1.35 4.86 0.11
3 3.34 0.26 4.19 0.38
4 3.77 0.23 4.42 0.68
5 3.52 1.10 3.17 0.18
6 3.54 0.76 2.76
2011 Nov 17
1
Vectorizing for weighted distance
Hi All,
I am trying to convert the following piece of matlab code to R:
XX1 = sum(w(:,ones(1,N1)).*X1.*X1,1); #square the elements of X1,
weight it and repeat this vector N1 times
XX2 = sum(w(:,ones(1,N2)).*X2.*X2,1); #square the elements of X2,
weigh and repeat this vector N2 times
X1X2 = (w(:,ones(1,N1)).*X1)'*X2; #get the weighted
'covariance'
2012 Nov 19
2
Ben Bolker's '‘emdbook’ Package , rbetabinom
Hello,
I am using rbetabinom ( to generate beta binomial random variables) function
available in the "emdbook"package written by Professor. Ben Bolker for my
research study.
I have no questions with this function. However, I am looking for the
theoretical method/algorithm of the function "rbetabinom " .
Morris (1997), American Naturalist 150:299-327 is given as the reference
2005 Jun 20
2
app_valetparking.c
Since www.bkw.org seems not to exist anymore (getting response from some
hosting provider), does anyone happend to have a copy of app_valetparking.c
from www.bkw.org - the one that should work with * stable 1.0.X ? If so
please contact me.
One that can be downloaded from www.loligo.com dosn't compile with 1.0.X,
and SuperValletParking (www.asterlink.com/svp/) seems to be for * HEAD
2005 Jun 20
1
Re: app_valetparking.c for * STABLE (1.0.X)
Nope ! This is the one that tries to include PRE 1.0.X header file
<parking.h>.
It cannot compile on * 1.0.X (I have tried also to include <features.h>
instead of <parking.h> (as far as I know features.h is successor to
parking.h), but still without results).
Thanks anyway.
Nenad
>
> Try this
>
>> Since www.bkw.org seems not to exist anymore (getting
2008 Mar 12
7
Specifying relative position of text in a plot
What is the simplest way to specify the location of text in a scatter plot
(created using the plot function) in relative terms rather than specific x-y
coordinates? For example, rather than putting text at (300,49) on a plot,
how do I put it 1/10 of the way over from the y axis and 1/2 of the way up
from the x axis? Thanks.
Tom
--
View this message in context:
2005 Feb 24
2
other than default labels in lattice plot
Dear all
I solved a problem of customised labels on strips and boxes in bwplot
by this construction.
> bbb <- bwplot(zavoj ~ typmleti | pu)
> bbb$condlevels$pu <- c("Povrchov? ?prava", "Bez PU")
> bbb$x.limits <- c("Mleto", "Mleto a s?tov?no", "Nemleto")
> bbb
but I wonder if some other easy option exist. Let say something
2018 Mar 27
1
Shading specific region in R
Dear useRs,
Following the given codes below, I generated a plot that has 6 regions around a center point (IL), with 5 regions containing
a point (L1, L2 to L5) and sixth vacant region. I want background of all the filled regions turned "green", while "red" for the
vacant region. Can it be done through a quicker way?
Thanks in advance
###Codes start from
2011 Oct 10
1
variable scope for deltavar function from emdbook
Dear all,
I want to use the deltavar() function from emdbook. I can use it
directly from the command terminal but within a function it behaves weird.
Working example:
----------------------
library("emdbook")
fn <- function()
{
browser()
y <- 2
print(deltavar(y*b2, meanval=c(b2=3), Sigma=1) )
}
x <- 2
print(deltavar(x*b1, meanval=c(b1=3), Sigma=1) )
y<-3
fn()
2012 Nov 28
3
[LLVMdev] Lost commit mails
On 11/28/2012 03:47 PM, Jean-Daniel Dupas wrote:
>
> Le 28 nov. 2012 à 15:07, Tobias Grosser <tobias at grosser.es> a écrit :
>
>> Hi,
>>
>> I just realized non of Patrik's commit mails has every reached llvm-commits. Neither my own archive nor the web interface contains commit messages for any of his commits. The relevant commits are
>>
>> 168785,
2010 Mar 26
2
R loop help
Hi,
I am tring to write a loop to compute this,
==========================
x1=c(
rep(-1,4),
rep(1,4)
)
x2=c(
rep(c(-1,-1,1,1),2)
)
x3=c(
rep(c(-1,1),4)
)
x1*x2
x1*x3
x2*x3
========================
suppose i have x1,x2,x3
i want to compute their ' two factor interactions', x1x2,x1x3 and x2x3,
I wrote
========================
for(i in 1:2){
for( j in i+1:3){
xij=c()
2005 Apr 21
9
Using R to illustrate the Central Limit Theorem
Dear All
I am totally new to R and I would like to know whether R is able and
appropriate to illustrate to my students the Central Limit Theorem,
using for instance 100 independent variables with uniform distribution
and showing that their sum is a variable with an approximated normal
distribution.
Thanks in advance,
Paul