Displaying 20 results from an estimated 700 matches similar to: "how to drop fields by name when reading in data?"
2010 Mar 19
3
strange behavior, adds new field by non-existent field
data:
> tmp1
Date HrMn Temp Q.4
1 19450101 0900 -37.0 1
2 19450101 1000 -35.9 2
3 19450101 1100 -35.9 3
4 19450101 1200 -36.4 4
5 19450101 1300 -36.4 5
6 19450101 1400 -36.4 6
7 19450101 1500 -36.4 7
8 19450101 1600 -37.5 9
Accidentally, I did this (I meant to write Q.4 instead of Q here)
> tmp1$Q[tmp1$Q!="1" & tmp1$Q!= "5"]<-NA
I would
2013 Mar 03
4
Help searching a matrix for only certain records
Let me start by saying I am rather new to R and generally consider myself to be a novice programmer...so don't assume I know what I'm doing :)
I have a large matrix, approximately 300,000 x 14. It's essentially a 20-year dataset of 15-minute data. However, I only need the rows where the column I've named REC.TYPE contains the string "SAO " or "FL-15".
My
2005 Oct 05
2
Sipura SPA-3000 setup in Brazil
All-
I'm attempting to set up a Sipura SPA-3000 in Sao Paolo, Brazil. Not being a
portuguese speaker, I'm having a rough time of finding the relevant
information on how to make the thing pick up the PSTN line and make an
outbound call.
The sipura in question works fine on a bench connected to a POTS line in the
US, but is now plugged in in Sao Paolo. The immediate thing I notice is that
2007 Mar 18
2
ticks labels and R
Hi,
I have plot a graphics by next way:
par(mar=c(5,5,1,1), font.axis=3, ps=14, xaxs="i", yaxs="i", lab=c(18,18,7),
font
.lab=3);
plot(l, b, type="n", xlim=c(0,360), ylim=c(-90,90), xlab="l, deg", ylab="b,
deg");
points(l, b, cex=vel/60, col=1, pch=21);
On this plot I have axis x (denoted by l) ranged in [0,360] with labeling step
20. But I
2005 Nov 16
3
Difficulties with for() {while(){}}
Hi,
I have the follow function:
function() {
## Init of function
...
for(i in test) {
...
while(j <= test2) {
...
}
}
}
The problem is that sometimes, naturally, the while is not possible to be
resolved, and so the program abort.
In this case I need that program return to the init of function and run again.
How I can make this? Abort the while, abort the for
1998 Nov 25
2
How to stop access to a share in the samba server?
Hi
I am mouving from PC-NFS to SAMBA and thare are some thinks that I would
like to see in SAMBA.
In NFS, when I do not want a share to be accessible, I just use the
command: unshare /shared/directory
This make the /shared/directory imediataly not accessible. Even by some one
already using it!
I?m using SAMBA 1.9.18p10 in a SUN Solaris 2.5 and i try to change
smb.comf to disable one share,
2008 Nov 21
1
question about shapiro.test()
Hi all!
I tried to perform Shapiro-Wilk test for my sample of 243 values.
> Us
[1] -10.4 -13.1 -12.2 38.1 -18.8 -13.3 -11.7 29.3 49.7 6.8 12.7 16.3
[13] 5.8 -0.7 -29.4 4.1 38.8 -1.4 8.8 15.6 32.9 -5.3 19.1 35.8
[25] 4.0 -1.5 0.6 -4.2 -10.0 -4.0 1.1 48.9 -21.0 -5.3 5.8 -10.8
[37] 21.9 8.2 -3.2 -3.9 -2.3 12.6 -4.7 -8.0 11.8 27.4 -9.5 -20.8
[49]
2007 Dec 28
4
MOre on buring ISOs
So right now I have installed k3b on this notebook. I am using my Storix
DVD/CDRW usb drive. I can read cds with it.
Cannot burn CDs. First k3b suggests slowing down (from 8x to 4x). Then
use TAO. Then it gave up.
So I try cdrecord directly. -checkdrive finds some interesting things.
Got to close the drive manually; cdrecord says it can't. then try a
cdrecord -v dev=dev/scd0 sample.iso
2005 Aug 15
1
XML for tc hierarchy representation
Hi list, I would like to know about any proposed XML representation for
tc objects hierarchy. I found something at "LTCM, a Linux QoS API
Library" (http://artemis.av.it.pt/~ltcmmm/) that looks like a start, but
any others are welcome.
I''m starting a project to automatically syncronize traffic shape rules
between servers and thought XML is the best way to represent tc
2005 Jun 04
3
DVD writer problem
I have an NEC DVD-RW ND2500A (that's not the label I bought it under,
but that's what it really is.) It's supposed to read/write CDs, DVDs,
DVD+Rs, and DVD-Rs. I'm basically dual booting between XP and CentOS 4.
Following the recipe in "The Linux Cookbook", I tried to copy a DVD using:
dd if=/dev/hdd of=/tmp/diskfile.iso
then
cdrecord dev=/dev/hdd fs=32m
2016 Nov 10
2
change SOA record
Hi Rowland,
I followed this page
"https://wiki.samba.org/index.php/Verifying_and_Creating_a_DC_DNS_Record"
more than once.
Everything in here is fine...every test successful.
My problem is that the existing SAO record is pointing to
dc1.samdom.example.com which doesn´t exist anymore.
Now it must be dc01.samdom.example.com.
What happens when I try to add ...
samba-tool dns add
2004 Jun 20
1
hidden markov models in R?
Hi, friends!
Has R estimation (library, for example) to do estimation in HMM?
Thanks in advance,
========================================
Cezar Freitas
Estatistico - Comissao Permanente para os Vestibulares / UNICAMP
Probabilidade e Estatistica Aplicadas - IME / USP | IMECC / UNICAMP
Campinas | Sao Paulo, SP - Brasil
2016 Nov 10
1
change SOA record
I will give it a try on weekend and let you know..
Thanks a lot
Frank
Am 10.11.2016 um 17:03 schrieb Rowland Penny via samba:
> On Thu, 10 Nov 2016 15:55:03 +0100
> "Rauer, Frank via samba" <samba at lists.samba.org> wrote:
>
>> Hi Rowland,
>>
>> I followed this page
>>
2007 Nov 14
1
label plotting on nmds diagram
Hi,
I'm using nmds command (library vegan) to analyze some fishing data.
I'd like to plot not only points, but also the names of species and stations in
a specified position.
I used the command
text(nmds$points[,1], nmds $points[,2],labels=row.names(nmds
$points),pos=3,cex=0.5)
But the labels are sometimes overlapped.
Is there any way to use identify, or a similar command, to plot the
2008 May 23
1
GARCH-like
I need to change the code of Garch to the FCGARCH (a non-linear
multi-regime GARCH).
I don't know nothing about R.
I'd like to know how can I get the code of the garch in order to change it
and make the fit for the FC-GARCH.
Any non-linear code will be helpfull because if doesn't help in the
programming it helps in getting familiar with R.
Thank you
Renato
--
PhD Student Renato
1999 Apr 01
2
Swat password syncronization - HELP
Hi All
I've installed Samba 2.0.3 and coudn't put "unix passowrd sync" to
work.
I set:
passwd program = /usr/bin/passwd %u
passwd chat = *New*password:* %n\n *Re-enter*new*password:*
%n\n*changed.*
passwd chat debug = Yes
unix password sync = Yes
log level = 100
The password page says "The password for 'user' has been changed".
In fact it has been
2002 Apr 23
2
Install
Dear Sirs,
I am an economist, and I have learned about R from an statician.
I would like to get some instructions on which packages of R should I
install. I am intending to use R for graphical analysis, correlaction, and
also estimation - this latter the least, since I have an econometric
package which performes it very well. I should also mention that I am going
to work mostly with
2011 Nov 29
1
Read TXT file with variable separation
Hi!
I have to import some TXT files into R, but the separation between the
columns are made with different blank spaces, but each file use the
same separation. Example:
31 104 5 0 11RUA SAO
SEBASTIAO 25
BAIRRO FILETO
01
2005 Nov 24
1
model selection with step function
Hello,
I have a doubt in using the function step (step wise) to select glm models.
Usually I apply the gamma distribution to analyze fishery data. To select the
terms I use a routine where I first compare single term models to the null model
(eg. U~1 vs. U~depth; U~1 vs. U~latitude; etc. ? where U= abundance) and, by
means of the result given by a likelihook function applied for each comparison,
2009 Jun 15
4
books on Time series
Dear list fellows,
I want to study time series and use R to analyse time series of fishing
data from several species (landings and cpue) investigating the
correlation between them and with environmental factors (water
temperature, wind, etc.).
Searching at Amazon I found three books with examples in R:
Time Series Analysis: With Applications in R by Jonathan D. Cryer and
Jonathan D. Cryer