blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
adb27ed5301483781f3d9b0a1b177ff5a796384a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/archivist/examples/shinySearchInRepo.Rd.R | bc3dc27a855fcdab5ac16cc5442f4e384469f9b2 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 351 | r | shinySearchInRepo.Rd.R | library(archivist)
### Name: shinySearchInLocalRepo
### Title: Shiny Based Live Search for an Artifact in a Repository Using
### Tags
### Aliases: shinySearchInLocalRepo
### ** Examples
## Not run:
##D # assuming that there is a 'repo' dir with a valid archivist repository
##D shinySearchInLocalRepo( repoDir... |
ada64e4c5a044057c8f4f74b0cf3d8a63a3b4cc2 | 74f9fb10d3d6e2cc88ca5398d2e5d361a627d4ec | /R/TreatIncorrect.r | 502e11bcf1d8cc0dbccdd6217c9e586c913e4524 | [] | no_license | cran/TestDataImputation | cadb5ea8ebf2c704a36429c30f2c69d1d90dc495 | fcdba13b0b05d60612e7384fc306e1bdb2cccc32 | refs/heads/master | 2021-10-20T09:51:41.121988 | 2021-10-18T17:10:11 | 2021-10-18T17:10:11 | 65,485,437 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,830 | r | TreatIncorrect.r | #' Treat missing responses as incorrect (IN)
#' @description This function replaces all missing responses by zero (see Lord, 1974 <doi: 10.1111/j.1745-3984.1974.tb00996.x>;
#' Mislevy & Wu, 1996 <doi: 10.1002/j.2333-8504.1996.tb01708.x>; Pohl et al., 2014 <doi: 10.1177/0013164413504926>);).
#' @param test.data Te... |
b2b91a011533d6b3d0d6dff7f71db47b7e6b309f | a16e182224fd3e112f4701acd9874a89b4425361 | /plot4.R | c674e3e5bc6aa60d617e363d88c130a8b532a1ea | [] | no_license | coursera2016/ExData_Plotting1 | 5d46fec577fbd21d980931383c44f53a612fc5e2 | 57c1048e2aa401ea99e875d7655288546fc1d3ec | refs/heads/master | 2021-01-17T06:56:08.111244 | 2015-04-12T16:37:00 | 2015-04-12T16:37:00 | 33,817,692 | 0 | 0 | null | 2015-04-12T13:22:28 | 2015-04-12T13:22:28 | null | UTF-8 | R | false | false | 887 | r | plot4.R | dat <- read.csv2("household_power_consumption.txt", na.string="?", dec=".")
dat <- dat[dat$Date %in% c("1/2/2007", "2/2/2007"),]
datetime <- strptime(paste(dat$Date, dat$Time), "%d/%m/%Y %H:%M:%S")
dat <- cbind(dat, datetime)
png("plot4.png", width=480, height=480)
par(mfcol=c(2,2))
plot(dat$datetime, dat$Global_activ... |
62817f02149e45744533c278e69f6c0cf70c0cb9 | f3e914e8a3ccb1c4d73555321e3eaf52b59f52e0 | /R/3.4-practice.R | 615541a982de3ee8348bf360fb77683c6b90d6db | [] | no_license | youjia36313/learn_R | 08be35ebc032839e8c25466c63ae5a0292069855 | 674de3d09e0e7dfec2d3e164ffab98e0c40ca597 | refs/heads/master | 2020-09-15T19:39:00.136679 | 2019-11-23T06:37:41 | 2019-11-23T06:37:41 | 223,541,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | 3.4-practice.R | df<-read.csv("practice3-4-1.csv")
table(df$Answer)
df1<-read.csv("practice3-4-2.csv")
df1
x<-df1$Export
y<-df1$Import
cor(x,y)
cor(y,x) |
bc1cf1231810a6d01693a622f537de5cc0ce9b86 | 442f9770e53101c4461c9031dfd69d3dfa69a757 | /man/newBlockInformation.Rd | b5a238aebb0ea38fb15e864961e8ef0c9c16ab91 | [] | no_license | cran/WGCNA | edaf87638c6cf0c9105dbb67637ebe059f598cb1 | 31f538c2f9d7d48f35f7098b4effe17331357d0d | refs/heads/master | 2023-01-25T02:34:33.041279 | 2023-01-18T11:10:05 | 2023-01-18T11:10:05 | 17,694,095 | 48 | 54 | null | 2019-08-17T13:25:00 | 2014-03-13T03:47:40 | R | UTF-8 | R | false | false | 1,447 | rd | newBlockInformation.Rd | \name{newBlockInformation}
\alias{newBlockInformation}
\alias{BlockInformation}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Create a list holding information about dividing data into blocks
}
\description{
This function creates a list storing information about dividing data into blocks, as we... |
ae648a3177cdb5951b56334ed0262323802f59a1 | 934b913fd45c0f26ba88afcf356a8324cd7bde69 | /analysis/02_explore_prey_categories_harbour.R | 19a40272676c88b6af8d1f842f57dea79cfaa198 | [] | no_license | adbpatagonia/SealDietAnalysis | 07ac508d9c0b16dd707a4fc2052970be58a544a8 | f7126aaf23ee03d70ed2fade58d32969c5ddec71 | refs/heads/master | 2022-01-28T09:39:15.416591 | 2019-07-18T13:49:22 | 2019-07-18T13:49:22 | 116,158,718 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,057 | r | 02_explore_prey_categories_harbour.R | ## ADB July 25, 2017.
## The intent of this script is to
## explore which prey species to include in prey categories
## load libraries ----
library(dplyr)
## read data ----
load('interimsteps/diet.rdata')
preysp <- read.csv('data/tlkp_preysp.csv',header = T)
## subsetting parameters ----
# mammals... |
f824c7e294286dda938b68cdf732957ac6359cf3 | eab78e955aaee69c14d206c8e5bd76cf246a2372 | /R/parse.R | 50ea98964c81bd6ff91ee922e3cc7106e6a1f0fb | [
"MIT"
] | permissive | rstudio/connectapi | 3ad96af4e7935035658bf09aa8082cae4c68ffb5 | 427ac1fe2eb72d45f6048c376ec94b6c545faf8d | refs/heads/main | 2023-08-08T11:55:20.698746 | 2023-07-10T16:36:27 | 2023-07-10T16:36:27 | 167,249,814 | 34 | 17 | NOASSERTION | 2023-08-03T13:26:37 | 2019-01-23T20:32:57 | R | UTF-8 | R | false | false | 4,744 | r | parse.R | # because format(NULL, "%Y-%m") == "NULL"
safe_format <- function(expr, ...) {
if (is.null(expr)) {
return(NULL)
} else {
return(format(expr, ...))
}
}
datetime_to_rfc3339 <- function(input) {
tmp <- format(input, format = "%Y-%m-%dT%H:%M:%OS5%z")
ln <- nchar(tmp)
paste0(substr(tmp, 0, ln - 2), ":"... |
6f36d0f53391645b82b6365c3d158d77801fbbf2 | e2b59ecade22df23781a7f6d2bd6bb559d4b01bc | /R/summary.R | 23549b4d4c0e5a4bbd6f5e45b6c0bcc0760a2320 | [
"MIT"
] | permissive | artedison/ensRadaptor | 2838d1740b5add8b1f348b14a1cc576e571bb789 | bf3911a29812120cfe3965148a9e21f98e350212 | refs/heads/master | 2021-08-20T08:01:24.766312 | 2020-12-07T01:09:18 | 2020-12-07T01:09:18 | 232,164,615 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,740 | r | summary.R | #' summary input files
#'
#' this funciton summary exist content in i01 and i02 file
#' output exist species and reaction
#' print imporant parameters
#' these information can be used for modify ens.def file
#'
#' @param i01 string. the locaiton of i01. must be provided
#' @param i02 string. the locaiton of i02. must b... |
55a377fe20e0299b318c92d5d0d911e9596952f1 | 5d21e75528088be4156b6c4872a1bc7f60ac760d | /src/wrangle.R | 7c5e1b4bfffe1f36a242876f3f0805dc311a32db | [] | no_license | joesdesk/poverty-and-education | 095a889f46e660cf91f40aa0571617f9fa3c316a | 8434774f8313753e50f00113c803eb2e5ccdf042 | refs/heads/master | 2021-08-30T12:01:32.513007 | 2017-12-17T20:46:49 | 2017-12-17T20:46:49 | 112,970,509 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,395 | r | wrangle.R | #! /usr/bin/env Rscript
# Wrangle the downloaded data files.
# Usage: Rscript warngle.R <data/poverty.xls> <data/education.xls> <results/socioeconomic.xls>
# Arguments:
# <data/poverty.xls> file location of the poverty spreadsheet
# <data/education.xls> file location of the education sprea... |
b8045736ae88bffe00023732fe59e862eda678ab | 6b579170717f7671b1b06f6e814a602d127c601b | /man/kappa4alShort.Rd | e014f988b3de0fd1b354ea47eef67f522763758d | [] | no_license | mtloots/alR | d8e699c7dadaf9a7abff4db0a21b46522319a069 | 1fc6a3b30ee177b0e22dcdb5ecebae6bfc567091 | refs/heads/master | 2021-04-22T06:46:51.423304 | 2018-03-15T09:25:14 | 2018-03-15T09:25:14 | 59,803,019 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,326 | rd | kappa4alShort.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kappa4alShort.R
\name{kappa4alShort}
\alias{kappa4alShort}
\title{Sigmoidal curve fitting.}
\usage{
kappa4alShort(formula, data = list(), xin, q1, q2, ...)
}
\arguments{
\item{formula}{An LHS ~ RHS formula, specifying the linear model to be e... |
2e37030ed812d96a84bcc8117a53d25961385f20 | 29585dff702209dd446c0ab52ceea046c58e384e | /spoccutils/tests/testthat.R | 9fa95d5685f31674feeea23fb5df803147f6bbf9 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 45 | r | testthat.R | library('testthat')
test_check("spoccutils")
|
480eb2841dcb5270f2b15dccc1eed3cffc545c98 | e4ce9bc2d66320c50fab21ab3a4a6720ae9021fa | /R/graph_theme.R | a3534f2a09b872126159316b4ff0cad61d4c7a13 | [
"CC-BY-4.0",
"MIT"
] | permissive | UofTCoders/eeb430.2017.Python | 53a236870fe45c0df1666d4a90838af1c3c91383 | d2f8c12ca284aef871eec0d510ef8e0a38e4ca64 | refs/heads/master | 2021-05-15T14:36:47.744625 | 2017-12-13T04:24:34 | 2017-12-13T04:24:34 | 107,316,813 | 3 | 6 | null | 2017-12-13T04:21:50 | 2017-10-17T19:51:13 | R | UTF-8 | R | false | false | 499 | r | graph_theme.R | library(ggthemes)
team_theme <- function() {list(
theme(axis.line = element_line(color = "black"),
text = element_text(size = 8, family = "Times"),
panel.background = element_rect(fill = 'white', colour = 'black'),
panel.grid.minor = element_blank(),
panel.grid.major = element_blank... |
70ea9ef6b4efa47b5f14049ca1c84cfad637e688 | ec82a7ee25fbe48e20fd84a3bfdff013f699c90d | /PassiveRamp 1.2018-2.2019/ignorePlotFun.R | 82b1a3e2f021474973e77951ab1036737f7198d6 | [] | no_license | gpagnier/rampAnalysis | 6084e1ba062ef80ba270e82f0f21915de2485176 | 2abe03f0c5190a5525dcdc07772ffe303b90d2fb | refs/heads/master | 2020-03-19T00:32:05.667733 | 2019-04-26T17:48:00 | 2019-04-26T17:48:00 | 135,487,989 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,345 | r | ignorePlotFun.R | #d is filtered data frame
#Do not use trialType with it
ignorePlot<-function(data,orig=TRUE,eb=FALSE,line=FALSE,ylimit=c(0,100),title="",trialType=""){
color='black'
if(trialType=='gambleLeft'){
data<-filter(data,trialType=='gambleLeft')
color='purple'
}else if(trialType=='gambleRight'){
data<-fi... |
e5631e85b74cbe9f320e6cf713bc16d0908b9e5b | d488095d94b00bc42d355f9b34c276772936b803 | /man/spuds-package.Rd | be4811094f52e3f4d71559d9a599410d95d06b17 | [] | no_license | DavidHofmeyr/spuds | 5415186be67182ef806b74b0a607ea75ca552edf | ecc9247178a20ae543987dc6631067b52486dd8b | refs/heads/master | 2020-04-13T16:04:33.139774 | 2019-01-06T07:39:08 | 2019-01-06T07:39:08 | 163,311,906 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,068 | rd | spuds-package.Rd | \name{spuds-package}
\alias{spuds-package}
\docType{package}
\title{
\packageTitle{spuds}
}
\description{
\packageDescription{spuds}
}
\details{
The DESCRIPTION file:
\packageDESCRIPTION{spuds}
\packageIndices{spuds}
This package provides an implementation of the SPUDS algorithm introduced in Hofmeyr, D. (2017) "Impro... |
00056a8316dc7c25cb63d53b4740e197b6b4a527 | fd4dcf8b7fbda761c095a0dd6c9c32129a2b9091 | /man/cumulative_value.plot.Rd | aad3776f39726e3f76d66918d49b6dede33b3020 | [
"MIT"
] | permissive | NicolasMatrices-v2/GeoLift | 921faeee3f4847057820df0c07b1995a43327d08 | 95cc7fefa7cced149753396b8b148bb3862acfe0 | refs/heads/main | 2023-07-26T01:24:32.090515 | 2023-07-05T08:03:02 | 2023-07-05T08:03:02 | 659,745,433 | 0 | 0 | MIT | 2023-06-29T23:03:46 | 2023-06-28T13:19:12 | null | UTF-8 | R | false | true | 1,883 | rd | cumulative_value.plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{cumulative_value.plot}
\alias{cumulative_value.plot}
\title{Plot the accumulated lift effect.}
\usage{
cumulative_value.plot(
data,
treatment_locations,
treatment_start_period,
treatment_end_period,
location_id = "loca... |
b5310c815ed4f385af91d736bbb9e98d666ef90a | 0d43c45303c6b9b3ac79113c1b7fdc71a3a7e697 | /R/doTEA.R | b26f95dda00b3266b557e341493a89d34721174d | [] | no_license | HappyLiPei/tea | b3f590bac389beb919809cda417250d66e351d0f | 26d59f69592a0e31644f29707baa4f3c6dde7424 | refs/heads/master | 2021-04-03T05:09:17.597599 | 2015-05-23T14:48:23 | 2015-05-23T14:48:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,735 | r | doTEA.R | #' Build the requested table, including any requisite tables that led up to this table.
doTable <- function(input_table=teaenv$active_tab){
.C("build_one_table", as.character(input_table))
}
#' The preedits are reduced to a list of queries. We can apply them at any time to any
#' table to make sure that they are s... |
17041111ba63dee15705d45401661a409dc334d0 | 1307bc92687eaad1a0ad8a47bb8ccc3ca36f03a9 | /man/R2.lm.Rd | 3130e766c4085fbbcca115d5b0c033de114204c5 | [] | no_license | markwh/rcmodel | cf388494df2ceb3e26ab72e28302ffa827ef5927 | 14ce61b8384d5457475604530a5d9707a9247678 | refs/heads/master | 2020-04-12T05:31:29.465019 | 2017-03-05T21:01:55 | 2017-03-05T21:01:55 | 40,208,508 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 379 | rd | R2.lm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/markstats.R
\name{R2.lm}
\alias{R2.lm}
\title{Coefficient of dermination for lm objects
Optionally gives adjusted R2.}
\usage{
\method{R2}{lm}(x, adjust = FALSE)
}
\arguments{
\item{x}{an object of class "lm"}
}
\description{
Coefficient of d... |
ff38316ae374415b78c56260b5745fa3ad11a971 | 99ee6d86c82ebb0ac9ba1a1059b2292758cfe903 | /Script/FitModels.R | c0554cd236f09aa99becad97c7831a6096178d89 | [] | no_license | Stewarjo/NSW-sea-garfish-stock-assessment | 58f6b4434cafda3926c3b8e32c9e9be9eac4d24b | b8b93d54949cdc2b8ffa4515563286b3ea354b53 | refs/heads/master | 2020-06-24T23:04:48.388604 | 2017-07-09T08:04:03 | 2017-07-09T08:04:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,630 | r | FitModels.R | # CREATED 1 Sep 2016
# MODIFIED 2 May 2017
# PURPOSE fit several mortality model to NSW sea garfish age data
# using hazard functions
# Load usefull libraries
library(SAFR)
source("UsefulFunctions.R")
# Load data available for analysis
source("LoadTheData.R")
###########################################... |
4a41d5affd35231769d0ae01259edda4f4813662 | 77416ab9f5781b3a258d4576e53d400bd2f1d028 | /scripts/STEP-2-debias.R | a892ce48204e7678f945a08d765c83c2e85dd628 | [] | no_license | marissakivi/met-crc-workflow | 5db5100c9ead5cdb6147894ac6945de841f23b8c | 753a7bb1d94ac89c93363ec27c7dabf5591c9355 | refs/heads/master | 2022-06-04T18:32:56.447167 | 2022-05-04T18:23:43 | 2022-05-04T18:23:43 | 197,021,818 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 27,928 | r | STEP-2-debias.R |
####################
# Modeling Met Ensemble Workflow
# Step 2 :: Bias correction, bad ensemble rejection, and visual check
####################
# This script has been modified so it can be run as a job submission to the CRC's machines.
#
# Description: This step combines the third and fourth steps of Christy's m... |
da6e1ce3a809ca47c56810e89581f5b096844d10 | 6218f5b9f6a841a87dbb8785e588f876b804cf23 | /R/nrawrap.R | d56d7ea79fb2925df618bda37fb3c0108e76a23e | [] | no_license | Rapporteket/nra | 60c414c56d2ddfb62382ca071fad44bdb73b7e03 | 8b7da276b7dd05af60ad24472769d3e0a515f5d2 | refs/heads/rel | 2023-06-07T15:31:26.951578 | 2023-05-31T14:01:46 | 2023-05-31T14:01:46 | 57,379,519 | 0 | 0 | null | 2020-01-24T11:06:18 | 2016-04-29T11:29:38 | R | UTF-8 | R | false | false | 503 | r | nrawrap.R | #' Automatisk linjebryting av lange tekstetiketter
#'
#' Automatisk linjebryting av lange tekstetiketter
#'
#' Her kan detaljer skrives
#'
#' @param x En tekststreng eller vektor av tekststrenger
#' @param len Lengden strengen skal brytes ved
#'
#' @return En tekststreng med tekstbrudd på angitt lengde
#'
#' @export
#'... |
8b45ccb3788dfea56251285f86a670d1a8253139 | e5f84c07e4b229502c67fff9ced2fa29420d5777 | /Clean_Data.R | bef9fa755cdeca8bbfcd0e2ba17b25689eefba2d | [] | no_license | paurabassa/storm-generation | cd648f4ef868f312f48fb909b4aa4971a4760804 | a7ace284d5be9dbf7830f1d984e5492c25042f0c | refs/heads/master | 2021-01-22T17:22:51.416127 | 2015-04-20T18:28:37 | 2015-04-20T18:28:37 | 31,430,642 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,531 | r | Clean_Data.R | #
#
# R file to collect, clean and save relevant wave and tide data for its analysis.
# several files are generated and stored a Data.Processed/
#
#
#read wave hindcast data
hcast.all <- read.csv("~/Post-Doc-LDN/Storm-Generation/Data.Raw/data.csv")
#str(hcast)
hcast.all$Date <- as.POSIXct(strptime(hcast.all$Date, "... |
42a17d7c66ab49ef6a2ce462b9dda4a63790d6ac | c3ed0eea77de3338cc4820ca27dc04384676b29b | /R/functions_path.R | 9a3e17e347e98455c65930d76690d427da2e57de | [] | no_license | jrboyd/seqtsne | f3bd94ee23140dc71373af4f1e7ce9ffe60d702f | 5a67cbe5af281ec42906689d1a9961d8fe9de68d | refs/heads/master | 2022-10-30T18:33:13.005047 | 2022-10-28T20:22:58 | 2022-10-28T20:22:58 | 177,857,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,978 | r | functions_path.R | #' plot_path
#'
#' Traces a path through the t-sne space in tall_var line order defined by qtall_vars
#' for ids in id_to_plot
#'
#' Good for looking at a small number of ids in a modest number of tall_vars.
#'
#' @param tsne_dt data.table with tsne info (tx, ty, id, and tall_var)
#' @param qtall_vars character vector ... |
13e3e33a21baa501c593e8f9ff0a15e7a75a5202 | 7f86f568dab6279e6f2d987c77a023bed055a11c | /man/data_FrenchPeregrines.Rd | 100ca39c296c12f0980cf99e79f493b67233755c | [] | no_license | cran/AHMbook | b6acd2ed71319be2f0e3374d9d8960a8b04e21bf | d8f8ad8bef93120f187bef494b9ac1ad8200c530 | refs/heads/master | 2023-08-31T21:13:00.618018 | 2023-08-23T21:10:03 | 2023-08-23T22:30:32 | 88,879,777 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,576 | rd | data_FrenchPeregrines.Rd | \name{FrenchPeregrines}
\alias{FrenchPeregrines}
\encoding{UTF-8}
\docType{data}
\title{
Data for observations of peregrines from the French Jura mountains
}
\description{
The data are detection/nondetection data of the Peregrine Falcon (\emph{Falco peregrinus}) from the wild and wonderful French Jura between 1964 and ... |
41d8f58c9b8b320c61e0150d50518f7c7a49c70c | 86a30d3ca8e3bbf0bf77ec7e856596e619b9d70b | /code/scripts_joel_HPC_V5_females/run_FAMD_ordinal_factors_HPC_V5_females.R | ef6798f2421a04223b523fe89ce1397467c6f62d | [] | no_license | EpiCompBio/Barracudas | c8692874a7565d3703d9f55dfdec729339f195d7 | 2bc606f3cfd8eabab900fdf22c35295ddf27efd2 | refs/heads/master | 2020-04-23T23:01:53.827985 | 2019-05-07T00:39:37 | 2019-05-07T00:39:37 | 171,521,953 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,008 | r | run_FAMD_ordinal_factors_HPC_V5_females.R | ################################################################################
# LOADING LIBRARIES
################################################################################
# using<-function(...) {
# libs<-unlist(list(...))
# req<-unlist(lapply(libs,require,character.only=TRUE))
# need<-libs[req==FALSE]
#... |
40a31f619ce9152bf73316c00d12b5e23f14a681 | e535b3cfa23dfd5b298b14c6460ac74d139ace3e | /cachematrix.R | f580121b1f7175605be63703c8ce7de3ddb9df89 | [] | no_license | mbatik/ProgrammingAssignment2 | 9537e553f687fd5214b77480fb4b759db4ed5921 | cb226d2d90b53a2ce45a9aeac4ea4e610ce260b6 | refs/heads/master | 2020-12-25T05:04:36.452112 | 2014-06-19T19:46:38 | 2014-06-19T19:46:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 866 | r | cachematrix.R | ## These functions allow for the cache of a matrix and then allows
## the return of the inverse of that matrix
## makeCacheMatix caches a matrix object
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y){
x <<- y
m <<- NULL
}
get <- function... |
44f3b222085c33d3e56a005726ca1a15a066f820 | 549b9ea2de06a6704912f5de95d2e9bca87440ae | /man/id.extract.Rd | 243a244a7ea35464e08bdcd6623d7ae65d7d2777 | [] | no_license | akeyel/spatialdemography | 38e863ba231c77b5e9d4d1c7357d98929f171de9 | cf0b006d43d0b55c76b55da3027210a4ceee29ef | refs/heads/master | 2016-12-13T05:19:09.151285 | 2016-04-02T03:56:27 | 2016-04-02T03:56:27 | 39,295,792 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 426 | rd | id.extract.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sdhelper.r
\name{id.extract}
\alias{id.extract}
\title{ID Extract}
\usage{
id.extract(Stage, TimeStep, sub.dat)
}
\arguments{
\item{Stage}{The lifestage to be extracted}
\item{TimeStep}{The timestep to be extracted}
\item{sub.dat}{The datas... |
faa4069f5a431ce1493678b3b26203c898c14900 | 27e584096efbf150caf723339f6b1ef40f9bf06e | /Session-5/App/V3/server.r | 22c37fd3fd33489df64b06be88b136885ac25878 | [] | no_license | tbalmat/Duke-Co-lab | 63148b946cbd8ab1b33a2f8851eaea6e00b59d63 | fe78e3f670456a67e515a6545e2d195ad94442ff | refs/heads/master | 2021-06-23T23:26:15.101875 | 2021-04-21T16:16:32 | 2021-04-21T16:16:32 | 213,077,357 | 3 | 7 | null | null | null | null | UTF-8 | R | false | false | 31,157 | r | server.r | #####################################################################################################
# Duke University Co-lab Shiny Workshop, Session 5, November 2019
# Genome Wide Association Study Pleiotropy App
# Inter-GWAS Association Network Using the visNetwork Package
# Shiny server file
# Version 3
#####... |
804ec12279f3136c14cfa6047bcb4ccc98649395 | f65ac6eca1f5c524e4ba5d4b760d4f26189f1263 | /R/mainApp.R | 5c0170c1e62cda8aa626ccafe715009773deba9a | [] | no_license | joey10086/ChemRICH | 32bf4e1e70a0ede6ab88a5bb8345be279fd1c03c | 172d6d5015c1e2339bed190c1418ffe7ab20e38d | refs/heads/master | 2020-04-16T06:11:17.221887 | 2019-01-08T21:20:57 | 2019-01-08T21:20:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 42,774 | r | mainApp.R | #raw_data <- readChar("./inst/www/chemrich_example_template.txt", nchars = 10000000)
#stat_file = raw_data
load("./data/cidmesh_smiles_fpbit.RData") ###df.mega.mesh.unique Unique CIDS
load("./data/mesh_bit_loc_list.RData") #bitloclist bit locations for the unique CIDS.
load("./data/treenames.df.RData") ### Name of th... |
0983f96e94842dd1b61677bbb08d46cd697c9958 | 0479f3d46eb3aeb10a5ca92400c7f2ba6f846744 | /code/initial_mlb_scrape.R | 26d4ac08167887fb8856637979f413669513f0cf | [] | no_license | jalgos/mlb | a3ad8ea28430c7ab0bfaf6ea86147394666fdb94 | b950673c3e27a3b165380ffd70be8e302cdeb50d | refs/heads/master | 2021-01-10T10:29:11.148559 | 2015-07-29T00:54:47 | 2015-07-29T00:54:47 | 36,795,977 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,932 | r | initial_mlb_scrape.R | # This code creates the initial SQLite data base containing all MLB data to 17th June 2015 using pitchRx
setwd("/Users/Michael/Coding/Jalgos/MLB")
sink.reset <- function(){
for(i in seq_len(sink.number())){
sink(NULL)
}
}
sink.reset()
sink(file="mlb_scrape.txt", split=TRUE)
library(dplyr)
library(pitchRx)
lib... |
39290fbc4dbd0b825831f33f5b7704c35bf694b1 | bd03530f8b32c309cc4ad02ca83fa0bb40ef7d70 | /man/adjust_xy.Rd | 09bdf1acd976f05189afb24266c01b2e8b31d60b | [
"MIT"
] | permissive | evanmascitti/soilmesh | e1e2baa178f9332c194f9d4e39b13be45378a186 | f2b7628caa0bda01642867480493eee1c0966175 | refs/heads/master | 2023-08-11T20:50:11.678091 | 2021-09-27T23:41:14 | 2021-09-27T23:41:14 | 310,968,643 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,007 | rd | adjust_xy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adjust_xy.R
\name{adjust_xy}
\alias{adjust_xy}
\title{Correct x and y offset for a soil specimen}
\usage{
adjust_xy(mesh)
}
\arguments{
\item{mesh}{a "mesh3d" object which is already oriented with its surface lying parallel to the x-y plane}
... |
df8c31dde2f6ca513d6137b94fa0bdf6782440f8 | 9c2f40ae8269413feb32cffa6d581dfe9f931dd0 | /man/constraint_nomatch.Rd | 1ddc9b5a377c90f54f904f3f786f65b67e758d1d | [
"MIT"
] | permissive | tpetricek/datadiff | ed5ca6cdfe8129ed947c24a42c62ea265aad86ef | 8941269b483da9abcacde804b7f6b6e0a122a57a | refs/heads/master | 2020-07-31T19:09:25.118489 | 2019-09-25T23:55:01 | 2019-09-25T23:55:01 | 210,723,004 | 0 | 0 | MIT | 2019-09-25T00:39:49 | 2019-09-25T00:39:49 | null | UTF-8 | R | false | true | 248 | rd | constraint_nomatch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/constraints.R
\name{constraint_nomatch}
\alias{constraint_nomatch}
\title{Constraint nomatch}
\usage{
constraint_nomatch(col1, col2)
}
\description{
Constraint nomatch
}
|
ed27784985200b0d8ad56c51a210ffdad7cfec22 | 0ab471ed346069af3abc4d90bba4957ee404b512 | /plot3.R | 48a6e31352670ea03d6ddcf299e6dfed4f5e94cb | [] | no_license | donhicks/ExploratoryDataAnalysis-CourseProject1 | 8e1ae9b97f6ba73fbfae37a56c2bff76a24eb660 | 731e71b6911170ebdebac1d26b7eb1607ec48f82 | refs/heads/master | 2020-12-24T14:10:31.720227 | 2014-09-06T12:04:24 | 2014-09-06T12:04:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,173 | r | plot3.R | plot3 <-function(){
##check working directory
file<-"household_power_consumption.txt"
wf<-paste0(getwd(),"/",file)
##read the outcome data
d = read.table(wf,header=TRUE,
sep=";", na.strings=c("?"),
col.names=c("Date", "Time","Global_active_power","Global_reactive_power"... |
f4706482690c656091e9c7b8ae807c8c566aa7c0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/FRCC/examples/plot_units.Rd.R | 50be8292fa86404a8afcc8340d90dd5d63860ba7 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 523 | r | plot_units.Rd.R | library(FRCC)
### Name: plot_units
### Title: Plots the experimental units in the Canonical Variates Space
### Aliases: plot_units
### Keywords: ~kwd1 ~kwd2
### ** Examples
#Example: NCI-60 micrRNA Data
data("Topoisomerase_II_Inhibitors")
data("microRNA")
my_res <- frcc(t(microRNA),-1*t(Topoisomerase_II_Inhibitors)... |
1c108cadc9f2e920e5a65b0ff7fb4cd3f3847ee0 | 765cc1a769e1667310eff2ea65646543e39588e0 | /R/BUSCAR_AREAS_DE_ATUACAO.R | 3fbfffb1c0e662fc152d13766f38f21705b49aff | [] | no_license | rcbraga/elattes | b66d65d7bb635a80cb343be5deae4cfc2aad3887 | 74578e0b3b70a7a1c2882c48d6831903b2737ad1 | refs/heads/master | 2022-01-24T13:42:25.134874 | 2019-05-31T01:47:44 | 2019-05-31T01:47:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,293 | r | BUSCAR_AREAS_DE_ATUACAO.R | #' @title BUSCAR_AREAS_DE_ATUACAO
#'
#'
#'
#' @param doc a document
#'
#'
#'
#'
#'
#' @export BUSCAR_AREAS_DE_ATUACAO
#'
BUSCAR_AREAS_DE_ATUACAO<-function(doc){
areas<-list()
Resultado<-list()
AREAS_DE_ATUACAO<-list()
tryCatch(areas<-xmlRoot(doc)[["DADOS-GERAIS"]][["AREAS-DE-ATUACAO"]][c("AREA-DE-ATUACAO")]
,
e... |
f8e9932ca43240799da64f1824b6a6e93a91ff77 | 79328b5dd4560365d89fdffc5f0d8a402ff2b6c6 | /pkg/ternaryplot/man/xy2ternary-methods.Rd | 7192c1f10c5118c27fe8cdc7cb2cc4f0787efd20 | [] | no_license | julienmoeys/ternaryplot | f1f97e2e409e164f8390acdaa677851a75ba1f2f | 50c9901ce03b8e857eb1990564c43e0e5e58e36e | refs/heads/master | 2021-01-21T04:47:19.042587 | 2016-06-17T16:52:13 | 2016-06-17T16:52:13 | 49,194,207 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,892 | rd | xy2ternary-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/xy2ternary.R
\name{xy2ternary}
\alias{xy2ternary}
\alias{xy2ternary.character}
\alias{xy2ternary.ternarySystem}
\title{Converts x-y coordinates into ternary point-data.}
\usage{
xy2ternary(s, data, xyNames = c("x", "y"), ...)
\method{xy2tern... |
6e1329205708e3cc8315aae7c5e641ffd9508187 | e64d540d5ba99edfa89a82a2e0e413d4eb7aebdd | /R/roster-package.R | badbd5b6b7b572b654483574ea19320b95c1ccdd | [] | no_license | jwmortensen/roster | 89eeb9f5ca8941ce4962d384d3aa6798318f6da8 | d7afcac6b8dc6e04283b5ac4327a1fb3fee18349 | refs/heads/master | 2021-09-19T22:18:57.282988 | 2018-08-01T05:29:21 | 2018-08-01T05:29:21 | 103,295,413 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,545 | r | roster-package.R | #' roster
#'
#' @name roster
#' @docType package
NULL
#' Play-by-play data
#'
#' Play by play data from a game between the Memphis Grizzlies and Sacramento
#' Kings on 1 January 2017.
#'
#'
#' @format A data frame with 525 rows and 75 variables
#' @name pbp
#' @docType data
NULL
#' Player data
#'
#' Player informati... |
b1e46f0fbe7ec1d5d75ea3795e945a7785a513a4 | 7f3d861fca2fed7843457c45bea42e7e4b83f160 | /main.R | 116a855a69e46673fdf44be156fca4ce86c508de | [] | no_license | cardat/DatSci_CNOSSOS_au_feasibility_report | 993339e0e15ac3158d5bec3ab9137dc3ff25e2a9 | 70009150e7c3d55f5f1b002e25dc7377e2d9fcef | refs/heads/master | 2023-05-25T12:46:13.326401 | 2020-04-16T16:38:31 | 2020-04-16T16:38:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 287 | r | main.R | ## CNOSSOS feasibility study using Banskstown, Australia
## christygeromboux
# Load libraries
library(rmarkdown)
library(bookdown)
library(yaml)
library(knitr)
#library(pander)
library(tinytex)
library(kableExtra)
# Create the report
rmarkdown::render("report.Rmd", "pdf_document2")
|
6ab9d5484ca85045508498e416f14ff7ace4682f | 16073ff9fa007b8239466aecc3a0b61deb8e5bec | /man/init_cla.Rd | cbdae82f70682600dea458b63c5e9b4e7e7c31b6 | [] | no_license | alejandro-sotolongo/CriticalLineAlgo | 5cdd5a1ba7bdb1b09c1715575fd9138bc075e7a6 | 37904abaca6dc455ca67c97b926385161b707c65 | refs/heads/master | 2020-12-14T04:12:25.661157 | 2020-09-08T18:05:26 | 2020-09-08T18:05:26 | 234,633,974 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 472 | rd | init_cla.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cla.R
\name{init_cla}
\alias{init_cla}
\title{Initialize Critical Line Algo}
\usage{
init_cla(mu_vec, low_bound, up_bound)
}
\arguments{
\item{mu_vec}{vector or column matrix of expected returns}
\item{low_bound}{lower bound weights}
\item{... |
db75af98d37abc01b40814658c72dba5764723db | 6ee1d2e303700be55ddf55a10b3ab7771a0411d2 | /scripts/prepare_data.R | 2a3f2aca6fddd12923211ba0297da66bc8a19811 | [] | no_license | nrlottig/14C_v_freewaterO2 | 75ad8cddaae4872da4df57f000ca47464176c12e | ea2b9984563b961afe19c64bc0a3bb20e3bc3d05 | refs/heads/master | 2023-05-22T16:27:41.201426 | 2021-06-10T16:09:34 | 2021-06-10T16:09:34 | 286,758,885 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,858 | r | prepare_data.R | #==========
#========== Preliminaries
rm(list=ls())
# load packages
library(tidyverse)
library(lubridate)
library(LakeMetabolizer)
library(rstan)
library(patchwork)
library(plotly)
source("scripts/helper_functions.R")
#===========================================
# Get and process high frequency sensor data
#========... |
b8fc2ae320fa21ff771776139f801db2c0485a4e | 33b5f6126026db66c5fd60f505a1e6797a47694c | /rcourse/class2/delete_me.R | 12e1d04c88a766dea808d9a5af5ee49ed6e89121 | [] | no_license | databrew/malawi | afb3fecb9a26ce24a9b91ec8ec2f960ec1592043 | 9888784f578d61e9e2d5e5396d42efd178c174cb | refs/heads/master | 2020-06-09T17:16:41.896827 | 2019-07-05T15:20:51 | 2019-07-05T15:20:51 | 193,475,551 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,475 | r | delete_me.R | station = "FQMA"; start_year = 2014; end_year = 2016;
save = TRUE; load_saved = TRUE
file_name <- paste0("weather_", station, "_", start_year,
"_", end_year, ".RData")
if (load_saved & file_name %in% dir()) {
load(file_name)
}
else {
station <- toupper(gsub(" ", "%20", station))
start_date ... |
28c4f9331ddb14f5d62c3b5d861ff184fd6ddacf | 3fa75cb3c140f20b30b10bd355d93a11cdbadf44 | /Testfxns.R | 63e2a3ae11bf20b60e8afd60a25b839ff87b97df | [] | no_license | Akansha-Kapoor/R-Code-Repo | 3d1c9bbae03471c9fc7df66c9bf27377f85c85c3 | 30fc1b9ff46a3c5bb65ab586036dc34fe8c15bc7 | refs/heads/master | 2020-04-23T15:30:56.879099 | 2019-03-13T11:07:35 | 2019-03-13T11:07:35 | 171,268,044 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 335 | r | Testfxns.R | readinteger <- function()
{
n <- readline(prompt="Enter an integer: ")
if(!grepl("^[0-9]+$",n))
{
return(readinteger())
}
return(as.integer(n))
}
#let me try a random number generator
rnum <- function()
{
runif(1)*10
}
#try the one from course
test1 <- function()
{
x <- runif(100... |
9a1633fc6a0e4c945cd14c2997793070cf6a29f5 | 60bf5a62b4d91b589d310d0d5268fac471530991 | /src/02_generate_train_test_data.R | 2569dd3f9974f47f623d3e8f159c90b5bd9edddb | [
"MIT"
] | permissive | 93degree/AHMoSe-simulation-study | 576494dfa18f0109bd0bbcb63e25852955c525cb | 7356134bacb7d9007a322dc885ca05c287783189 | refs/heads/main | 2023-04-13T08:32:14.690813 | 2021-04-16T12:47:48 | 2021-04-16T12:52:09 | 358,598,018 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,052 | r | 02_generate_train_test_data.R | ## Load libraries ----
library(tidyverse)
## Define constants ----
recode_evaluation <- c(
`very poor` = 1,
`poor` = 2,
`average` = 3,
`good` = 4,
`excellent` = 5
)
# Average temperature (in degree Celsius) for the growing season (April 1st to
# October 31st) from Tagarakis et al. (2014)
growing_average_tem... |
cbe41c7b6fb581d0d1a161b5ab250012a56b7923 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/dlib/R/pkg.R | 009ee94d79c64f4e9a786b706a1b4bdd7e341cf5 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,173 | r | pkg.R | #' @title Allow Access to the Dlib C++ Library
#' @description 'Dlib' <http://dlib.net> is a 'C++' toolkit containing machine learning algorithms and computer vision tools.
#' It is used in a wide range of domains including robotics, embedded devices, mobile phones, and large high performance computing environments.... |
d2d75a408143dcb53e9060ab0f04fc3ac994d63c | 12a4b117bf9cbaf9de0a3e606811af4188486ad3 | /man/retrieve.overlap.Rd | f3fef6ce9b732aae7c342dfe4d7f52207bcfc088 | [
"BSD-2-Clause"
] | permissive | emreg00/guildifyR | 08a5bb28578eb22e7a91c6ee62276cc3a8ee694f | e02f32f47ddf0f20597ff49614225551dcdaacbc | refs/heads/master | 2020-03-23T19:44:51.481523 | 2019-07-17T08:56:08 | 2019-07-17T08:56:08 | 142,000,200 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,401 | rd | retrieve.overlap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/retrieve.overlap.R
\name{retrieve.overlap}
\alias{retrieve.overlap}
\title{Retrieve overlap between two results using two job ids}
\usage{
retrieve.overlap(job.id1, job.id2, top.validated = T, fetch.files = F,
output.dir = NULL)
}
\argument... |
a328485dfe1fc6cbce7196e4afa2c0b2e423ec93 | 4dcd968ca1104a67e366179474240a2c5c9b9f0e | /R/tp_NN_keras.R | fdcc09c4e8174e307e9590f4ffc8df3f658c276c | [] | no_license | ThomasDavenel/TP_ACI | 27edb80623c4d58a9ac219d640c0f0921a2ab824 | d3efd5007c2d6f73074e80465d447f806bb8e7e2 | refs/heads/main | 2023-03-18T17:25:27.572962 | 2021-03-07T15:34:12 | 2021-03-07T15:34:12 | 337,032,440 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,630 | r | tp_NN_keras.R | install.packages("tensorflow")
install.packages("keras")
library(tensorflow)
library(keras)
source("./fonctions_utiles.R")
################################################################################
# Exo 1 : Effet de la fonction d'activation
# et des itérations de la descente de ... |
097710b2d3869b402a072f41b8726845c512acbe | a9bda9d1bf0110746739b105157f49a6af991530 | /Calculo_pobreza.R | b056d83f27b682c04d45f276d85211d71e4af315 | [] | no_license | EduTole/Pobreza | b7ced5622eeb6dc5daf61c83ce28a61c885a5053 | f91b02e40559ff4e3d8cfb0f3b8681c288892752 | refs/heads/master | 2023-03-20T20:59:04.295550 | 2021-03-14T15:45:13 | 2021-03-14T15:45:13 | 347,659,104 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 868 | r | Calculo_pobreza.R | # 01----------------------------------
# Directori de archivos
setwd("D:/Dropbox/EcoMaster/RTaller/Diapositivas/Pobreza/Pobreza")
# 02 ---------------------------------
# Se carga las librerias
library(foreign)
library(tidyverse)
# 03 ---------------------------------
#cargar la informacion
sumaria <- read.dta("D:/Dr... |
88bd1a7d42ef5ff704b0ad3ebd5669b951c0975f | 8aadf3bf0042c14bbff41d4985eeb42876943485 | /benfordsLaw/R/plotFD.R | 35e518a49c538d3700575d236ec10f4afb96d4e2 | [
"MIT"
] | permissive | nlinc1905/benfordsLaw | 5c0a0b88912ec0ccdb1e603f4923c5bb490ff21f | 43d101a1674d208419bc9d240c6ed471f8859e88 | refs/heads/master | 2021-01-11T12:20:52.338143 | 2018-05-22T23:11:42 | 2018-05-22T23:11:42 | 76,693,359 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,042 | r | plotFD.R | #' Plot of Benford's First Digit Test
#'
#' This function plots Benford's first digit test results as expected vs observed
#' digit frequencies.
#' @param firstDigitdf The results of the \code{benfordFirstDigit} function in dataframe format.
#' @return Returns a plot
#' @export
#' @examples
#' plotFD(benfordFirstDigit... |
54ae208fa5a1ab157eaa3d15e79e9057a517078a | 065370e27d5d0dd082273f5a707f7c153628828b | /man/evaluatorAction.Rd | e4b65cb203a78b837506888f0727ce591cb1b4f1 | [] | no_license | takewiki/XR | 9622a1b019c28fadca5c254b4d61edd405756ef0 | 296bbcbc4c2d7d1f7761715923c52f17d047c612 | refs/heads/master | 2020-03-25T06:56:55.203485 | 2018-07-26T23:03:33 | 2018-07-26T23:03:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 978 | rd | evaluatorAction.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Interface.R
\docType{methods}
\name{evaluatorAction}
\alias{evaluatorAction}
\alias{evaluatorAction,language-method}
\alias{evaluatorAction,pathEl-method}
\title{Carry Out an Evaluator Initialization Action}
\usage{
evaluatorAction(action, ev... |
8f9003de9c8f1dce15c5f3eb1c5e772e658aa093 | 599256b93ca49fa50aba87739b9e49ee3eba2081 | /pkg/R/checkWarnArgs.R | e6f40e3b6979f685d3a6ad960cfbaafbe04beae7 | [] | no_license | mamueller/linkeddocs | aad3a4dcd64942092f4efb2380e99f085b8d86d2 | 8c3d6ddf34a13170cc283b91deaa05733f8100bd | refs/heads/master | 2021-01-20T14:47:33.161695 | 2019-10-10T12:37:08 | 2019-10-10T12:37:08 | 90,661,291 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 521 | r | checkWarnArgs.R | #
# vim:set ff=unix expandtab ts=2 sw=2:
checkWarnArgs<-function(
name,
function_args,
documented_args
){
undocumented_args<-setdiff(function_args,documented_args)
if(length(undocumented_args)!=0){
warning(
sprintf("Undocumented arguments found in %s.\n %s\n %s\n %s",
name,
pas... |
7c2d787e9ee6f6489ee04113dc21044fe4c6fabc | bccc0513b5c83a129b909ae3b1ffef988ec87e6b | /R/colorscales.R | ba53ded1367fa12706a471962c95ce5cf4846cca | [] | no_license | Displayr/flipChartBasics | 2c0408e36f00c46cbdae9a53caf76bc10b8c6795 | 4c5573d82f72410bcde7b387a0a7253907b24d59 | refs/heads/master | 2023-07-11T00:18:05.474354 | 2023-06-26T05:09:59 | 2023-06-26T05:09:59 | 61,075,775 | 0 | 2 | null | 2023-08-17T05:54:47 | 2016-06-13T23:12:32 | R | UTF-8 | R | false | false | 6,934 | r | colorscales.R | #' Construct color scale for a numeric value
#'
#' @param x A numeric vector specifying the colors returne
#' @param min.x A numeric value representing the smallest value on the color scale. Values in
#' \code{x} smaller than this will be treated as \code{min.x}.
#' @param max.x A numeric value representing the large... |
e6e1e6151464d1294d696f4de10976c87996fbaa | a70f7eed26f98618562188a7c3b1e00a0c9e0662 | /plot2.R | 5b985131083a3ebe9420ec10c83825797554a024 | [] | no_license | JgLgRigel/ExData_Plotting1 | cad9169c6e89e33b4f1e4b0f7aaa70243694d191 | e8cb0b01d423b5b0ab7c1b03298de5562d158c18 | refs/heads/master | 2021-01-18T20:57:02.783624 | 2015-03-09T00:13:06 | 2015-03-09T00:13:06 | 31,861,566 | 0 | 0 | null | 2015-03-08T19:06:18 | 2015-03-08T19:06:17 | null | UTF-8 | R | false | false | 403 | r | plot2.R | library(dplyr)
dataset<-read.table("household_power_consumption.txt",header=TRUE,sep=";",na.string="?")
dataset<-filter(dataset,dataset$Date=="1/2/2007"|dataset$Date=="2/2/2007")
dataset$Date_Time<-strptime(paste(dataset$Date,dataset$Time),format="%d/%m/%Y %H:%M:%S")
png("plot2.png")
plot(dataset$Date_Time,dataset$Glob... |
43abf860439a1b87094025d3bf116ca333225bbc | 901331f01a6cd4ebdba4e25f30fd4a36da924191 | /man/mopt_config.Rd | 64ef9df4ddee6564cf0cb14e2e6b63339d7a0c53 | [] | no_license | priscillafialho/mopt | f49a26add6ef11096fc97bf6ea89d1cb2d7cc29d | 6b7fc8124a56a0239225296114ff6128cf9b4a40 | refs/heads/master | 2021-01-22T16:37:34.838400 | 2014-10-22T23:11:01 | 2014-10-22T23:11:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 183 | rd | mopt_config.Rd | \name{mopt_config}
\alias{mopt_config}
\title{create the configuration for the MCMC
chain.}
\usage{
mopt_config(p)
}
\description{
create the configuration for the MCMC chain.
}
|
f5476818a8f7218f2b90030deac622f9a3b84a7a | c6804658a1705bcace8b93575bb9296df67484ec | /SW4 Midterm QUIJANO.R | 99632a92c02f7abccadcc41ff070297551c42e12 | [] | no_license | daniellequijano/Midterm | 42b9ca70956afadbd4c4299ce43e83e87acd2dcf | 5361f80ccc468cf0ccb03c1927775bc50c366760 | refs/heads/master | 2020-03-22T05:08:23.833571 | 2018-09-04T02:15:17 | 2018-09-04T02:15:17 | 139,544,757 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 443 | r | SW4 Midterm QUIJANO.R |
library(EBImage)
library(magick)
source("http://bioconductor.org/biocLite.R")
biocLite("EBImage")
library("EBImage")
#LOCALLY
img <- readImage("sak.jpg")
dim(x)[1:2]
y <- resize(img, w =250, h=300)
display(y)
z <- imageData(y)
dim(y)
#WEB
img2 <- image_read("https://d384u2mq2suvbq.cloudfront.net/pu... |
2f2ac8e0f9593d69f2f3d292b39ae0060afac773 | c61fc77c97074dea99e06abb0f3f446b0d9aad8b | /tests/testthat/test-HttrAdapter.R | 4726a91b73dacab1b5dd21c80b9a174c66f86e5b | [
"MIT"
] | permissive | Jenaimarr/webmockr | 5717fda34c036c1da9962ac3e155a9abf1cf7753 | 6f0ec003333572efdfb1266634146a0d33bcd9a3 | refs/heads/master | 2020-08-30T12:57:04.926993 | 2019-08-12T16:35:45 | 2019-08-12T16:35:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,918 | r | test-HttrAdapter.R | context("HttrAdapter")
skip_if_not_installed("httr")
library("httr")
aa <- HttrAdapter$new()
test_that("HttrAdapter bits are correct", {
skip_on_cran()
expect_is(HttrAdapter, "R6ClassGenerator")
expect_is(aa, "HttrAdapter")
expect_null(aa$build_httr_request) # pulled out of object, so should be NULL
expe... |
9c7e3629a5cada5ea45f108e0ddf892007c50456 | a79fdb5989b61f031d5cbbe970a038052644814d | /data-raw/children.R | 13a9f0b21d4bdca5058a9c0e34fcd6d740ca8432 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jjchern/melig | 53949300fd03fae912244b4f58203025d54138d2 | f665b66b752e522d68307b4dd656e5aa9768ef07 | refs/heads/master | 2021-01-17T14:53:39.447394 | 2019-02-12T00:04:05 | 2019-02-12T00:04:05 | 46,519,862 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,572 | r | children.R |
# Medicaid and CHIP income cutoff for children --------------------------------
library(tidyverse)
read_csv("data-raw/infants_age_0_1_medicaid.csv", skip = 2) %>%
select(-Footnotes) %>%
filter(Location != "United States") %>%
rename(state = Location) %>%
inner_join(fips::fips, by = "state") %>%
select(stat... |
a466d0d17353487d4c7f4d516dfd0e745cd18fd6 | a0a51f98e534dd152f7cee4a66b159dea0aef2f9 | /kangaroo.R | 2b34257e646307694bdbd7cdbcfe5e226445b008 | [] | no_license | rjsaito/Auto-Insurance-Project | 369e425011ddb9a31c4dedf7de6b48696f1bba00 | 8ed468d9a0f7efd799e419323fd9935a9044d303 | refs/heads/master | 2021-01-10T05:18:00.983978 | 2016-09-12T02:10:28 | 2016-09-12T02:10:28 | 50,534,320 | 5 | 5 | null | null | null | null | UTF-8 | R | false | false | 7,077 | r | kangaroo.R | setwd("C:/Users/Riki/Dropbox/UMN Courses/STAT 8051/Travelers/")
kangaroo <- read.csv("Kangaroo.csv")
library(dplyr)
kangtrain <- subset(kangaroo, split == "T")
kangtest <- subset(kangaroo, split != "T")
#"NormalizedGini" is the other half of the metric. This function does most of the work, though
SumModelGini <- funct... |
f2b766f7cf7b243da9be7a115df2fa98451602a5 | a588dd1a34555dd71c898c82fbc7016dcc9cbdb3 | /OHDSITrends/man/get_event_id.Rd | 0ff215064618be888f7a9833f5fcf094cee9cec4 | [] | no_license | NEONKID/StudyProtocolSandbox | 5e9b0d66d88a610a3c5cacb6809c900a36bc35c3 | c26bd337da32c6eca3e5179c78ac5c8f91675c0f | refs/heads/master | 2020-03-23T14:02:11.887983 | 2018-10-19T05:33:13 | 2018-10-19T05:33:13 | 141,651,747 | 0 | 1 | null | 2018-07-20T02:10:06 | 2018-07-20T02:10:06 | null | UTF-8 | R | false | true | 592 | rd | get_event_id.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Verified Functions.R
\name{get_event_id}
\alias{get_event_id}
\title{This function returns the Athena event analysis id
affiliated with a particular particular event.}
\usage{
get_event_id(event_type)
}
\arguments{
\item{event_type}... |
5598fd82a4c25a7461f7716017354748aa92ffa5 | 3747b3b095f9d967468ba301116eefb157dd68ac | /P3.R | ee462843de950993477246cadc744c7e5c34f055 | [] | no_license | marcosvarela5/r | 542e04d3a93efdacfaafb746f1e419e1aa61ac3b | 3da5c403494e94fe116d815b72cdf016d62e066a | refs/heads/master | 2023-01-03T09:21:42.643530 | 2020-10-14T09:07:12 | 2020-10-14T09:07:12 | 299,761,886 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,502 | r | P3.R | set.seed(1) #Establecer una semilla.
sample(1:6,1) #Coge 1 numero aleatorio en el vector 1:6
runif(10, -1, 1) #Generar 10 numeros aleatorios en el intervalo -1, 1
#EJERCICIO 3.3
#1.
glc<-function(n, semilla=1,a=0,b=7^5,m=2^31-1){
u<-numeric(n)
x<-semilla
for(i in 1:n){
x<-(a+b*x)%%m
... |
51f99b17de9bc11a1bbeb130d157bbe84812cdf7 | 4951e7c534f334c22d498bbc7035c5e93c5b928d | /group-compare/proj-bid.R | 3e21c4aa366e048dfccee7554c56401cf36318cd | [] | no_license | Derek-Jones/ESEUR-code-data | 140f9cf41b2bcc512bbb2e04bcd81b5f82eef3e1 | 2f42f3fb6e46d273a3803db21e7e70eed2c8c09c | refs/heads/master | 2023-04-04T21:32:13.160607 | 2023-03-20T19:19:51 | 2023-03-20T19:19:51 | 49,327,508 | 420 | 50 | null | null | null | null | UTF-8 | R | false | false | 1,076 | r | proj-bid.R | #
# proj-bid.R, 4 Oct 17
#
# Data from:
# An Empirical Study of Software Project Bidding
# Magne Jorgensen and Gunnar J. Carelius
#
# Example from:
# Evidence-based Software Engineering: based on the publicly available data
# Derek M. Jones
#
# TAG project_bidding project_economics
source("ESEUR_config.r")
# CompId... |
e71c7c29dab81fe384a706f1d2824d19258b71c0 | 57ec7267c3903486f76310dfec2776789ba10170 | /Code/rsrHonors/man/rp.Rd | 3037cf49437b98b5aa74b62c3c9a58358b8a68e0 | [
"MIT"
] | permissive | grahamammal/honors-project | ebed346c6e8941f64f8fd7e1c8a203c208bec293 | be2adf92e05db8c2ba0ad0e6745f7fe485248783 | refs/heads/master | 2023-04-06T13:08:04.497316 | 2021-04-09T23:26:49 | 2021-04-09T23:26:49 | 292,358,292 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 287 | rd | rp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{rp}
\alias{rp}
\title{Multiply a number by two}
\usage{
rp(phi_r, dist, n_r, r_r, nu_r, num_r, cov_fun)
}
\arguments{
\item{x}{A single integer.}
}
\description{
Multiply a number by two
}
|
57ed84d41baeab638c434c0b703f0edebd69a7e1 | 037e0a791f5f1fcd51b61678f70269d0d27a60b0 | /Day69_catchphrases.R | cc42a95cdf9846b2c676ab3b9fa0bc7cf15c8b1f | [] | no_license | sharifshohan/One_Figure_A_Day_Challenge | ec29dd29b7352669a8f45e6c0c61f703cf62558a | 417684188f41c78c9d1233ecf3a1122de8e45551 | refs/heads/main | 2023-07-17T20:01:55.493394 | 2021-09-06T15:16:47 | 2021-09-06T15:16:47 | 363,593,446 | 5 | 3 | null | null | null | null | UTF-8 | R | false | false | 4,869 | r | Day69_catchphrases.R | #load packages
library(tidyverse)
library(tidytuesdayR) #tidytuesday
library(ggplot2) #plots
library(showtext) #add font
library(ragg) #ggsave
library(patchwork) #put together multiple plots
library(ggimage) #image as annotation
#load data
scooby <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/ti... |
9637dbbdbefc44a7d82ea88d1a999fd68ca950a0 | 8073958567c5f2366f29ad05645d4f4b32147c4b | /calibration.r | 14a28a0fa0b0600d915f6f9f15fa7d13bb902fdc | [] | no_license | ACSEkevin/Agent-Based-Modelling-Artificial-Anasazi | 3caa3529a54333e243b7f32fadfdd08f27bc7ac7 | c53552c5354472027fe28ae079f18d3b26a4f440 | refs/heads/master | 2023-03-15T15:32:44.807093 | 2020-08-29T11:32:18 | 2020-08-29T11:32:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 980 | r | calibration.r | #Run Calibration Process
library (EasyABC)
mindeathAge = c("unif",20,35)
maxdeathAge = c("unif",30,50)
minFertileAge = c("unif",20,35)
maxFertileAge = c("unif",25,40)
fissionProb = c("unif",0.1,0.15)
MaizeFieldData1 = c("unif",0.7,1.2)
MaizeFieldData2 = c("unif",0,0.5)
anasazi_prior=list(mindeathAge , maxdeathAge, m... |
4142f625b9d5f5b80891547e89a2cce9e6e662e0 | ecec6445e11e2e7baaeda8e42760b140835e96a6 | /man/kullbackLeibler.Rd | da069532877b4963a6a125c2718a39ef8a3e4104 | [] | no_license | joshbrowning2358/MCLE | 1ec631438c6e3453b8703295df7c7580eaba2209 | baad44b359a1d40dfd7b6d3aca6395fdfb1d2d88 | refs/heads/master | 2023-02-25T15:04:41.331043 | 2016-03-01T15:15:17 | 2016-03-01T15:15:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,507 | rd | kullbackLeibler.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kullbackLeibler.R
\name{kullbackLeibler}
\alias{kullbackLeibler}
\title{Kullback-Leibler divergence}
\usage{
kullbackLeibler(pdf1, pdf2, dimension = 1, lower = rep(-10, dimension),
upper = rep(10, dimension))
}
\arguments{
\item{pdf1}{A fun... |
87d7fea07b33839db806b884d7459ba2963544d9 | d155cbf85a33316e3aa9f27a59c6627b64e7d04f | /plotear_resultados_instar.R | 6a217dd91ecc25c5009d5f1190063b08c2a97325 | [] | no_license | MARIASUAM/Analisis_INSTAR | f18bfda1fdce636374fb999d1f594174537df6b0 | a7dd77697b652dc53de20e50a9567b4edd06bf2a | refs/heads/master | 2020-05-29T08:49:59.677963 | 2016-09-23T09:28:52 | 2016-09-23T09:28:52 | 69,004,551 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,299 | r | plotear_resultados_instar.R | setwd("C:/Users/iecolab/Google Drive/Instar/implementaciones/instar_baza/scripts/git_Instar_baza/git_Instar_baza")
#install.packages("lubridate")
library(lubridate) # Para las fechas
INSTAR<-read.table("instar_bz008.txt", header=T, sep=",", dec=".")
INSTAR$fecha <-as.Date(INSTAR$fecha, format="%m-%d-%y")
INSTAR$yday <... |
3b1be025ecd06781e28112d94d5833f8fd2a8c28 | d1625e2223c81a6c510ccf8bb847c67ed85f8e2f | /R/cv-update.R | 80d1a6e7a5cce9cb6f24dd5ddf08b66ad4b04c8e | [] | no_license | bmihaljevic/bnclassify | ea548c832272c54d9e98705bfb2c4b054f047cf3 | 0cb091f49ffa840983fb5cba8946e0ffb194297a | refs/heads/master | 2022-12-08T21:37:53.690791 | 2022-11-20T10:00:18 | 2022-11-20T10:00:18 | 37,710,867 | 20 | 12 | null | 2020-08-13T19:39:24 | 2015-06-19T08:30:56 | R | UTF-8 | R | false | false | 2,652 | r | cv-update.R | bnc_get_update_args <- function(x, dag) {
stopifnot(is.logical(dag))
args <- list(lp_fargs = x$.call_bn)
# lp_fargs must always be present
stopifnot(!is.null(args$lp_fargs))
# If dag then include dag arguments
if (dag) {
args$dag_fargs <- x$.call_struct
stopifnot(!is.null(args$dag_fargs))
}
args... |
4d0e26abddc5415778094ae0ab3c8bd27dc40b0a | 952aad9f69f2884807487d2c766b54d66af35079 | /R/musit_to_zootron.R | 6d9aa3a99c0643e89fad1bddea04312a0a7d5a54 | [] | no_license | vmzomdav/musit_to_ipt | db62530c33aa2bb89c7c3707cba77c8a34da04de | 5fdfe39204d531c504f917f6536b9d71ce72a13e | refs/heads/master | 2021-05-14T10:39:43.882863 | 2018-01-05T08:27:56 | 2018-01-05T08:27:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,389 | r | musit_to_zootron.R |
# To be run as loop, downloading and storing each dataset named in the vector "dataset"
# for each iteration
# script stored at bitbucket, run on server as:
#source("https://git.vm.ntnu.no/projects/MUS/repos/musit_to_ipt/raw/R/musit_to_zootron.R?at=refs%2Fheads%2Fmaster")
# dependencie
library(countrycode)
librar... |
6ff169a8fba111abced476c5b33b0283127bed76 | 7bc6ec8b8991ce10b2f15a59c417d1bf586464d1 | /Dplyr.R | 8d8d096ddd3b67e698a10f99b28120d178c94d1e | [] | no_license | shivamjolly95/Analytics | 7af56e6236c1383027a7caab74e297475ae21210 | cdc48621c22a261a4e26e5b2e5e17d17a554dddb | refs/heads/master | 2020-03-30T06:38:53.172144 | 2018-10-02T12:12:18 | 2018-10-02T12:12:18 | 150,877,404 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 520 | r | Dplyr.R | #data analysis using dplyr
install.packages(dplyr)
library(dplyr)
dplyr::filter(mtcars , mpg > 25 & am==1 )
?mtcars
filter(mtcars, mpg>25 & am==1)
mtcars %>% filter(mpg>25 & am==1) %>% arrange(wt) %>% summarise(n())
mtcars %>% filter(mpg>25 & am==1) %>% arrange(wt) %>% count(n())
count(mtcars)
mtcars %>% group_by(a... |
5099bcb8b33b3d4d6b9e207c7185182f29302f72 | 50784fd2f2b517cea59cf81aa9a62b0b7c9233dd | /functions.R | a5bf2e02dcd3704b3872735b4d4510da9f6cae70 | [
"MIT"
] | permissive | jogwalker/parasite_transmission_Q0 | 2e3f65d6876ed094e843e3786e6b8c66f8a1d9f9 | d7f9dae7c7d13aa7902265cb248217a6675d6573 | refs/heads/master | 2021-09-04T14:29:57.213352 | 2018-01-19T14:37:59 | 2018-01-19T14:37:59 | 112,845,168 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,024 | r | functions.R | # Functions necessary for Q0_model
##---------------------------------------------------------------------
# smoothNA is a function to fill in missing values in data
# updated to account for multiple leading and trailing NAs
smoothNA <- function(x) { # provide numeric vector
n <- length(x)
replaced <- 0
TF <- ... |
8945439e09da7c5c0a433a5d70a1f8735df397d1 | 6c079037dd6157e0a8c5f978179c9db5405817ce | /R/getData.R | 974028937fdae1765720cf0be430058320fa5451 | [] | no_license | greuell/dischargeValidation | e377dee541fc1bb5d6838d533d7f7dcb9ae247aa | ede3643a755d21ec28ec01a269d9174b6f4dd05f | refs/heads/master | 2020-04-27T00:21:39.265397 | 2019-09-06T11:42:48 | 2019-09-06T11:42:48 | 173,931,508 | 0 | 0 | null | 2019-03-05T11:09:51 | 2019-03-05T11:09:51 | null | UTF-8 | R | false | false | 4,418 | r | getData.R | #' Get validation data object for further analysis
#'
#' @param obsFile Path to the observation file.
#' @param simFiles Path to the simulation file(s). This can also be an empty vector.
#' @param locations List of station locations containing lon/lat values in a vector.
#' @param simOrigins Date origin of the simulati... |
9ee4df3ac9f85d51cd5c236737c9efad1bbe69b4 | 76cf478e98829d8329fd4f6f66197352eae04c96 | /k-means-centroid-and-methods.R | 5c986731a7e35356825ea51cc0a50526f0ae580a | [
"MIT"
] | permissive | paulinelemenkova/R-8-k-means-Cluster-Analysis | e87f97bbadc99d980d142f6989f82c17dfc79126 | 5bbd0587ae2e7a7149e9f80aebd8b6ab55f8c210 | refs/heads/master | 2020-03-19T09:31:37.855100 | 2019-06-17T13:07:13 | 2019-06-17T13:07:13 | 136,296,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,171 | r | k-means-centroid-and-methods.R | # libraries: 'factoextra', 'FactoMiner' ‘zip’, ‘openxlsx’, ‘carData’, ‘pbkrtest’, ‘rio’, ‘car’, ‘flashClust’, ‘leaps’, ‘scatterplot3d’, ‘FactoMineR’, ‘ca’, ‘igraph’
# ЧАСТЬ 1: делаем data.frame с геоморфологией
# шаг-1. загружаем таблицу, делаем датафрейм
MorDF <- read.csv("Morphology.csv", header=TRUE, sep = ",")
h... |
f641e59a13518db63883215bb6e115626051c5bf | 01f997b8df7cd8979004b1bea39a8791614f0522 | /1-data-prep/b-length-data/0-functions.R | 18a9dd3bea9801b1af03ca80d0772846d1cffba0 | [
"MIT"
] | permissive | bstaton1/esc-qual-ms-analysis | 4c8d7882b7247a47451c594ebcc8a0fbc21c8332 | d01e771ffd66588f20ed17bd871126ef310eb5e5 | refs/heads/master | 2023-04-07T13:27:09.672295 | 2021-05-17T04:02:57 | 2021-05-17T04:02:57 | 180,231,211 | 0 | 0 | MIT | 2021-05-17T04:02:16 | 2019-04-08T20:53:32 | R | UTF-8 | R | false | false | 4,593 | r | 0-functions.R |
##### CREATE STRATA KEY FROM A RANGE #####
create_strata_key = function(min_x, max_x, len) {
# number of total x elements (e.g., days)
n_x = length(min_x:max_x)
# the starting and ending days of each stratum
s_start = seq(min_x, max_x, len)
s_end = c(seq(min_x + len, max_x, len), max_x)
# number of ... |
d37c8ad0385a03ebdd6a33d5ab2781d6bdeb8440 | 0d35749c4c44b101afc124d26380574d650fec3a | /man/grattan_darkgrey1.Rd | 40a6da4785d57f0dbd2384d1787e585847f94592 | [
"MIT"
] | permissive | MattCowgill/grattantheme | 3b27ce0488907d46dc52eff65622aef0235d4965 | 0b1dfac4e19a38c8894c0556cc1ebd3f1ee991de | refs/heads/master | 2023-01-09T16:58:04.454028 | 2022-12-29T22:15:58 | 2022-12-29T22:15:58 | 351,668,681 | 0 | 0 | NOASSERTION | 2021-03-26T05:08:54 | 2021-03-26T05:08:54 | null | UTF-8 | R | false | true | 304 | rd | grattan_darkgrey1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_grattan_colours.R
\docType{data}
\name{grattan_darkgrey1}
\alias{grattan_darkgrey1}
\title{'}
\format{
An object of class \code{character} of length 1.
}
\usage{
grattan_darkgrey1
}
\description{
'
}
\keyword{datasets}
|
02727afda575c42e6fd25c6699113191475a85b5 | ca1776015f5f67178a0a1e36669662bc02ab4e57 | /caribbean_fish_benthic.R | 92577f8bfb7707ad9d0ee1219cc31215b8cd909e | [] | no_license | fishymary/caribbean_fish_benthic | f7ad8b2683f1d473ffa37932f348a2ff1f96d8a3 | 8fb22f6afde693d5fb8c824d1b5f960c4510018d | refs/heads/master | 2020-04-20T09:47:53.567421 | 2019-02-05T06:15:16 | 2019-02-05T06:15:16 | 168,774,306 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 74,342 | r | caribbean_fish_benthic.R | # -----------------------------------------------------------------------
# FISH FUNCTIONAL GROUPS & BENTHIC COVER IN THE CARIBBEAN
# -----------------------------------------------------------------------
rm(list=ls())
Start <- Sys.time()
# initialization ----------------------------------------------------------
lib... |
c58c8911e87fdd11f8d0bd6cc20b7c91459ad4c8 | 86d782689ef2c4f1c5d943ef37dd95f2a124589f | /R/vignette_filter.R | 0215c266e8174ad2ad31316091d05a1f6bd6b735 | [
"MIT"
] | permissive | trevorkwan/Rmagine | 3c43ce2e485195c9419e06e9e5d9e51a7a04fb8c | 8d82b8a6777af46287776920743ef71e2f1867fa | refs/heads/master | 2022-12-11T06:05:17.189007 | 2020-03-26T22:30:49 | 2020-03-26T22:30:49 | 243,434,114 | 0 | 0 | NOASSERTION | 2020-02-27T04:55:00 | 2020-02-27T04:54:59 | null | UTF-8 | R | false | false | 2,877 | r | vignette_filter.R | # Created on February 28, 2020
# author: Brendon Campbell
# Implementation of vignette_filter function in the Rmagine package.
#' Apply a vignetting filter to a given image
#'
#' Saves the given image with the vignette filter applied at the specified strength.
#'
#' @param image_path string: The local file path for th... |
8b82ec25d19a70dcb6b71a2cd264b0ad8c5906da | 237568b413ec0336a3715d8ca01b3b7ff3260a0f | /analysis/shiny-apps/players_moves_rgl/app.R | 3e81d292d3ca7116afbb98b96ebcbd94c34a4d40 | [] | no_license | tuubes/GameAnalysis-IUT | 2c02bd739dbc06dc49e69a273b1424521b102d90 | 1b550d17a3444c476209cea46cee34fa423fdf4c | refs/heads/master | 2018-09-30T19:02:50.733080 | 2018-06-15T10:54:14 | 2018-06-15T10:54:14 | 119,714,920 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,613 | r | app.R | #
# Shiny Web App - Déplacements des joueurs, visualisation 3D
# (c) Guillaume Raffin 2018
#
# Packages nécessaires : shiny, shinyjs, RJDBC, data.table, rgl
# Working directory : dossier de l'application, avec le fichier voxel_analysis.R et avec un dossier adjacent "db_data" contenant les BDD et h2.jar
# ATTENTION : il... |
8bad5e2334d49919237cbbf44f22dc86cc25c601 | e13aa8574d9ae6d08fc8a4cc75607fccaa38b71a | /HW10/hw10_importance_sampling.R | 317fc3d4d30d6dd1092dd776de5d60dedb4a365c | [] | no_license | Dongzhikang/GR5206-Intro-to-ds-hw | 7c62e0542231b4d17b942e174338c2d0369bddda | 4bf3a1656ac3c206019adaf3e3f6b9b224c6e22c | refs/heads/master | 2020-09-16T11:33:35.060026 | 2019-12-02T16:51:13 | 2019-12-02T16:51:13 | 223,756,992 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,701 | r | hw10_importance_sampling.R | # HW10: Importance sampling in Monte Carlo integration
#
# In this exercise, we will go over a simple application of monte carlo
# estimation of an integral. We will estimate the standard normal CDF
# between 1.5 and 2.5, namely `P(x > 1.5 & x < 2.5)` where `x ~ norm(0, 1)`.
# We can't derive the integral manually, thu... |
9db5c6989fb0cd0b0d1df9984296d6cd56d19608 | 7801aeb2ddf556153ade35ac2bbed507cefc869f | /wetlands/assess_wetlands_and_ponds.r | 38789b2c45168b60231af71e6a1dc112624790e2 | [] | no_license | dnrwaterqualitymodeling/wisconsinRiverTMDL | af2b66c09be2078efb8c128624afb418170c0992 | 6c4eccf875f154bb69a95291940d1e16234e1030 | refs/heads/master | 2021-01-21T18:05:29.104788 | 2016-06-29T17:50:46 | 2016-06-29T17:50:46 | 23,920,607 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,006 | r | assess_wetlands_and_ponds.r | wd = "H:/WRB/Scenarios/Default/TxtInOut"
files_pnds = list.files(wd, "*.pnd")
dat = data.frame()
for (fl in files_pnds){
lnes = readLines(paste(wd, fl, sep="/"))
sb = gsub("0", "", substr(fl, 1, 5))
print(paste("working on Subabsin", sb))
PND_FR = substr(lnes[3], 9, 16)
PND_PSA = substr(lnes[4], 9, 16)
PND_PVO... |
a9a7c2f85b00c888ccd38190b136eed6194da656 | ada38fccd871bbc52589c2c97b86a6d5c9dfd4ff | /scripts/6_figures7-8.R | fdbf0daf574d153ee3b60afdcf932ce378003c1a | [] | no_license | wrahool/twitter-landscape-old | b2412433c168108c4536440bc142a3540b58f2e3 | ca0228d9e32462b4cca034cf458be289dc7a29b4 | refs/heads/master | 2023-05-06T18:45:58.292479 | 2021-05-21T09:10:57 | 2021-05-21T09:10:57 | 237,348,870 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,072 | r | 6_figures7-8.R | #wt anlaysis
library(ggplot2)
library(plyr)
library(dplyr)
library(gridExtra)
library(moments)
setwd("C:/Users/Subhayan/Documents/Work/twitter-landscape/")
elite_df = read.csv("data/weak_elite_ideologies.csv", as.is = T)
elite_df[is.na(elite_df$ideology),]$ideology = 0
elite_df[elite_df$ideology == -Inf,]$ideology = -... |
dc35ca27198344bb5f7f18379415013437f453b1 | dbd38ce158841d9d94984629a70651d813cbdef8 | /inst/doc/vignette.R | 700fa32eaeafee2bae1d73657f430708dbb1a63f | [] | no_license | gaospecial/RVenn | ebf49636f11aa8ab804a62966f66f622f6cf8cd2 | 13841159034d84a58a8eecfbb12c9778ce0de3ef | refs/heads/master | 2022-01-16T18:54:46.219924 | 2019-07-18T20:40:02 | 2019-07-18T20:40:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,827 | r | vignette.R | ## ----setup, include = FALSE----------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ---- message=FALSE------------------------------------------------------
library(purrr)
library(RVenn)
library(ggplot2)
## -------------------------------------------------------... |
77733c09ca09b265c12bc18e5351e3217318fa41 | 0ddf106e8771bf738e16cd544b133ca4aa8f9800 | /run_analysis.R | 9ae824d73d44efb6dfd13441678af9924a37059c | [] | no_license | dcudel/GettingAndCleaningData | 9e011d40372c066a93db00c0fcfabaa441ecb8c0 | 7d1c84e603a55c08175c83ae0df5521bd2f4a2ee | refs/heads/master | 2020-12-25T18:16:58.450200 | 2014-07-27T15:43:03 | 2014-07-27T15:43:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,114 | r | run_analysis.R | featurescount = 561
##------------------ Part 1 : Merge training & test dataset -------------------
## Load the activity label dataset and give meaningful name to columns
activities <- read.csv(".//UCI HAR Dataset//activity_labels.txt",
sep = " ",
header = FALSE,
... |
010ea64e3b014849e9237aec1d5d7917f3b5e688 | c3f2f0b46e9b237533bd4c56b08f3c9e6a711def | /plot1-R.R | 4daffb3920aea93db3738f0c06fa648f9e2b5a87 | [] | no_license | kuhsibiris/ExData_Plotting1 | efeb244dfdb1ab0fc4cb00037137e5e54c354968 | cc0d6cd817a03a67bb72892504aa2ef8a5fc82e9 | refs/heads/master | 2021-01-11T09:47:22.636094 | 2016-12-29T03:59:59 | 2016-12-29T03:59:59 | 77,489,307 | 0 | 0 | null | 2016-12-27T23:48:21 | 2016-12-27T23:48:20 | null | UTF-8 | R | false | false | 740 | r | plot1-R.R | # This script makes the first graph plot1.png
#start with an empty space
rm(list=ls())
setwd("/home/andres/exploratoryDataAnalHW1/ExData_Plotting1")
library(ggplot2)
library(dplyr)
energyData<-read.csv2("household_power_consumption.txt")
energyData[energyData=="?"]<-NA
energyData$Global_active_power<-energyData$... |
9ad09b0b157de8592fbd6b74ed36ba2308d79be9 | 03ff62bcc1e282660716a999f8cdce25d655875b | /packrat/lib/x86_64-pc-linux-gnu/4.0.2/withr/tests/testthat/test-defer.R | 52e10cdae7a73b6beabb2b037c10e23da6336890 | [
"MIT"
] | permissive | rafaelortegar/R-sistema-de-recomendacion | edc881617860eeebcf6c026f61ddf1708b89a4de | 7e306ef74020d59f8707a178818e7abb3370e80f | refs/heads/main | 2022-12-22T15:27:23.160662 | 2020-10-07T04:40:52 | 2020-10-07T04:40:52 | 301,925,373 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,058 | r | test-defer.R | context("defer")
test_that("defer_parent works", {
local_file <- function(path) {
file.create(path)
defer_parent(unlink(path))
}
# create tempfile path
path <- tempfile()
# use 'local_file' in a function
local({
local_file(path)
stopifnot(file.exists(path))
})
# file is deleted as we... |
f2f764fda7f1e17fbc1c930bd6d8187019f3f086 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/covTestR/examples/structureStatistics.Rd.R | 8f0385c813f132add6373641a392784c05ff1be8 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 276 | r | structureStatistics.Rd.R | library(covTestR)
### Name: Ahmad2015
### Title: Tests for Structure of Covariance Matrices
### Aliases: Ahmad2015 Chen2010 structureStatistics Fisher2012
### LedoitWolf2002 Nagao1973 Srivastava2005 Srivastava2011
### ** Examples
Chen2010(as.matrix(iris[1:50, 1:3]))
|
c50533d5061bedb7893d2add4fff353e0dd7480b | d6c74bac655e53cf6d417ab635bff1d2d3fa8576 | /Sesion-03/Reto-02/Solucion_Reto02.R | 6b9199e404bcc7d7a7c26a833f6e950d439f257a | [] | no_license | abrownrb/DA_R_BEDU_2 | 58f75ecdcead16c966c0807419b74999b1dd8879 | 6fe9ba47da5c759656459872a47a76b93c1eae9c | refs/heads/master | 2023-01-01T06:19:27.239662 | 2020-10-27T19:50:16 | 2020-10-27T19:50:16 | 277,850,824 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 862 | r | Solucion_Reto02.R | ######################################
########## Estadística con R #########
########## Sesión 02 ##########
########## Reto 02 ##########
######################################
# función evaluate()se pasa al argumento "func" y algunos datos (como un vector)
# devolverá el resultado de que se haya pas... |
927cc800513957c61cfddc3758bd92aaab9ed907 | 61a19c8062d70b540199a8adcad96128594ce069 | /R/src-test.r | e50e3e796f36ac268a168ac495377eb9c610f1fe | [
"MIT"
] | permissive | lionel-/dbplyr | 414a428022e812bf923710006b911bdb85953a8e | 90514df7e6721b8e2113dc05efb78074982ebfb6 | refs/heads/master | 2020-12-31T06:47:39.825750 | 2017-03-29T15:30:11 | 2017-03-29T15:30:11 | 86,605,490 | 0 | 0 | null | 2017-03-29T16:33:32 | 2017-03-29T16:33:32 | null | UTF-8 | R | false | false | 878 | r | src-test.r | #' A set of DBI methods to ease unit testing dplyr with DBI
#' @name src-test
#' @export
#' @param con A database connection.
#' @param x Object to transform
#' @param sql A string containing an sql query.
#' @param ... Other arguments passed on to the individual methods
DBITest <- function() {
structure(list(), clas... |
f1dc254f832f29e2460bea0939dc2f62013e01c7 | 8b7a9ebf84b4d1da3476f45f5b911d4cc575dd8a | /1. importing data.R | 09e6314289fdf3168839e05435666a91af491d2b | [] | no_license | benholding/global_mobility | a262a3b5b813ee2efcd00d023b6e8f4234881aa0 | 7ebf2beb27561c0e813517cffd0cb50b0de790e4 | refs/heads/master | 2023-08-28T18:20:45.306612 | 2021-10-19T11:34:33 | 2021-10-19T11:34:33 | 412,454,033 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,290 | r | 1. importing data.R | #Importing data
load("wos_data.RData")
pacman::p_load(dplyr, countrycode)
countries_to_regions <- read.csv("countries_to_regions.csv")
# making some small corrections to the dataset (universities in North Macedonia were missing the name of the country) #
publication_list_all <- publication_list_all %>%
mutate(pub_... |
f5cc7b0db8f70dc34df62b9ee18e7513655688ee | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/medfate/examples/spwb.Rd.R | 59d3a6ca31b4fa3f6b73706335033338fbe9e734 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,143 | r | spwb.Rd.R | library(medfate)
### Name: spwb
### Title: Soil-plant water balance
### Aliases: spwb spwb.resetInputs
### ** Examples
#Load example daily meteorological data
data(examplemeteo)
#Load example plot plant data
data(exampleforest)
#Default species parameterization
data(SpParamsMED)
#Initialize soil with default soi... |
ea693cd62cf653bde002c72213b2b19e6e6a135d | 1e37665693349a7170a7169aecaa5ffee10f9ddc | /man/metaLocalized.Rd | d71b714e53235f9bb7bf3b9f3ceae38123201784 | [] | no_license | mbannert/gateveys | 25e515431b3829f7a087040da4d4994190e21ab1 | fd7478a4b1619d8e6d7ff54a68eac1c45c96157c | refs/heads/master | 2016-09-08T05:04:22.091404 | 2013-06-28T09:43:22 | 2013-06-28T09:43:22 | 7,775,562 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,856 | rd | metaLocalized.Rd | \name{metaLocalized}
\alias{metaLocalized}
\alias{metaLocalized-class}
\title{Class for Localized Meta Information}
\description{
This is basically a template for a class, that organizes
meta attributes that are language variant. You could add
multiple attributes of this class to a time series to
have meta info... |
16c5270c54ccc5ecfd9834253136a9abfc6690e7 | 445050b2d62fcb0b1b796c33c58f3d51f34d51e8 | /man/factor_to_character.Rd | 616f2d9df5d52cd9f8287f822b284fff5a645f16 | [] | no_license | cran/diffdf | 9c1c5129ebf95064a7c41ab105252801b935c188 | 02d02358fb63059c465a270757586f0680c141a8 | refs/heads/master | 2021-06-03T21:04:15.623148 | 2020-03-17T22:10:03 | 2020-03-17T22:10:03 | 132,450,100 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 465 | rd | factor_to_character.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc_functions.R
\name{factor_to_character}
\alias{factor_to_character}
\title{factor_to_character}
\usage{
factor_to_character(dsin, vars = NULL)
}
\arguments{
\item{dsin}{input dataframe}
\item{vars}{variables to consider for conversion. D... |
1886d9932cacf8a77a04d8f4a77e4f2cc28e3f02 | ef572bd2b0515892d1f59a073b8bf99f81d6a734 | /data-raw/COP23/update_cop23_de_coc_co_map.R | 06c29a9f628c3b7b6b07db2f06c6c75314f0f422 | [
"CC0-1.0"
] | permissive | pepfar-datim/datapackr | 5bc604caa1ae001b6c04e1d934c0c613c59df1e6 | 9275632673e45948db6846513a53c1436cfc0e47 | refs/heads/master | 2023-08-30T23:26:48.454382 | 2023-08-11T13:01:57 | 2023-08-11T13:01:57 | 170,350,211 | 9 | 7 | CC0-1.0 | 2023-09-11T21:53:24 | 2019-02-12T16:19:47 | R | UTF-8 | R | false | false | 1,507 | r | update_cop23_de_coc_co_map.R | # Point to DATIM login secrets ----
secrets <- Sys.getenv("SECRETS_FOLDER") %>% paste0(., "datim.json")
# datimutils::loginToDATIM("~/.secrets/datim.json")
datimutils::loginToDATIM(secrets)
cop_year <- 2023
dp_map <- datapackr::update_de_coc_co_map(cop_year = 2023,
d2_session ... |
de185178836b2757260e68e195e4037772686f4b | b3b1b011ab46f024467282baeff0f160e2e91e31 | /man/registerParallelBackend.Rd | a01442a42355ea870949ce9dd3eb7492661580e9 | [
"Apache-2.0"
] | permissive | schuemie/PatientLevelPrediction | 5265629020a2406f9f96a4975aa3ab35c9663b92 | 0b59c97a53ab4c6aaf6236048d5bcc9363c2716e | refs/heads/master | 2020-09-05T00:50:10.021513 | 2019-11-06T07:46:44 | 2019-11-06T07:46:44 | 88,721,641 | 0 | 1 | null | 2019-05-01T04:30:23 | 2017-04-19T08:40:26 | R | UTF-8 | R | false | true | 724 | rd | registerParallelBackend.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Parallel.R
\name{registerParallelBackend}
\alias{registerParallelBackend}
\title{registerParallelBackend}
\usage{
registerParallelBackend(cores = NULL, logical = TRUE)
}
\arguments{
\item{cores}{the number of cores to use for multi core proce... |
4bd8511ed991ec4b1b27ea231d300d3bbb8d8823 | 224807bcc64ee023d59db89da1ff436a2aa44ba8 | /man/createArgusInput.Rd | 56998b0a0fc8698e5f255d2e2c176a752476c18f | [] | no_license | sdcTools/sdcTable | cf963624c44510e8c77c6b4ba83fe064a84c168c | ade7328a1c73b3fa2d7f17b725ad193389d0bde6 | refs/heads/master | 2023-09-03T14:59:24.853963 | 2023-08-16T06:27:56 | 2023-08-16T06:27:56 | 61,604,088 | 7 | 5 | null | 2019-10-04T10:14:39 | 2016-06-21T05:14:13 | R | UTF-8 | R | false | true | 6,001 | rd | createArgusInput.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/createArgusInput.R
\name{createArgusInput}
\alias{createArgusInput}
\title{Create input files for tauArgus}
\usage{
createArgusInput(
obj,
typ = "microdata",
verbose = FALSE,
path = getwd(),
solver = "FREE",
method,
primSuppRule... |
db8fae5771df6f2f403eec3d95ada62c789141c6 | 8212e31e22ba5de8be1910343c94cd4e23b792a5 | /Script/SNPs/LDplot.R | 310677f32741d8b29435ae509eb75f6b3f2a12a4 | [
"MIT"
] | permissive | HY29/Tea_GPGWAS | bcac6832b865e93bdaf5ef28fa4d68cfb418e999 | ee65370df960caf0845a9816f48ff3f2f3a6c146 | refs/heads/main | 2023-03-07T13:29:04.146486 | 2021-02-22T09:13:19 | 2021-02-22T09:13:19 | 332,383,569 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 856 | r | LDplot.R | ############################################################
### LD decay estimation
### Draft script 200811 HY
############################################################
#load packages
library(ggplot2)
library(cowplot)
#Data arrangement
d <- read.table("list_gwas_maf0.05_miss0.7_ld_window_50kb.geno.ld", header=TRU... |
a77e34e5af73b5c888b21345b30b0c81d182c1b7 | 05c8302fb62bdfb080aa863df95d36aa46f3f35e | /man/dgirt_fit-class.Rd | f72e2ffdbc07679f6bfd0cfa7f65559213a3b9c7 | [] | no_license | fsolt/dgo | ad7a84ca863cb60f4bd4a1778b14d9d7f5d7abf6 | 2961b5b99c27c59f1889ee8cb90c5b30ad223d9c | refs/heads/master | 2021-06-01T23:51:14.349211 | 2018-07-17T11:34:20 | 2018-07-17T11:34:20 | 95,905,521 | 0 | 0 | null | 2017-06-30T16:22:24 | 2017-06-30T16:22:24 | null | UTF-8 | R | false | true | 1,168 | rd | dgirt_fit-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/class-dgirt_fit.r
\docType{class}
\name{dgirt_fit-class}
\alias{dgirt_fit-class}
\alias{dgirt_fit}
\title{A class for fitted dynamic group IRT models}
\description{
\code{\link{dgirt}} returns a fitted model object of class \code{dgirt_fit},
... |
65b01ad72dfcdcdead959cda0db42aed313eb8e4 | f9549eed2e2917d38a76a5da14bc7d05deaf38d3 | /Text Mining and Emotion Mining - Amazon - Review.R | f56b22382dc5faef332ef6626e14890877bf770f | [] | no_license | umesh-123-rp/Data-Science-Text-Mining | 0d3689fce0418c4d5e93dd2327245473f4127672 | fdf826eac96599b62627d06efacb59fcb2240831 | refs/heads/main | 2023-01-27T19:49:05.100304 | 2020-12-12T07:55:18 | 2020-12-12T07:55:18 | 320,777,308 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,138 | r | Text Mining and Emotion Mining - Amazon - Review.R | # Extract reviews of any product from ecommerce website like amazon
# Perform emotion mining
# Loading the required packaged
install.packages(c("rvest","XML","magrittr"))
library(rvest)
library(XML)
library(magrittr)
# Extracting Amazon Reviews for book " The Tower of Nero"
aurl <- "https://www.amazon.in... |
ac48599694ca9d046c5dd66798cfa0a248c99887 | fc9c903bc15654ba32c45d1118f36d3aa9073fce | /R/split.asc.r | 0c05a559cf195beb73edc240a07d7dc83189c340 | [] | no_license | lib314a/popeye | 9dbffd006047e33e46a6e2c7a94dac9119b1d119 | 988df16b1aa81fb2ae98f876ee07bf130c85ce0b | refs/heads/master | 2021-07-04T20:58:08.952537 | 2020-09-10T13:48:26 | 2020-09-10T13:48:26 | 167,812,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 395 | r | split.asc.r | split.asc <- function (lines, start.flag, end.flag = NULL) {
starts <- grep(start.flag, lines)
if (is.null(end.flag))
ends <- c(starts[-1], length(lines))
else
ends <- grep(end.flag, lines)
x <- correct.err.flags(starts, ends)
starts <- x$starts
ends <- x$ends
r <- lapply(lisp::zip.c(starts, ends)... |
53c282483a16f9de2039510651b90b34bac0b6b2 | bfaf11c8a5329aa84ee2a826157d664925188ccf | /man/detection.Rd | 4b17288c4908d89be16a1a28ac17ad73c76f4268 | [
"CC-BY-4.0"
] | permissive | cran/klexdatr | e73b7fd914d89f5c323742a52dabac1f38a68136 | 992228b296c650d061566e383dbbba8d59f7e82d | refs/heads/master | 2023-04-20T10:30:32.848771 | 2021-05-29T20:00:02 | 2021-05-29T20:00:02 | 261,254,008 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 533 | rd | detection.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{detection}
\alias{detection}
\title{Acoustic Detection Data}
\format{
A tbl data frame:
\describe{
\item{DateTimeDetection}{The detection date and hour (time).}
\item{Capture}{The fish code (fctr).}
\item{Receiver}... |
d0fd694349b7b45eeba7d63bc5f84e5b0419a7b1 | 36f59fc4ac547b8a124c60560e753be0c2177637 | /lib/feature/feature.mean.R | 7c9bcea353aece2c933ff66e403b0517d515cf6f | [] | no_license | zehaowang/cycle3cvd-team8 | ba505550046b52f1ee49072b134afd30fb4717b1 | 880c5fbb11fdcc58c8f55f17cd335e21a2ce9133 | refs/heads/master | 2020-12-25T22:08:23.719838 | 2016-04-04T16:59:02 | 2016-04-04T16:59:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 691 | r | feature.mean.R | library(EBImage)
trainvec <- rep(NA, length(list.files(img_train_dir)))
testvec <- rep(NA, length(list.files(img_test_dir)))
setwd("~/Columbia University/Spring 2016/Data Science/Project 3/train/train")
for(i in 1:length(list.files(img_train_dir))){
img <- readImage(list.files(img_train_dir)[i])
colorMo... |
c24676dd361c5c0d9f8a20654a67fb74d8cd50a3 | 9d7f9350bc17fd00e590ddd5053addb4090b1993 | /man/shiny_dimsmets.Rd | 12c7ceeabfaa566338d21656410213dffff71cf9 | [] | no_license | selesnow/RGA | 14359e1d90ec7fbe7b91d9f4420926b820ba1536 | c0f91a102ef50c57289ac5fb9bda1ef5bc95d920 | refs/heads/master | 2019-07-12T01:28:37.211872 | 2016-08-23T05:21:36 | 2016-08-23T05:21:36 | 105,628,870 | 2 | 2 | null | 2017-10-03T08:19:09 | 2017-10-03T08:19:09 | null | UTF-8 | R | false | true | 495 | rd | shiny_dimsmets.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metadata.R
\name{shiny_dimsmets}
\alias{shiny_dimsmets}
\title{The Shiny Dimensions & Metrics Explorer}
\usage{
shiny_dimsmets()
}
\description{
The dimensions and metrics explorer lists and describes all the dimensions and metrics available ... |
c70c9ad07dfa4ef294f84ead09943f9f002910d1 | 51b93b6394163abaaa5144524745e240a8a37a66 | /man/fitVolDist.Rd | f00236e1522d53fd818ba8cbe01894f76d44d51c | [] | no_license | cran/cellVolumeDist | cf00020600bf7b12e05e1d36e6512bb06cde768c | 23786af9c8566f558703f7f9f1423c71b6da1ae6 | refs/heads/master | 2022-05-06T12:39:58.763310 | 2022-04-24T22:50:02 | 2022-04-24T22:50:02 | 17,695,017 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,828 | rd | fitVolDist.Rd | \name{fitVolDist}
\alias{fitVolDist}
\title{Fit a model for cell volume distribution under least squares criteria.}
\description{This function fits a model for cell volume distribution
under least squares criteria; free model parameters are the cell
growth rate \code{r} (\eqn{\mu m^3/h}), the variability in cell gr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.