Displaying 20 results from an estimated 400 matches similar to: "precision of minus operation and if statments"
2010 Sep 06
3
path analysis
Hi.
which package i need to install to be able to run "Path analysis" using r?
many thanks, Guy
--
Guy Rotem
Department of Life Sciences
The Spatial Ecology Lab
Ben Gurion University of the Negev
P.O.B. 653 Beer-Sheva 84105
ISRAEL
+972-52-3354485 (mobile)
+972-8-6461350 (lab)
[[alternative HTML version deleted]]
2003 Jul 16
2
Weighted SUR, 2SLS regressions
Is there an option for running SUR and 2SLS regressions with weighting
(I am analysing mortality in towns, hence want to weight by population size)
Many thanks
Jon Anson
--
Yonathan (Jon) Anson
Department of Social Work
Ben Gurion University of the Negev
84105 Be'er Sheva, Israel.
Tel: +972 8 647 93 14(w) +972 8 6489286 (h) 067 233279 (m)
Fax: +972 8 647 29 33
2003 Jul 24
3
active connection gets lost in samba version 3.0 beta 3
Hi team,
A Samba "panic" occurs after repeatedly saving "word" files on the server.
Following the panic the "active connection" disappears, but the "active
shares" and "open files" stay.
Windows reports different errors such as "delayed write failed",
"Cannot complete the save due to a file permission error" etc.
Many of the
2013 Jan 18
1
Error in mer_finalize(ans) : Downdated X'X is not positive definite, 8.
Dear All,
I have conducted an experiment in order to examine predation pressure in the
surroundings of potential wildlife road-crossing structures. I have
documented predation occurrence (binary?) in these structures and calculated
several possible explanatory variables describing the spatial heterogeneity
in several scales. At the landscape scale I have calculated the percentage
of different
2009 Jan 23
4
Histogram for grouped data in R
I have grouped data in this format
Size -- Count
0-10 -- 15
10-20 -- 25
20-50 -- 10
50-100 -- 5
I've been trying to find a way to set this up with the proper histogram
heights, but can't seem to figure it out. So any help would be much
appreciated!
--
View this message in context: http://www.nabble.com/Histogram-for-grouped-data-in-R-tp21624806p21624806.html
Sent from the R help
2007 Apr 18
1
Performing Merge and Duplicated on very large files
Hi,
I am working with very large matrices (>1 million records), and need to
1. Join the files (can be achieved with Merge)
2. Find lines that have the same value in some field (after the join) and
randomly sample 1 row.
I am concerned with the complexity of merge - how (un)efficient is it? I
don't have access to the real data, I need to send the script to someone who
does, so I
2006 Dec 05
1
double precision
Hi,
I am attempting to query a data frame from a mysql database.
One of the variables is a unique identification number ("numeric") 18 digits
long.
I am struggling to retrieve this variable exactly without any rounding.
The function I am using is sqlQuery(), with an ODBC connection.
Querying directly results in the double being rounded towards the end (eg
6527600583317876352 instead of
2024 Nov 27
1
R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments
?s 16:30 de 27/11/2024, Sorkin, John escreveu:
> I am an old, long time SAS programmer. I need to produce R code that processes a dataframe in a manner that is equivalent to that produced by using a by statement in SAS and an if first.day statement and a retain statement:
>
> I want to take data (olddata) that looks like this
> ID Day
> 1 1
> 1 1
> 1 2
> 1 2
> 1 3
>
2024 Nov 27
1
R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments
On 11/27/24 08:30, Sorkin, John wrote:
> I am an old, long time SAS programmer. I need to produce R code that processes a dataframe in a manner that is equivalent to that produced by using a by statement in SAS and an if first.day statement and a retain statement:
>
> I want to take data (olddata) that looks like this
> ID Day
> 1 1
> 1 1
> 1 2
> 1 2
> 1 3
> 1 3
>
2008 Jan 23
2
R binary version with R_MEMORY_PROFILING
Hi all,
Where can I find an R binary version (>2.4.0 ) for windows that compiled
with R_MEMORY_PROFILING?
Within our application we are experiencing serious problems with memory
usage. And being able to use "Rprofmem" and "tracemem" command seems like
our best option.
Thanks,
Yoni
[[alternative HTML version deleted]]
2011 Jun 18
1
Vim-R-Plugin issue : Python interface must be enabled to run Vim-R-Plugin
I am trying to get the
Vim-R-Plugin<http://www.vim.org/scripts/script.php?script_id=2628> to
work with gvim and R on Windows 7.
When I open a .R file in VIM, it complains and says ""Python interface must
be enabled to run Vim-R-Plugin." I have installed pywin32 for python 2.7,
and added the following 4 lines to my _vimrc per the instructions
2024 Nov 27
1
R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments
Was wondering when this would be suggested. But the question was about getting the final dataframe...
newdta <- olddta
newdta$FirstDay <- ave(newdata$date, newdata$ID, FUN = \(x) x[1L])
On November 27, 2024 11:13:49 AM PST, Rui Barradas <ruipbarradas at sapo.pt> wrote:
>?s 16:30 de 27/11/2024, Sorkin, John escreveu:
>> I am an old, long time SAS programmer. I need to
2011 Jun 17
1
sink() and library() calls cause script to stop when called from php
Hello all,
I have a php script that makes a call
system(PATH_PROJECT_ROOT . '/sh/combineDays.sh ' . $dateString . " " . PATH_PROJECT_ROOT);
and within combineDays.sh I run an R script:
R --slave --vanilla --args $testDates $BASEDIR $defaultSearchVersion < $BASEDIR"R/combineDays.R"
At the end of this R script, I try to write results to a file, but the
2019 Apr 29
1
[RFC-PATCH] Introducing virtio-example.
The main goal is to create an example to be used as template or
guideline for contributors when they wish to create a new virtio
device and to document "the right way" to do so.
It consists of several parts:
1. The device specification
* it can be found in the device header of the implementation
* it will hopefully be added to the official virtio specification
2024 Nov 27
4
R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments
Check out the dplyr package, specifically the mutate function.
# Create new column based on existing column value
df <- df %>% mutate(FirstDay = if(ID = 2, 5))
df
Repeat as needed to capture all of the day/firstday combinations you want to account for.
Like everything else in R, there are probably at least a dozen other ways to do this, between base R and all of the library packages
2024 Nov 27
7
R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments
I am an old, long time SAS programmer. I need to produce R code that processes a dataframe in a manner that is equivalent to that produced by using a by statement in SAS and an if first.day statement and a retain statement:
I want to take data (olddata) that looks like this
ID Day
1 1
1 1
1 2
1 2
1 3
1 3
1 4
1 4
1 5
1 5
2 5
2 5
2 5
2 6
2 6
2 6
3 10
3 10
and make it look like this:
(withing each
2008 Jul 10
1
Slow samba and Realtek card
Hello,
We can see
# lspci
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B
PCI Express Gigabit Ethernet controller (rev 01)
I have used a custom kernel to start with centos 5.1 as an initial
installation
Our customer on this kernel has experienced slow pref on samba shares (50
seconds to open a file)
So I have decided to updrade to centos 5.2 that have the right
2003 Aug 27
1
cvs problem 3.0 pre-release
Hi samba people,
1. Is there an rpm available for the 3.0 pre-release for redhat linux 9 ?
2. I try to compile the source.
I downloaded the cvs, ran "./autogen.sh" and "./configure".
Configure stops with the message:
configure error: cannot compute sizeof (long) , 77
See config.log for details
(on linux 9, kernel 2.4.20-8, g.c.c 3.2.2)
There are quite a number of
2009 Aug 31
1
permutation test - query
Hi,
My query is regarding permutation test and reshuffling of genotype/phenotype
data
I have been using the haplo.stats package of R. for haplotype analysis and I
would like to perform an analysis which I'm requesting your advice.
I have a data set of individuals genotyped for 12 SNP and a dichotomous
phenotype.
At first, I have tested each of those SNP independently in order to bypass
2010 Feb 16
1
RODBC - Any faster driver?
Hi,
We are currently using the odbcConnect and odbcDriverConnect functions of RODBC package to connect to a DB built on SQL Server 2005.
Are there any other packages / drivers/ methodology that may provide a faster connection?
Any help or advice would be appreciated.
Thanks
[[alternative HTML version deleted]]