Displaying 20 results from an estimated 77 matches for "newide".
2016 Jan 26
2
Corregir mismo ID para individuos diferentes en una serie temporal
Hola,
Please, mira si esta vez funciona:
#----------------------------------------------
ID <- c(1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6,
1, 2, 6, 8, 12, 7, 15, 16, 17, 18, 19, 20, 1, 21, 22, 19 )
Year <- c (1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3,
4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6)
df <- data.frame (ID, Year)
df
ID <- c(1,
2016 Jan 26
2
Corregir mismo ID para individuos diferentes en una serie temporal
Hola,
Antes de nada, muchas gracias por tu ayuda.
El código se ha acercado bastante, pero no termina de funcionar porque considera cada captura de un individuo como años consecutivos aunque haya pasado más tiempo entre ellos.
Por ejemplo el individuo 4 es capturado por primera vez el año 1 y por segunda vez el año 3, por lo que debería de ser renombrado ya que en este ejemplo en concreto
2016 Jan 25
4
Corregir mismo ID para individuos diferentes en una serie temporal
Hola a todos,
Quería preguntar si alguno sabe como puedo identificar registros con un mismo ID en el tiempo, pero que hacer referencia a objetos o individuos diferentes.
En mi caso en particular estoy estudiando un animal que tiene una vida media cercana 2 años, y tengo una serie longitudinal de 25 años. El problema es que durante el muestreo en algunos casos durante la recoleccion de los datos,
2010 Feb 26
2
Problem accessing sub-methods of functions stored in a vector
Hi folks,
I am having trouble accessing sub-functions when the main function is
stored in an array. For example, the following test code works fine:
fcns = c(abs, sqrt)
fcns[[1]](-2)
fcns[[2]](2)
However, when I try to access sub-functions declared within list() in a
function, this only works directly. When I try to access these within an
array only the first declared sub-function is run.
2013 Jan 21
1
Percentiles with R for a big data.frame
Dear R users,
I came up to a problem dealing with percentiles in R.
>From my previous questions: I do have a big data.frame, with lots of
columns and rows. The following command enables me to calculate means for
all data frame.
dat1$newID<-rep(1:(nrow(dat1)/12),each=12) #if nrow(dat1)/12 is integer
dat2<-with(dat1,aggregate(cbind(dat1[,1:71]),by=list(newID),mean))
What I need is to
2010 Aug 01
0
order by newid()
I want to get a set of records in random order. Will
Car.order(''newid()'') work? Is there a better way to do this? Rails 3.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2018 May 29
2
Scripting the next UID/GID number to use
Hello,
I'm developing a script to create a user and pass along all the
necessary unix attributes required. I'm successful except when I go to
increment msSFU30MaxUidNumber or msSFU30MaxGidNumber. I'm not sure how
to use ldbedit to script this process. Any guidance would be great. Thanks.
- James
2018 May 29
4
Scripting the next UID/GID number to use
On Tue, 2018-05-29 at 21:00 +0100, Rowland Penny via samba wrote:
> On Tue, 29 May 2018 15:50:44 -0400
> lingpanda101 via samba <samba at lists.samba.org> wrote:
>
> > Hello,
> >
> > I'm developing a script to create a user and pass along all the
> > necessary unix attributes required. I'm successful except when I go
> > to increment
2008 Jan 03
0
Wx::Menu, get parent menu functions?
I have been looking in the API Docs for get_parent type stuff for the
Menu''s - so I can track a click path across sub-menus and have not found
anything. Are there really no functions for that or did I just miss the
right place to look?
If it is true then consider this below:
class MyMenu < Wx::Menu
def initialize(mymasterclass, name = nil, id = -1, parent_menu = nil,
title =
2012 Mar 16
1
help to split a ID column in a data.frame and create a new ID column
Dear Researchers,
I have a data.frame with 2 columns like this:
mydf <-
data.frame(value=c(1,2,3,4,5),ID=c("Area_1","Area_2","Area_3","Area_4","Area_5"))
> mydf
value ID
1 1 Area_1
2 2 Area_2
3 3 Area_3
4 4 Area_4
5 5 Area_5
I need to convert the *ID *in the following version
> mydf
value ID newID
2013 Jan 18
2
A smart way to use "$" in data frame
Hello all,
I have a data frame dataa:
newdate newstate newid newbalance newaccounts
1 31DEC2001 AR 1 1170 61
2 31DEC2001 VA 2 4565 54
3 31DEC2001 WA 3 2726 35
4 31DEC2001 AR 3 2700 35
The following gives me the balance of state AR:
2006 Sep 26
1
extended ACLs and Samba
Hi,
i've a Project share with many subfolders. In this subfolder many user
have dedicated access rights to single files.
Sometimes a project member change and the new one should get the same
rights as the old one.
But here is my problem. With the following line i can easy change the
owner of files:
find /samba/project -user oldid -exec chown newid {} ";"
But i don't know
2013 Jan 05
5
Need help on dataframe
Dear R users, I came up to a problem by taking means (or other summary
statistics) of a big dataframe.
Suppose we do have a dataframe:
ID V1 V2 V3 V4 ........................ V71
1 6 5 3 2 ........................ 3
2 3 2 2 1 ........................ 1
3 6 5 3 2 ........................ 3
4 12 15 3 2 ........................ 100
2006 Feb 16
2
looping through tasks
Hi,
I'm moving (slowly) to R from STATA.
I often have need to move through a set of tasks across a series of years.
In this case, you can see that I'm mimicking -reshape- in STATA, but I'm
less interested in the
task than in programming R.
library(foreign)
mydata<-read.dta("z:\example.dta")
for (y in 2000:2002) {
2011 Sep 20
2
Converting ID Numbers to Unique ID Number
First off, let me apologize for the elementary question. I'm obviously a
novice.
Here's a stripped version of my problem.
March
foreign id = 1234, my id = 1
foreign id = 1235, my id = 2
foreign id = 1236, my id = 3
So we are adding new people for April, and things don't necessarily come in
order:
April
foreign id = 1236
foreign id = 5000
foreign id = 1234
foreign id = 1235
foreign
2005 Jun 26
1
strange problem on regconizing /dev/sda and /dev/hda
...interface ide4...
Probing IDE interface ide5...
Using cfq io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 1024KiB
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4 < hda5 >
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 2048...
2008 May 22
9
building a many-to-many structure in javascript
hi,
for some purpose, I need a "in-javascript database", maybe built with
some Prototype $H function calls for creating "tables"
but what about junction tables, I mean those which express many-to-
many relations between two entity tables ?
I though using concatenation of strings with a separator, for example
"key1 key2"
"1234-56"
or "ABC \n 789"
2009 Oct 10
1
documentation bug?
Hi,
I'm thoroughly RTFM'ing in order to find out what I'm doing wrong
<http://lists.samba.org/archive/samba/2009-October/thread.html#151046>
and I noticed that links from the *Samba-HOWTO-Collection* to the
*manpages-3* don't work... the problem is that both documentation sets
are on different directories but links don't include a path (nor
absolute, nor relative).
2019 Feb 16
3
Changing UID numbers
Hello everyone -
Update: Many thanks to Matt Miller for the tip on usermod options. That worked very well! I did not know those options existed and would never have thought to look for them.
After making and testing backups, I started with my main workstation. Rebooted in runmode=3, then ran the usermod -u and -g options. I did this in two runs. I first had to uninstall docker since it
2006 Sep 11
3
Is RAMDISK required for domU boot?
...talled.
blkif_init: reqs=64, pages=704, mmap_vstart=0xdf800000
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Registering block device major 8
ide-floppy driver 0.99.newide
usbmon: debugfs is not available
usbcore: registered new driver libusual
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash...