similar to: computing a subset using a loop

Displaying 20 results from an estimated 100 matches similar to: "computing a subset using a loop"

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
2008 Feb 08
1
Can I index a dataframe with a reference from/to a second dataframe?
Hello, I am unable to figure out how to code a new column in a data frame based on an existing column that matches a column in a reference data frame, in a relational-db fashion. I would like this to maintain a minimum set of reference tables that may be reused over several similar datasets. Specifically, I have two data frames as listed below, 'Bos' and 'tree.' For each case in
2011 Jul 25
2
Selecting unique values
Greetings I have a dataset with occurrence records of multiple species. I need to get rid of multiple listings of the same occurrence point for a species (as you see below in red and blue typeface). How do I create a dataset only with unique set of longitude and latitude for each species? Thanks in advance. Species_name Longitude Latitude Abies concolor -106.601 35.868 Abies concolor -106.493
2005 Nov 27
4
Counting the occurence of each unique "charecter string"
LS, I would really like to know how to count the frequency/occurrence of chachters inside a dataset. I am working with extreemly large datasets of forest inventory data with a large variety of different species inside it. Each row inside the dataframe represents one individual tree and the simplified dataframe looks something like this: num species dbh 1 sp1
2005 Nov 27
4
Counting the occurence of each unique "charecter string"
LS, I would really like to know how to count the frequency/occurrence of chachters inside a dataset. I am working with extreemly large datasets of forest inventory data with a large variety of different species inside it. Each row inside the dataframe represents one individual tree and the simplified dataframe looks something like this: num species dbh 1 sp1
2012 Mar 08
2
Boxplot Fill Pattern
Hello R Help! I would like to make a legible boxplot of tree growth rates for each of seven tree species at each of seven different sites. It's a lot of data to put on one figure, I know. I made a beautiful, interpretable figure using color, but my target journal can't deal with color figures. I can use seven shades of grey to fill the boxes, but the figure then becomes uninterpretable -
2016 Feb 04
3
Fwd: [musl] strptime() question
There is incompatibility between R strptime and musl libc. I posted about it on their mailing list, but they need more information I can't provide, so I'm forwarding the message here in hope R developers can help. Thanks. ---------- Forwarded message ---------- From: Rich Felker <dalias at libc.org> Date: Thu, Feb 4, 2016 at 2:07 PM Subject: Re: [musl] strptime() question To: Alba
2016 Feb 01
3
Wrong config check for __libc_stack_end
@Simon. Here's what I did. I checked out R revision 70059. Ran export r_cv_libc_stack_end=no. (otherwise it would give that error we talked about before) Ran ./configure --without-recommended-packages. (otherwise it would complain of not finding ./src/library/Recommended/MASS_*.tar.gz) Ran make. Ran make check. Log is here - http://pastebin.com/raw/cGJgqB8p What do you think? Is there
2016 Feb 01
3
Wrong config check for __libc_stack_end
Here's what I did. svn checkout https://svn.r-project.org/R/trunk/ cd ./trunk aclocal -I m4 && autoconf tools/rsync-recommended cd .. mkdir build cd build ../trunk/configure make make check On make check it gives an error. Here's the log. http://pastebin.com/raw/1qfjqQY2 On Mon, Feb 1, 2016 at 1:53 PM, Simon Urbanek <simon.urbanek at r-project.org> wrote: > > On Feb
2016 Feb 01
3
Wrong config check for __libc_stack_end
>>>>> Alba Pompeo <albapompeo at gmail.com> >>>>> on Fri, 29 Jan 2016 08:23:26 -0200 writes: > Here is my log from 'make check' using an Intel i5 64-bit > processor - http://pastebin.com/raw/N6SYAuFX Here is > Isaac's log from 'make check' using an Intel Atom 32-bit > processor -
2009 Oct 18
4
Customising Firmware
Hi, Does anyone have any advice on customising firmware of an SPA921 so that it can be locked to a sip provider and display logos on the config pages. Many thanks Dan Journo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091019/f6aa2510/attachment.htm
2009 Oct 05
5
Networking Concept
Hello, I would like to know how Asterisk deal in this case: Assume I have a Main Asterisk Server located in UK, and another box that have PSTN interfaces located in China, now the purpose is to FW calls through PSTN. Assuming I have a client who is calling from Japan to my main switch in UK and he is calling China, (japan have latency around 500ms to UK and 100ms to China), how asterisk
2016 Jan 28
2
Abuse of a private glibc symbol in R 3.2.3
Hello, developers of R. I have been unsuccessfully trying to build R on a musl libc system for the last days. ./configure works, but make fails. The command that errors out is here - http://pastebin.com/raw/UwFRsiqT It was brought to my attention that this is a (very longstanding) abuse of a private glibc symbol in R. In R 3.2.3, it seems that configure is trying to test for it on Linux. It
2016 Feb 01
1
More problems with building R on a musl platform
Here is tests/reg-tests-1c.Rout.fail - http://pastebin.com/raw/3QVDUBwT About the libm, I don't know which one R uses. musl has its on libm. http://git.musl-libc.org/cgit/musl/tree/src/math I think I also have openlibm installed, but I don't think that's used. Any more information I can give to help debug this? Thanks. On Mon, Feb 1, 2016 at 3:49 PM, Martin Maechler <maechler
2009 Oct 08
4
No sound on voicemail from analog line
Hello. I have a server installed with asterisk 1.6. I have a PSTN line that comes in to one of those clone cards. Everything seem to be working fine. The only problem I have is that I can't get voicemails coming from the PSTN line. All other: SIP, IAX work fine. I can hear those ok but, when it comes to a call that comes in from PSTN I get no sound. What can cause that problem? Thanks in
2014 Jul 09
1
DFS queries via rpcclient to Windows 2012 Server fails
Hello, We previously had Win2008 R2 DCs which we have begun to replace with Win2012 servers (forest is still at 2008 level however). I was able to query DFS via rpcclient but now I find that I am unable to. I know that SMB3 was introduced in Win2012 but I believe that it should auto-negotiate earlier versions. I did however test from v4.1.9 as well, unfortunately that still fails. From Samba3
2016 Feb 12
2
which ir instructions have name
Hi everyone, Some instructions in llvm have names and for some of them the name is empty. Now, I wanted to know which instructions have names? Best, Carlo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160212/04cff298/attachment.html>
2016 Feb 16
2
Difference between “uses” and “user”
Hi everyone, Instruction and Value classes have "Uses" and "User". What is the difference between them? I think that "Uses" gives all the instructions/values that a particular Value depends on and "User" gives all the instructions/values that depend on that particular value. Is that right? Best, Carlo -------------- next part -------------- An HTML
2018 Mar 22
3
exporting data to stata
Hi, I am new to R and I want to export data into Stata. Could somebody help with that? Thanks a lot. This is the code I am using: > setwd("D:/datasets/Seg-bcn/ESBD") > data1 <- readRDS("r17045_ESDB_Habitatges_BDD_V_1_0.rds") > library(foreign) > write.dta(data="data1", file = "D:/datasets/data1.dta") Error in write.dta(data =
2018 Mar 21
1
selectFGR vs weighted coxph for internal validation and calibration curve- competing risks model
Dear Geskus, I want to develop a prediction model. I followed your paper and analysed thro' weighted coxph approach. I can develop nomogram based on the final model also. But I do not know how to do internal validation of the model and subsequently obtain calibration plot. Is it possible to use Wolbers et al Epid 2009 approach 9 (R code for internal validation and calibration) . It is