Displaying 20 results from an estimated 500 matches similar to: "shuffling of data"
2010 Jul 01
2
calculation on series with different time-steps
Hello,
I have two series, one with stream stage measurements every 5 minutes, and
the other with barometric pressure measurements every hour. I want to
subtract each barometric pressure measurement from the 12 stage measurements
closest in time to it (6 stage measurements on either side of the hour).
I want to do something like the following, but I don't know the syntax.
"If the
2010 Oct 20
3
combine vectors in an alternating way
I have two vectors
min
0.2, 0.3, 0.6, 0.1
max
0.4,0.5,0.7,0.4
Is there a way to combine these two vector so that the values will be taken
from the vectors alternating so that I will get a new
minmaxminmaxminmax-vector?
minmax
0.2,0.4,0.3,0.5,0.6,0.7,0.1,0.4
Any help is much appreciated
--
View this message in context:
2010 Nov 05
3
table with values as dots in increasing sizes
I was just thinking of a way to present data and if it is possible in R.
I have a data frame that looks as follows (this is just mockup data).
df
location,"species1","species2","species3","species4","species5"
"loc1",0.44,0.28,0.37,-0.24,0.41
"loc2",0.54,0.62,0.34,0.52,0.71
"loc3",-0.33,0.75,-0.34,0.48,0.61
location
2010 Nov 09
2
new column from column in another df
If I have a data frame where a species occupies several rows with different
phases such as (both col's ar factors):
species,phase
Populus tremula,1
Populus tremula,2
Populus tremula,3
Calluna vulgaris,1
Calluna vulgaris,2
Betula alba,1
Betula alba,2
Betula alba,3
Primula veris,1
Primula veris,2
and another df where each species only have one row:
species,growth_form
Populus tremula,tree
Acer
2013 Mar 12
5
extract values
Hello all!
I have a problem to extract values greater that for example 1820.
I try this code: x[x[,1]>1820,]->x1
Please help me!
Thank you!
The data structure is:
structure(c(2.576, 1.728, 3.434, 2.187, 1.928, 1.886, 1.2425,
1.23, 1.075, 1.1785, 1.186, 1.165, 1.732, 1.517, 1.4095, 1.074,
1.618, 1.677, 1.845, 1.594, 1.6655, 1.1605, 1.425, 1.099, 1.007,
1.1795, 1.3855, 1.4065, 1.138, 1.514,
2010 Sep 23
2
referencing last row in a column
I am trying to set u a limit for my plot window according to the range of a
year column I have.
The first year in the range is just simply the first row, referred to as
data$year[1]. How can I find the last row in a similar way to set the last
year in the range?
What I want to accomplish is the following: "plot(....,xlim =
c(data$year[1], data$data[lastrow]),...)", is this possible?
--
2013 Mar 13
2
merge datas
Hello all!
I have a problem with R. I try to merge data like this:
structure(c(2.1785, 1.868, 2.1855, 2.5175, 2.025, 2.435, 1.809,
1.628, 1.327, 1.3485, 1.4335, 2.052, 2.2465, 2.151, 1.7945, 1.79,
1.6055, 1.616, 1.633, 1.665, 2.002, 2.152, 1.736, 1.7985, 1.9155,
1.7135, 1.548, 1.568, 1.713, 2.079, 1.875, 2.12, 2.072, 1.906,
1.4645, 1.3025, 1.407, 1.5445, 1.437, 1.463, 1.5235, 1.609, 1.738,
1.478,
2013 Apr 07
2
group data in classes
Hello all!
I have a problem to group my data (years) in 10 years classes. For example
for year
year decade
1598 1590-1600
1599 1590-1600
1600 1590-1600
1601 1600-1610
---
my is like this>
[1] 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611
1612
[16] 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626
1627
[31] 1628 1629 1630 1631 1632 1633
2010 Oct 22
1
Display list redraw incomplete when exporting plots
I was just wondering if anyone knows what could be the problem with my
exporting of plots.
Below is the error messages I get when trying to export my plots (all error
messages at the same time).
I do get a file produced which works but I don't know why these messages
appear. Doesn't matter if it is a pdf or a png or any other format I export
to.
Also, when exporting to png I get
2005 Jul 06
3
plotting on a reverse log scale
I'd like to do some plots of historical event data on a reverse log
scale, started, say at the year 2000 and going
backwards in time, with tick marks spaced according to log(2000-year).
For example, see:
http://euclid.psych.yorku.ca/SCS/Gallery/images/log-timeline.gif
As an example, I'd like to create a density plot of such data with the
horizontal axis reverse-logged,
a
2012 Nov 02
1
rgl package and animation
I am trying to figure out how to use rgl package for animation. It
appears that this is done using the play3d() function. Below I have
some sample code that plots a 3D path and puts a sphere at the point
farthest from the origin (which in this case also appears to be at the
end of the path). What I would like to do is animate the movement of
another sphere along the length of the path
2006 Jul 18
16
Session is being shared between tabs!!??
I have just spotted quite a serious problem with my rails app. My app
uses the session to store information. Most people who use the app may
have more than one instance of it open in their browser (multiple tabs).
The session stores which country the user has selected. On each browser
tab the user may select a different country. You can add items to a
country. There are problems with
2013 Dec 17
0
result
Mydata is as under.
dat=" salary ex
+ 1 1856 1799
+ 2 1856 1800
+ 3 1858 1800
+ 4 1858 1801
+ 5 1862 1803
+ 6 1862 1805
+ 7 1862 1810
+ 8 1865 1805
+ 9 1865 1808
+ 10 1865 1815
+ 11 1865 1820
+ 12 1870 1810
+ 13 1870 1830
+ 14 1880 1840
+ 15 1880 1845
+ 16 1880 1851
+ 17 1880 1853
+ 18 1880 1855
+ 19 1885 1850
+ 20 1885 1852
+ 21 1885 1857
+ 22 1885 1860
+ 23
2008 Apr 17
1
LVM + xfs + Shadow copy
hi there,
i begin to install shadow copy VFS mod function in samba 3.0.24-6etch9, after i see the same function at win2003srv,
i think it could be very useful, if i gonna make it under DEB,
but at the moment i'm really get stucked,
i try to describe what's the point now;
1 - load shadow_copy mod in smb.conf
vfs objects = shadow_copy
2 - install shadow copy client in WinXPProf
3 -
2008 Feb 18
1
Attatch monitor recording to a voicemail
Hello All,
Our old Lucent Argent system had a feature whereby when you initiate
recording during a call, it would afterwards send the recording as a
voicemail message to the user who initiated the recording.
We use the automon *1 recording function in asterisk, which allows users
to record a call if necessary on the fly. Unfortunately there doesn't
appear to be an easy way for the user to
2015 May 13
0
Back to eth shuffling ...
Have you tried having kickstart set up a more appropriate
/etc/udev/rules/70-persistent-net.rules?
This is normally written by /lib/udev/write_net_rules. You should be able
to modify the automatically generated one to match what you need.
K
2015 May 14
0
Back to eth shuffling ...
On 15 May 2015 at 03:51, Ashley M. Kirchner <ashley at pcraft.com> wrote:
> After the machine boots and I look in /root/ksnet-devices, I see the MAC
> addresses for the devices as:
> Port1 -> eth0
> PCIe Card-> eth1
> Port2 -> eth2
>
> And yet, during the machine's POST (which can verify by the PXE boot up of
> each device), it correctly enumerates the
2007 Apr 20
1
A particular shuffling on a vector
Hello,
I was wondering if anyone can think of a straightforward way (without
loops) to do the following shuffling:
Let's imagine a vector:
c(1,1,1,2,2,3,3,3)
I would like to derive shuffled vectors __where the same digits are
never separated__, although they can be at both ends (periodicity).
So the following shuffled vectors are possible:
c(2,2,1,1,1,3,3,3)
c(2,1,1,1,3,3,3,2)
2009 Nov 03
0
[LLVMdev] array index type shuffling in GEPs
On Nov 2, 2009, at 3:30 PM, Jon McLachlan wrote:
> Hey folks,
>
> I am hoping that someone might be able to help me better understand
> this design decision: For a 64 bit target, index's into GEP's of
> arrays are zext up to 64 bit integers, even if the variable itself is
> an alloca of only i32. Similarly, on a 32 bit target, index's into
> GEP's are
2005 Jul 13
1
Name for factor's levels with contr.sum
Good morning,
I used in R contr.sum for the contrast in a lme model:
> options(contrasts=c("contr.sum","contr.poly"))
> Septo5.lme<-lme(Septo~Variete+DateSemi,Data4.Iso,random=~1|LieuDit)
> intervals(Septo5.lme)$fixed
lower est. upper
(Intercept) 17.0644033 23.106110 29.147816
Variete1 9.5819873 17.335324 25.088661
Variete2 -3.3794907 6.816101 17.011692
Variete3