Displaying 20 results from an estimated 300 matches similar to: "Select values at random by id value"
2009 Jun 27
1
data formatting
All,
I have three columns of data: id, date, hab. I am trying to set up a matrix
that has the id as the rows, date as columns, and the hab value as the data
values. Each id/date combination can only have one hab value. I would like
for it to look something like this"
date 1, date 2, date 3.
id
0001 2 1 2
0002 3 5 6
I don't know how to set
2012 Jul 07
4
replacement has length zero
I have been working on the following code but keep getting an err message. My
current thinking is that the problem is on the indexing but do not know how
to fix it. Any help please?
ungulate <- read.csv("Ungulate.csv",row.names=1)
ungulate <-
as.matrix(ungulate);colnames(ungulate)<-NULL;rownames(ungulate)<-NULL
habitat <- read.csv("Ungulate_vegetation.csv")
2008 Oct 15
3
Removing characters and periods from character strings
Hello R-users,
I have code that gives me the important variables from an analysis. I
need to input these variables into a different analysis. To do this, I
need to modify them slightly... 1) remove all numbers at the end of the
variables, 2) remove all periods.
I tried to do it with the awkward code below. It works to remove all
the numbers, but when I try to remove the period everything
2012 Oct 26
1
Openbugs- Array Index
Hi,
I'm working on the codes below however every time I run them when they get
to OpenBUGS I keep getting the error message: array index is greater than
array upper bound for hab.
Any help would be greatly appreciated,
Suzie
Codes:
ungulate <- read.csv(file.choose ()) #ungulate
ungulate <-
as.matrix(ungulate);colnames(ungulate)<-NULL;rownames(ungulate)<-NULL
2003 Dec 05
3
Odds ratios for categorical variable
Dear R-users:
How does one calculate in R the odds ratios for a CATEGORICAL predictor
variable that has 4 levels. I see r-help inquiries regarding odds ratios
for what looked like a continuous predictor variable. I was wondering how
to get the pairwise odds ratios for comparisons of levels of a categorical
predictor variable. I can't seem to get the correct output using:
>
2007 Oct 04
1
Include on few directory
Hello,
I would like only to sync few directories between my two Linux boxes.
I tries this but no help
sudo rsync -avrtzun --stats \
--include-from "include-nix" \
--exclude-from "excludes-nix" \
--delete \
--progress \
-e "ssh -l hab" /home/hab/ desktop:/home/hab
excludes-nix
*
include-nix
Development/*
www/*
Personal/*
can you help?
--
OOzy
Ubuntu-Feisty
2005 Nov 25
1
glmmPQL
Hi,
My name is Jos?? Mar??a G??mez, and I am pretty new in R. Thus, I apologize
deeply if my questions are extremmely na??ve.I have checked several
available books and URL's, without finding any answer.
I'm trying to fit Generalized Linear Mixed Models via PQL. Below I provide
the structure of my data set. Year and Plot are random variables. Fate is
the binomial dependent. I have severe
2012 Sep 13
1
problem creating an array
Hello,
I am having trouble creating a (1000,3,201) array in R from a data set
created within the same script. My problem is that I want to take a matrix
that is 1000x603
(called "landmat") and separate this into 201 separate (1000x3) matrices.
My problem is when I try to do particular combinations of the columns. I
want to take the first 3 columns of "landmat" and create
2010 Dec 01
1
Poisson GLM warning message
Hi,
I receive the following warning message when I run a poisson GLM in R:
"glm.fit: fitted rates numerically 0 occurred"
The model summary is shown below. The variable 'Species' consists of
counts of different species ranging from 0 to 4. I suspect this may
have something to do with the warning message but I'm not sure. Can
anybody help?
Thank you!
Anna
Call:
2004 Apr 06
1
indications.conf settings for spain
Aqu? tienes,
[es]
description = Spain
ringcadence = 1500,3000
dial = 425
busy = 425/200,0/200
ring = 425/1500,0/3000
congestion = 425/200,0/200,425/200,0/200,425/200,0/600
callwaiting = 425/175,0/175,425/175,0/3500
dialrecall = !425/200,!0/200,!425/200,!0/200,!425/200,!0/200,425
record = 1400/500,0/15000
info = 950/330,0/1000
dialout = 500
Sergio Serrano Revuelto
Avanzada 7
Original Message:
2004 Oct 05
2
Installation Package "gregmisc" nicht möglich?!?
Hallo zusammen.
Da ich R zur Erstellung meiner wissenschaftlichen Arbeit brauche versuchte ich dies heute zu installieren. Zunächst in der Vrsion 1.9.1 (rw1091.exe). Ich benötige das Package "gregmisc" und installierte dies von CRAN. Bei der Installation tritt folgende Meldung auf:
trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/gregmisc_2.0.0.zip'
Content type
2010 Nov 03
2
memory allocation problem
Hi R users
I am trying to run a non linear parameter optimization using the
function optim() and I have problems regarding memory allocation.
My data are in a dataframe with 9 columns. There are 656100 rows.
>head(org_results)
comb.id p H1 H2 Range Rep no.steps dist aver.hab.amount
1 1 0.1 0 0 1 100 0
0.2528321
2017 Nov 25
2
Problem with not fixable dangling forward links
On Fri, 2017-11-24 at 11:55 +1300, Andrew Bartlett via samba wrote:
> On Tue, 2017-11-21 at 11:21 +0100, Achim Gottinger via samba wrote:
> > Hello List,
> >
> > In preparation to update my samba ad-dc's running debian wheezy with
> > backported samba 4.6.8 to 4.7.3.
> > I'd like to fix two errors showing up in dbcheck whom hab been reported
> > by
2015 Oct 27
3
pregunta
Estimados
Cuando existia epicalc, había una manera muy fácil de determinar la media de una variable (en esta caso Gain) por grupos, en este caso (Diet). ?Como se puede hacer ahora?
Diet Gain
1 d1 270
2 d1 300
3 d1 280
4 d1 280
5 d1 270
6 d2 290
7 d2 250
8 d2 280
9 d2 290
10 d2 280
11 d3 290
12 d3 340
13 d3 330
14 d3 300
15 d3 300
2001 Nov 29
2
Autocad without an installed Windows
Hello
I tried to install an old version of autocad (13, student edition,
Release 13c4a), on a MSWindows-free box.
I ran :
$ wine d:\setup32.exe
It begun all right, I had the installation screens, then it failed with the
following messages :
err:win:WIN_FindWndPtr window 10029 belongs to other process
err:win:WIN_FindWndPtr window 10021 belongs to other process
err:win:WIN_FindWndPtr window
2017 Nov 21
2
Problem with not fixable dangling forward links
Hello List,
In preparation to update my samba ad-dc's running debian wheezy with
backported samba 4.6.8 to 4.7.3.
I'd like to fix two errors showing up in dbcheck whom hab been reported
by dbckech --cross-ncs for an long time but without causing any issues
so far.
I'm getting this error on my main dc
root at server:~# samba-tool dbcheck --cross-ncs
Checking 4188 objects
ERROR: no
2017 May 24
2
Interfaz gráfica para docencia
Buenas noches,
tengo que hacer un curso introductorio de R para mis alumnos de Psicología. Algo muy básico que les ayude a trabajar con estadísticos sencillos.
Había pensado en darles R Comander. Me surge la duda de si existe alguna otra interfaz gráfica más novedosa o que pueda serme de más utilidad para mis intereses.
Muchas gracias de antemano.
Un saludo
[[alternative HTML version
2014 Dec 12
2
Fwd: Fwd: Fwd: Fwd: Fwd: Fwd: Fwd: Fwd: 26.
Anna Crepes: Traubenzucker
+ Feldsalat spezielles Dressing (bringt selbst mit?)
-------- Weitergeleitete Nachricht --------
Betreff: Fwd: Fwd: Fwd: Fwd: Fwd: Fwd: Fwd: 26.
Datum: Thu, 11 Dec 2014 15:34:39 +0100
Von: Markus <universe at truemetal.org>
An: universe at truemetal.org
Geschenke Moritz: dunkle Schokolade.
Geschenke Anna: normale Schokolade.
-------- Weitergeleitete
2015 Oct 27
2
pregunta
Otras variantes con y sin paquetes adicionales...
> sapply(split(datIn$Gain, as.factor(datIn$Diet)), mean)
d1 d2 d3
280 278 312
> by(datIn$Gain, datIn$Diet, mean)
datIn$Diet: d1
[1] 280
--------------------------------------------------------------
datIn$Diet: d2
[1] 278
--------------------------------------------------------------
datIn$Diet: d3
[1] 312
>
> library(dplyr)
>
2001 Aug 16
1
wozu Wine?
Hallo NG-Leser,
ich denke mal, mir fehlt vielleicht einfach nur die Erfahrung, aber ich hab
bisher _kein_ einziges Win-Programm unter Linux zum Laufen bekommen.
Eigentlich m?chte ich nur einen IE 5.5 benutzen k?nnen, um zu sehen, ob
meine unter Linux entwickelten Webpages auch im IE gut aussehen. (jeder
Webmaster kennt ja die Probleme)
Aber mit Wine ist da wohl nix zu machen, wie? Ist das