Displaying 20 results from an estimated 300 matches similar to: "delete a entire vector of a dataframe"
2018 Oct 16
2
Comprobar los nombres de columnas entre varios dataframes
Buenas tardes,
Quiero aplicar la función rbind y necesito tener los mismos nombres de
columnas. Como tengo unas 195 variables en cada dataframe, necesito
hacerlo de una forma rápida. Tengo 9 bases de datos y tengo que fusionar
todas. ¿Como puedo comprobar que los nombres de las variables son los
mismos? Y de lo contrario, ¿como detecto las diferencias?
He probado con
2007 Feb 23
6
TRUE/FALSE as numeric values
Hello,
I want to select in a column of a dataframe all numbers smaller than a
value x
but when I type in test<-(RSF_EU$AREA<=x) I receiv as answer:
> test
[1] TRUE FALSE FALSE TRUE TRUE TRUE FALSE FALSE TRUE TRUE TRUE
FALSE TRUE TRUE TRUE TRUE TRUE
[18] TRUE TRUE TRUE TRUE FALSE FALSE TRUE TRUE TRUE TRUE TRUE
TRUE TRUE FALSE TRUE TRUE TRUE
[35] FALSE TRUE
2012 Nov 30
2
Nombres de variables variables
Hola,
¿Como estas?, la siguiente tal vez sea una pregunta simple.
Quiero crear nombres de variables pero que el nombre lleve el valor de un
objeto. Ej:
tengo estos dos valores
x1<-10
x2<-20
Quiero crear las variables:
var_10 <-
var_20 <-
Pero usando los objetos x1 y x2 como referencia.
Solo como referencia, en stata esto lo hacia de la siguiente forma
local x1 = 10
local x2 =
2006 Sep 21
3
how to ignore "NA" or replace it by another value
Hello,
I`m a newbie to R so maybe this question is boring, but I have a large
table with several empty missing values, which come out as "NA". How can
i ignore them or replace them by another number?
Greetings, Thomas
2006 Mar 12
1
Windows XP client over IPSEC VPN -- No browsing, limited file access.
Hello all,
I have a problem with browsing and share access over an IPSEC VPN. Details
follow.
The network has the following configuration: There are two local networks,
172.16.57.0/24 and 172.16.59.0/24. The networks are connected over the
internet by Cisco routers providing an IPSEC VPN. The VPNs are configured to
route all traffic (all IP types, all ports, except broadcast and ICMP
2007 Feb 16
1
Ubuntu Linux and X11
Hello,
i have a problem with creating histograms and plots under ubuntu linux.
After creating a vector "test" i want to make a histogram, but the following
error appears:
> hist (test)
Error in X11() : could not find any X11 fonts
Check that the Font Path is correct.
Does anybody know this problem and a solution for this?
Thanks in advance,
Thomas
2004 Jul 26
5
binning a vector
Hello,
I was wondering wether there's a function in R that takes two vectors (of same length) as input and computes mean values for bins (intervals) or even a sliding window over these vectros.
I've several x/y data set (input/response) that I'd like plot together. Say the x-data for one data set goes from -5 to 14 with 12,000 values, then I'd like to bin the x-vector in steps of
2011 Apr 05
2
Animation for pers3d
Hello all,
I use persp3d from the rgl-package to plot a sruface. The typical call
is persp3d(x, y, z)
With cooridinate-vectros x, y and a function-values matrix z.
Now I have different z's, say z_1,...,z_n
Question:
Is it possible to generate an animation from a sequence of such calls,
for different z's?
I would like to see how the surface is beeing changed in the time.
Thank you
1999 Oct 05
0
SAMBA digest 2259
What is this???????????????????????????????????????
> -----Original Message-----
> From: samba@samba.org [mailto:samba@samba.org]
> Sent: Tuesday, October 05, 1999 3:06 AM
> To: Bernhard Bruscha
> Subject: SAMBA digest 2259
>
>
> SAMBA Digest 2259
>
> For information on unsubscribing see http://samba.org/listproc/
> Topics covered in this issue include:
2007 Jul 06
0
Highlighting returns entire field in Ferret trunk?
Hello,
I''m using Ferret trunk (#770) with Kyle''s large file support patch:
http://ferret.davebalmain.com/trac/ticket/215
I''m having trouble with Ferret::Search::Searcher#highlight returning too
much text around the query term. Regardless of what I set
:excerpt_length to, highlight returns the entire contents of the field
up to the first occurrence of the search
2007 May 31
2
iterate through an entire index
I''m trying to get all the documents in an index. I''ve been hunting
around, but I don''t see a clear way to do this. I can get docs by
searching on a term, or by specific doc id, but having trouble getting
the whole pile of them. I''m using AAF and Ferret 0.11.4. Any help
appreciated.
John
--
Posted via http://www.ruby-forum.com/.
2006 Jul 14
1
passing an entire hash to an action
Is it possible to pass the entire contents of a hash to an action via
link_to_remote?
I know that when you want to pass a value you say link_to_remote("link
name", :url => {:action=>"some action", :someName => someVal} )
This works for when you want to pass strings but I want to be able to
pass a reference to a list of models that is stored in a hash to the
2006 Jul 21
0
Marshal.dump not dumping entire object?
Greetings,
I first want to say that this problem is happening with the Runt
gem. This may is likely an implementation issue between Marshal and
Runt. While I''ve simultaneously filed this problem with Matt Lipper,
I''m also hoping someone here can can guide me a little - either in
implementation (usage of Marshal), or to aid me to fix Runt to
support Marshal.
2006 Jul 21
0
[RESOLVED] Marshal.dump not dumping entire object?
After sending this I realized that this was a Ruby not Rails issue -
but the answer may be interesting for those who choose Marshal over
Serialize.
So, to close this off I don''t know why marshal.dump wasn''t ''dumping''
all attributes, but adding custom marshaling to PDate did the trick.
ala,
+ def marshal_dump
+ dumped_obj = [date_precision, ajd,
2006 May 03
3
One layout for entire App ?
Hi,
Being true to DRY, I know in Rails it is possible to define a single
layout associated to a controller and all associated views, lists etc..
by the layout name taking on the name of the controller but is it
possible of a layout to be shared between many controllers ?
TIA,
Tuka
PS: I accidentally posted this in the Test forum.. so I moved it here to
get a pertinent reply
--
Posted via
2006 May 04
0
Using ActiveRBAC 0.3.1 to restrict entire site?
All,
I''m trying Active_rbac for the first time.
I have the basics working so I can protect a single controller.
I want to protect all of my controllers so users have to login to see anything.
I''m trying to put a before_filter in my application controller, but I
don''t know how to do the except correctly. I''ve been trying this:
class ApplicationController
2006 Apr 14
0
Bug: Requiring "breakpoint" causes the entire Rails framework to load.
Hi
I''m working with:
1. Ruby 1.8.4 (i386-mswin32)
2. RubyGems 0.8.11
3. Rails 1.1.2 (obtained through RubyGems)
4. ruby-breakpoint (0.5.0)
(Note that all of these are latest stable versions of the software)
Whenever I require ''breakpoint'', the entire Rails framework gets
loaded as well.
I tried "gem uninstall rails", and then require
2007 Jan 12
1
Single method call to retrieve the entire page in HTML?
All,
Another easy question. In Hpricot, on a doc that I am using, I can do a
.to_html method and retrieve the entire page. However, this doesn''t seem to
work in Mechanize.
My goal is to the text of the page and put it into a database to make it
searchable with ferret (using the acts_as_ferret plugin in Rails). Does
anyone have a good suggestion short of iterating over the entire
2013 Dec 11
1
Ctrl-W killing entire line, not just last word
On the Asterisk CLI, I notice that pressing Ctrl-W deletes the entire
line of text, as opposed to just the last word. Is this an artifact of
using editline instead of readline? I'll note that other Emacs-style
keypresses work just fine on the Asterisk CLI, but Ctrl-W is a real
pain. I would go so far as to call this a bug as it is certainly
behaviour that differs from what the user expects.
2008 Nov 05
0
Solution to managing an entire directory in a "waterfall" configuration
The subject may not make a lot of sense so let me try and explain.
I''ve searched the archives and come up short so my apologies if this
has indeed been addressed before.
I have a function that looks like this:
define remotedir($mode, $owner, $group, $source, $ensure = directory,
$recurse = inf) {
file {
$name:
mode => $mode,
owner