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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75275e53e9ce7e88f54107dc36c95696030e43ba | cff7a73825a6405ecb2b667beb4c607ed3358508 | /08_model_classic.R | 6e21bfac5eca5d9bee3940ebad5bbc1fa5fd0f37 | [] | no_license | kmatusz/mgr | cc308a362d19bf1855bd7b346f161ac9c486dec1 | 40fa62b1834ae9228e5919b953e30899dc43fad5 | refs/heads/master | 2023-07-07T01:44:45.197192 | 2021-08-12T21:07:40 | 2021-08-12T21:07:40 | 246,847,687 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,776 | r | 08_model_classic.R | # Script for modeling whether the customer bought second time in the shop
# Data from first purchase is used
TRAIN_MODELS <- TRUE
library(readr)
library(tidyverse)
library("leaflet")
library(psych)
library(lubridate)
library(cluster)
library(factoextra)
library(caret)
library(rpart)
# Data preparatio... |
c295799e43f7f48252c0e7c3a16bab1e36e7f4c5 | 90d74d03513e588f1f0161846dfd9657c78feae8 | /R/action.R | b804f977f7ce4fa04584dbb8fcaf7af8b6b0c4a0 | [
"MIT"
] | permissive | ropensci/unifir | 859fe03f09e7f2a96cc0785d02f1153c465f24c1 | e5c1df562b43751775e04777e204777646390c42 | refs/heads/main | 2023-05-23T12:33:33.104020 | 2022-12-04T15:15:46 | 2022-12-04T15:15:46 | 373,628,173 | 22 | 0 | NOASSERTION | 2022-12-02T17:12:52 | 2021-06-03T20:06:53 | R | UTF-8 | R | false | false | 4,468 | r | action.R | #' Build and execute a `unifir_script`
#'
#' @param script The `unifir_script` object (as generated by [make_script])
#' to build and execute.
#' @param write Boolean: Write the generated script to a file?
#' @param exec Boolean: Execute the script inside of the Unity project? Note
#' that if `write = FALSE`, `exec` ca... |
8760352d4f27aeba72cc4dbe3ff4829eb12301f2 | 022b2058a1b86c9673de480c026b3772f8f38292 | /data-raw/01-import-references.R | 805f40ac5429387561b2fdd5502cb09816bd8770 | [] | no_license | kamapu/biblio | 316f98678270ac1db8419d516bca3c7bb56c7aea | a0a222c57ea322f114afc74903c0096b3acfabcc | refs/heads/master | 2023-05-11T17:44:15.062504 | 2023-04-29T08:20:57 | 2023-04-29T08:20:57 | 237,954,340 | 0 | 2 | null | 2023-02-20T23:07:29 | 2020-02-03T11:56:46 | TeX | UTF-8 | R | false | false | 356 | r | 01-import-references.R | # TODO: Importing references as example data
#
# Author: Miguel Alvarez
################################################################################
library(biblio)
library(usethis)
# Adding example data
synopsis <- read_bib("inst/LuebertPliscoff.bib")
use_data(synopsis, overwrite = TRUE)
# TODO: new_lib() tem... |
3f71ba9d3f00d28431757fb851f86b15285dcb3b | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/formaldehyde_methane.R | 8bf2d76a77100641c77d91037ec6fdab27fea6a0 | [
"MIT"
] | permissive | andrewdefries/andrewdefries.github.io | 026aad7bd35d29d60d9746039dd7a516ad6c215f | d84f2c21f06c40b7ec49512a4fb13b4246f92209 | refs/heads/master | 2016-09-06T01:44:48.290950 | 2015-05-01T17:19:42 | 2015-05-01T17:19:42 | 17,783,203 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 276 | r | formaldehyde_methane.R | library("knitr")
library("rgl")
#knit("formaldehyde_methane.Rmd")
#markdownToHTML('formaldehyde_methane.md', 'formaldehyde_methane.html', options=c("use_xhml"))
#system("pandoc -s formaldehyde_methane.html -o formaldehyde_methane.pdf")
knit2html('formaldehyde_methane.Rmd')
|
8dd0884df0c1b030750c12390c602d6f7fd5313d | 6464efbccd76256c3fb97fa4e50efb5d480b7c8c | /cran/paws.internet.of.things/man/iotanalytics_list_datastores.Rd | fe8402a21d16b2a5702f28bfe11bf1bf522201cf | [
"Apache-2.0"
] | permissive | johnnytommy/paws | 019b410ad8d4218199eb7349eb1844864bd45119 | a371a5f2207b534cf60735e693c809bd33ce3ccf | refs/heads/master | 2020-09-14T23:09:23.848860 | 2020-04-06T21:49:17 | 2020-04-06T21:49:17 | 223,286,996 | 1 | 0 | NOASSERTION | 2019-11-22T00:29:10 | 2019-11-21T23:56:19 | null | UTF-8 | R | false | true | 633 | rd | iotanalytics_list_datastores.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/iotanalytics_operations.R
\name{iotanalytics_list_datastores}
\alias{iotanalytics_list_datastores}
\title{Retrieves a list of data stores}
\usage{
iotanalytics_list_datastores(nextToken, maxResults)
}
\arguments{
\item{nextToken}{The token fo... |
de340bc50641473c16ee387cbdf23288c9788f07 | 573a8b848c3ee979c4fb0852105519df58bcc827 | /man/jgc.Rd | 15eb22585ae89a58b14668c0e20c6e8c1314f662 | [] | no_license | s-u/rJava | 0228c0df9ab40a04568f4b93bdcf6d55299f9e9a | 6d362c1e804d85f699e61742e103df0b8634c489 | refs/heads/master | 2023-04-18T19:46:31.708379 | 2022-12-30T05:07:29 | 2022-12-30T05:07:29 | 15,511,357 | 214 | 84 | null | 2022-04-27T22:47:26 | 2013-12-29T16:37:44 | Java | UTF-8 | R | false | false | 634 | rd | jgc.Rd | \name{.jgc}
\alias{.jgc}
\title{
Invoke Java Garbage Collection
}
\description{
\code{.jgc} invokes the R and Java garbage collectors.
}
\usage{
.jgc(R.gc = TRUE, ...)
}
\arguments{
\item{R.gc}{logical, if \code{TRUE} then \code{gc(\dots)} is called
first, if \code{FALSE} only Java garbage collector is called}... |
7d97cf76194a680d369f9e7227904b3840eae9ee | f0861f49786faae3984d1d2c908b720f2c016e9e | /load.R | 119e278f53480cfbd9c02215ee350c1da668bb31 | [] | no_license | Blurry/ExData_Plotting1 | 483659660d0cb274057d0463c41ea04a339850f4 | 01a5e1de28bf2347dee1b2746590bf3f61a5a9fe | refs/heads/master | 2021-01-19T07:37:22.468369 | 2016-01-10T23:18:32 | 2016-01-10T23:18:32 | 49,386,381 | 0 | 0 | null | 2016-01-10T21:31:08 | 2016-01-10T21:31:07 | null | UTF-8 | R | false | false | 583 | r | load.R | # Sys.setlocale("LC_TIME","C") #Get weekdays in English in RStudio
require(dplyr) || install.packages("dplyr")
library(dplyr)
# Load data set
data<- read.table("./data/household_power_consumption.txt", header = TRUE,
sep = ";",
na.strings = "?")
# Load only for 2007-02-01 and 200... |
d64a8972ce1801a4beb8e662999601057f3aa7d2 | b988414b463f6601d27625e653fcb1680681b01e | /R/04_RW_cleanDHS_kids2.R | 5df7371692068317e07126585c7e85683c572c0c | [
"MIT"
] | permissive | ccjolley/RwandaLAM | b4f60c2ac577633def0a6a8d7014d5d47f0f2062 | 6c8dca82b02b01361e142b6c7c948a05e3fc5033 | refs/heads/master | 2020-12-24T23:56:03.125874 | 2016-08-29T17:36:48 | 2016-08-29T17:36:48 | 60,806,784 | 0 | 0 | null | 2016-07-29T16:55:23 | 2016-06-09T21:00:19 | R | UTF-8 | R | false | false | 13,692 | r | 04_RW_cleanDHS_kids2.R | # Cleanup kids dataset for Rwanda DHS data --------------------------
# Nada Petrovic, USAID PPL & GeoCenter, npetrovic@usaid.gov
# 16 June 2016
# (c) 2016 via MIT License
## PULLING VARIABLES WE WANT
## Reads in excel spreadsheet that states which variables to keep
## from kids data set
kids_labels_tokeep<-read.csv(... |
7bf48e3fe50983fd06d6e75261ef5ddaf54c45d9 | 3714ad3bb1d62aa0fc7b4cebf1e926c7996ecfe1 | /hypothesis_solver.R | a799fe39759599873c2576c8bfd94ef13c1fe44a | [] | no_license | hietalai/Automatic_Exam_Solutions | 9aea8c51d119b8d435538cb5071a41a7d8b5fce5 | 431510039cc9d31ab3536a7883ddbaf351e2ac94 | refs/heads/master | 2021-08-27T18:52:47.987864 | 2017-11-23T11:02:42 | 2017-11-23T11:02:42 | 111,798,590 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 9,650 | r | hypothesis_solver.R | ### Hypothesis testing
require(xtable)
# Function that produces results of test decision
decision <- function(test, krit, side = "ne"){
if(side == "ne"){
if(test > -krit & test < krit){
cat(paste("Teststatistikan hamnar ej i det kritiska området."))
decision <- "ej"
} else {
cat(paste("Tes... |
fa00dc5e8da7cbf2d2586856454671d663a67be0 | 9872e08ae5789ab289f248955da479056935534b | /man/get_bw.Rd | 1412c4c660c29517b4ffa581e49ef67346e14137 | [] | no_license | mastoffel/partR2 | f452bd5057d466fb97464c8e87b6a9031a5df895 | 48a0c105236d9effdb533768e8f9cb0a799c28c3 | refs/heads/master | 2021-09-19T11:03:28.148454 | 2021-08-05T13:29:17 | 2021-08-05T13:29:17 | 99,020,542 | 23 | 3 | null | null | null | null | UTF-8 | R | false | true | 317 | rd | get_bw.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats_helpers.R
\name{get_bw}
\alias{get_bw}
\title{Get beta weights}
\usage{
get_bw(mod)
}
\arguments{
\item{mod}{merMod object.}
}
\value{
data.frame with bw instead of raw estimates
}
\description{
Get beta weights
}
\keyword{internal}
|
c58d903b00f790e53c84a3e9bd533862eecd7172 | 94bacf8ae33f625e602140d254c11b6fe9edfbbc | /man/cond1.mat.Rd | b8a61c63406a2ab55b057c9986cd621e15047682 | [] | no_license | cran/varmixt | 7deb71f4f40c3fccc8fbd6e84a1327e31cfcb6a2 | 3a4d2d30de189eab78e3cdcec090f91c955a7e08 | refs/heads/master | 2021-01-22T01:28:33.623587 | 2005-06-17T00:00:00 | 2005-06-17T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 452 | rd | cond1.mat.Rd | \name{cond1.mat}
\alias{cond1.mat}
\title{Extraction of the matrix with normalized expression data in condition 1}
\description{This function extracts the matrix with normalized expression data in condition 1
}
\usage{
cond1.mat(data)
}
\arguments{
\item{data}{gene expression data object}
}
\details... |
ac8f46d488d63f18ea1d1e5268c2af936e269eda | 2deb84edc4c05b36a8b0c5a73a70a49d8ec48f07 | /R/iv_factorial.R | 83d19142b51694f25b0a2fe6e3e8d28a4f722c39 | [] | no_license | cran/factiv | 4407299595fd65138db93d58777297ea2b7caf14 | 97914277c51bc620687724c81a812161555a1f94 | refs/heads/master | 2023-05-01T12:16:00.059092 | 2021-05-21T07:00:05 | 2021-05-21T07:00:05 | 369,583,550 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,472 | r | iv_factorial.R | ##' Estimates principal stratum-specific effects and interactions in a
##' 2^K factorial experiment
##'
##' This function estimates treatment effects for 2^K factorial
##' experiments in the face of noncompliance on all factors. A
##' monotonicity assumption is assumed for both treatment-instrument
##' pairs, along wit... |
8df71c0c58d8158645ee2b054f3eb212c87bfd18 | 70341290df2fa49f2f03508f1421f85f9196e5ef | /R/fit_logit.R | b5953d8a7b5eb4d073378b1c6f27a1af3595e173 | [] | no_license | jmsigner/amt | f74f5621513ccfec0593facc78fc3bfa667a5df1 | 8df534d5dee8fafb75b0aeb95717cf85141c8ddb | refs/heads/master | 2023-07-23T15:49:56.907437 | 2023-07-17T16:19:36 | 2023-07-17T16:19:36 | 76,946,660 | 36 | 16 | null | 2022-07-30T07:07:56 | 2016-12-20T10:22:09 | R | UTF-8 | R | false | false | 792 | r | fit_logit.R | #' Fit logistic regression
#'
#' This function is a wrapper around `stats::glm` for a piped workflows.
#' @param data `[data.frame]` \cr The data used to fit a model.
#' @param formula `[formula]` \cr The model formula.
#' @param ... Further arguments passed to `stats::glm`.
#' @name fit_logit
#' @returns A list with t... |
f426f763eeee61d462ad51bb01ae7fce269fbaa7 | 0102f791bde704863c4822abf1aee441b0715a53 | /risk_network/visNetwork-master/man/visExport.Rd | cbe91d4448b8eabff8891502bf115b85324f987d | [
"MIT"
] | permissive | WilliamTorsett/data_analytics | 34ade6b3505a793332f91c2b0190f7509559c78b | 01f98c5afaf652990897fd1f9d9df1ae2d3d2ee3 | refs/heads/master | 2022-12-06T14:40:42.492982 | 2020-08-30T14:40:30 | 2020-08-30T14:40:30 | 258,614,710 | 0 | 1 | MIT | 2020-08-30T14:40:31 | 2020-04-24T20:15:57 | HTML | UTF-8 | R | false | true | 1,770 | rd | visExport.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visExport.R
\name{visExport}
\alias{visExport}
\title{Network export configuration}
\usage{
visExport(
graph,
type = "png",
name = "network",
label = paste0("Export as ", type),
background = "#fff",
float = "right",
style = NULL... |
fa922499d68e5330add6b0b93c70c8dcffe44357 | 1874a54baed6d1d6500328b3a9e81cccf82e9c0b | /code-bill.r | 0bec03e970a692367628d8c174d88aa38991a721 | [] | no_license | anishpurohit/R-codes | 7902334bb68bdfb05b0710eca1e786c77ec65e81 | dcc6c6d5e8d2cd975b7fc84cdb564627ddfc3bee | refs/heads/master | 2021-01-11T14:18:58.043801 | 2017-06-19T08:19:55 | 2017-06-19T08:19:55 | 81,337,570 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,373 | r | code-bill.r | setwd("C:/Users/dell/Desktop/Data Science/R Code/Telecom-LR Bill Case (1)/Telecom-LR Bill Case")
data <- read.csv("billdata18052014.csv",stringsAsFactors = FALSE)
library(dplyr)
glimpse(data)
table(data$salary)
data <- data %>%
mutate(Payer_Company = as.numeric(Payer =="Company"),
Payer_Self = as.nu... |
763b0291def07b8e315472761dac885f2935275b | 3a9f4106a5c6fac300371f78daab9164b099dd7f | /R Scripts/Calculations/Avg Cost.R | cd7a9cabb87addd6748ce0e2d553287fc306ac43 | [] | no_license | orlandofreedom/FantasyFootballAnalyticsR | 3a9eb19d8b151211784b8b9c1dbf13ce5b37bb62 | a69f0f83e9ebd8d3953aaa5092132d71f9425bd1 | refs/heads/master | 2020-12-31T06:23:13.192077 | 2014-12-07T06:00:33 | 2014-12-07T06:00:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,136 | r | Avg Cost.R | ###########################
# File: Avg Cost.R
# Description: Downloads a Player's Avg Cost in Yahoo Auction Drafts
# Date: 3/3/2013
# Author: Isaac Petersen (isaac@fantasyfootballanalytics.net)
# Notes:
# To do:
###########################
#Library
library("stringr")
library("XML")
library("data.table")
#Functions
s... |
a18ab3e555fb15d65bf0c73b8caade247caec02c | 92b26722872126c02235b0afbad858ad9a2ee3c3 | /plot4.R | 2c01a828a3c91e2b3bc47a6037b44dff3866da08 | [] | no_license | drmallan/ExData_Plotting1 | 5098be3e7d3b5c27784b68ae836de8b23aae0ea7 | e57757e163346920216695f62c7263192d1d31e2 | refs/heads/master | 2021-01-18T08:17:40.841354 | 2015-08-09T10:59:50 | 2015-08-09T11:05:57 | 40,405,538 | 0 | 0 | null | 2015-08-08T14:34:35 | 2015-08-08T14:34:35 | null | UTF-8 | R | false | false | 993 | r | plot4.R | x <- read.table("household_power_consumption.txt",sep=";",header = TRUE,stringsAsFactors=FALSE)
# Subset the two dates of interest
y <- subset(x,Date=="1/2/2007" | Date=="2/2/2007")
# Combine date and time variables
y$Combined <- strptime(paste(y$Date, y$Time),"%d/%m/%Y %H:%M:%S")
par(mfrow=c(2,2))
# Plot four char... |
375f926b3bacc3b213cc57fa0d8f04a1904d01a6 | 2a6de67ff224d8f0be975a190cfd1415cecafe3e | /R/lubridate.R | 12d9ddaeddd00dd7b6e69747df521e1ea8da4468 | [] | no_license | RupeshMohan/R_Program | 76c0ee5c8450c32de814139438da916d437596f8 | aa7ba715e251b4b790a76fa27771d28d3932d85d | refs/heads/master | 2020-04-02T12:43:11.119233 | 2018-10-25T05:04:40 | 2018-10-25T05:04:40 | 154,447,945 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 291 | r | lubridate.R | require(lubridate)
now() # current Time
update(now(),year=2015,month=5) # Modify dates
# ADD TIME DATE DAY YEAR
now()+ddays(2)
now()+dyears(2)
now()+dminutes(45)
now()+dweeks(4)
now()+dhours(4)
now()+dseconds(47852)
# EXtract data
date(now())
minute(now())
year(now())
second(now())
|
de486d5addf25e96ce436ce262872df646ba8ae2 | 88795fcefdd51b2228f8d59d3ac704516872732b | /man/getZifNetwork.Rd | 26aadf36083f676f3b04d0b9bd37731575c4afd7 | [] | no_license | amcdavid/SingleCellAnalysis | 58eb070174dffa8a290556440894823ce9c78b08 | 54cb0bb77a219953d276ef6f3c18fe555c674440 | refs/heads/master | 2016-09-09T20:10:46.954250 | 2014-07-14T21:13:21 | 2014-07-14T21:13:21 | 13,047,205 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 827 | rd | getZifNetwork.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{getZifNetwork}
\alias{getZifNetwork}
\title{Put coefficients from a set of network regressions into a matrix/array}
\usage{
getZifNetwork(listOfFits, l.c, l.d, collapse = FALSE, union = TRUE, layers)
}
\arguments{
\item{listOfFits}{output from fitZifNetwork}
\... |
9f6b37acf6d00d28a74d039474118d211e99e523 | 607c7b6b3f4f75734aa0254b4bb60aa88db64abe | /man/wea.Rd | a968f4575f644e14d7afb725838fc055340b1edc | [] | no_license | quantide/qdata | ef912b7839bcc987b4a57bb8ec7680a5e488a523 | 38b09e3feb735aec9d938d023595a8f3587a1b6e | refs/heads/master | 2021-01-12T18:14:05.939900 | 2017-01-26T11:24:54 | 2017-01-26T11:24:54 | 71,345,165 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,434 | rd | wea.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/qdata-data.R
\name{wea}
\alias{wea}
\title{Weather Daily Data in Canberra}
\format{\code{wea} is a tbl data frame with 366 observations on 24 variables.}
\usage{
data(wea)
}
\description{
The \code{wea} data deals with weather daily data (tem... |
93e53f363456bae21bd2706f850f8dcdd700494f | 6c2174723cc610eeff9b6b060c240b2bad7c78e7 | /ShinyLeaflet/ui.R | b9bd0715da6f3215c94b27e89f54549a36f41dfa | [] | no_license | tsdaemon/lviv_criminal_map | 83ebd09b803793c6d2a597e442def03bd3da83f3 | d95c2d03b871817ebd5a980bdcbf851dd37ffa83 | refs/heads/master | 2021-01-19T10:29:02.429742 | 2017-04-11T00:46:42 | 2017-04-11T00:46:42 | 87,871,001 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,762 | r | ui.R | library(leaflet)
library(leaflet.extras)
presentation_vals <- c("Точки" = "dots",
"Heat map" = "heatmap",
"По районах" = "bydistrict")
type_vals <- c("Усі" = "all",
"Крадіжки" = "theft",
"Пограбування" = "robbery",
"Шахрайства" = "fraud")
... |
e2c7cd256abd696d9cbcec084da28d9202ec1e9b | c842bcf306bccc2bb4f1b1aa1c6788a2f70f8be6 | /hzarscript_loop.R | 3dc88182bc44f4abd465c12cc4fa4d4672f03e93 | [] | no_license | kiralong/HZAR_pipeline | 243deb98b4bc746496dafdc462e0bad994aec59b | ff87417a2cfd98b92f68fe901f6e44312e9819e6 | refs/heads/main | 2023-05-02T15:53:44.644401 | 2021-05-25T17:52:56 | 2021-05-25T17:52:56 | 369,340,067 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,019 | r | hzarscript_loop.R | #!/usr/bin/env Rscript
# May 6th, 2021
## Load the packages
library(hzar)
library(scales)
# Set working directory
setwd("/your/working/directory")
# set the name of you SNP ID file
# This is a list of just the locus IDs and chromosome coordinates to tell hzar what to loop over.
# These are the first 4 columns of the... |
1c85607e520e5b0d1b6f906211db28e72b718806 | 129735feaf576bdcdffbe5d65d6085473ca64eab | /man/threshold.Rd | 20a89a59ac8a20a6e7a719f68f0de4ca85dffc05 | [] | no_license | zhaoyizhuang/constructnet | ce3eef8a0bc482838557a92d8c3e6606ade703a7 | d12faab50d7ea1a6c0a6844cd486fca7746138c7 | refs/heads/master | 2023-04-23T22:38:26.315714 | 2021-02-18T22:28:56 | 2021-02-18T22:28:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 448 | rd | threshold.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/threshold.R
\name{threshold}
\alias{threshold}
\title{Utilities for thresholding matrices based on different criteria}
\usage{
threshold(mat, rule, ...)
}
\arguments{
\item{mat}{input matrix}
\item{rule}{A string indicating which thresholdin... |
3de635a27dd61b464e3d288e552ff67d1516eef6 | 802fdba8cad732ff1f8a899e6d018e8db51c4477 | /Analysis/Climwin/Correlations/Autocorrelations.R | 3d8a6312bca091bafcb3c9ec76c7ba3ebdad4726 | [] | no_license | SanneE1/Climate-windows | f5083f6dadf2dbc2e130362f8776c169a822eab2 | dc34ae591b8d971813b15439cf519ba2f5bc6c15 | refs/heads/master | 2023-03-14T10:33:25.991001 | 2021-02-26T10:29:12 | 2021-02-26T10:29:12 | 205,806,524 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,397 | r | Autocorrelations.R | # Calculate climate (auto)correlation of the selected climate driver
library(lme4)
library(climwin)
library(plyr); library(dplyr)
library(lubridate)
library(patchwork)
source("Results/Load_Climwin_results.R") # centralized script to load rds object, and selected climate drivers
source("Analysis/Climwin/Correlations/r... |
5c361ceeba4806e964eeb421718cd07a05bff137 | b7fb7358b25dfb0e064a59fdd444e682cfb2361e | /R_Projects/ML_in_R_KaggleTut.R | 43b8d881d404ff713f30505279b60e2aaa0a781f | [] | no_license | KMitzner9/Data_Science | bc5cb965a0f0550d64313454e8d5c4ad73fb86cc | 3ab332a155a284e5cd5db12dea0b4768285c8adf | refs/heads/main | 2023-02-07T18:16:45.289615 | 2020-12-17T22:30:37 | 2020-12-17T22:30:37 | 307,819,316 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,473 | r | ML_in_R_KaggleTut.R | #############################
### MACHINE LEARNING IN R ###
#############################
library(tidyverse)
library(reshape2)
housing = read.csv('housing.csv')
head(housing)
#check the summary to make sure #s are #s and categoricals are categoricals
summary(housing)
### from this we can see...
# NAs in total_bedroo... |
8edc23e9db24f55e4d50881a25e772996f94bd74 | d94045abbe4f33599d543543c00ccd2c70a11d7d | /time_calculations.R | 6f0ed5836f7decb26ef8b967eff88a0dec0554d1 | [] | no_license | mrdevlar/ga_benchmark | ecc4d12470c1028adb8e6fb3debccb17b0a40a32 | 5d57fba75b90035b92b6ced05fc854d6e29ab183 | refs/heads/master | 2016-09-02T03:43:25.677044 | 2015-08-04T11:43:18 | 2015-08-04T11:43:18 | 40,181,206 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,212 | r | time_calculations.R | library(readr)
library(stringr)
library(stringi)
eurotours = list.files("euro_tour/")
length(eurotours)
output = data.frame(t(rep(NA, 5)))
names(output) = c("Type", "Mean", "SD", "Median", "MAD")
for(tour in eurotours){
pat1 = "(?<=_)(rw|to)"
pat2 = "(?<=_)(cx|ox|pbx|pmx)"
pat3 = "(?<=_)(dm|ism|scr|sim|sw)"
... |
d333ab7dcf11f5a45586392b708f3c4e9480f0b7 | c88e57b9d63063691748bf0085762e8f271bd473 | /1_R_objects/3_Matrices/3_basic_matrix_operations.R | b1bf47a608bbdb6f68ede5e77c591d233deb1836 | [] | no_license | officialPrasanta/R_basics | 8f7f7c25ce9d326a19ca4f9df6455f0d7e115b34 | 95058eb1d16de0f1dc6f08d8a1a4e6eecf78f70f | refs/heads/master | 2023-06-02T06:06:15.389065 | 2021-06-14T00:27:27 | 2021-06-14T00:27:27 | 369,820,636 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 673 | r | 3_basic_matrix_operations.R | # matrix 1
mat1 = matrix(data=c(1:9), nrow=3, byrow=TRUE)
#matrix 2
mat2 = matrix(data=c(5:13), nrow=3, byrow=TRUE)
print(mat1)
print(mat2)
# addition of two matrices
cat("\nAddition:\n")
add_mat = mat1 + mat2
print(add_mat)
# subtraction of two matrices
sub_mat = mat2 - mat1
cat("\nSubtraction:\n")
print(sub_mat)
... |
f5cdb4d44b24054cc3bde274fc7c477077537c4d | 52586df6b1df22e19750306185ee69a7b09abf42 | /ISAEM/pk-pd/pk100/isaem_pk_simulated.R | ddf2c3aa6ad6797da2388f5b19eae8e7935fd5f7 | [] | no_license | BelhalK/AccelerationTrainingAlgorithms | 5d1390f5a5cb6f24f59f2c06073040056014aa64 | 0cc5f4405ad103f704cd7c6259762a66fb6bf37f | refs/heads/master | 2023-07-25T02:28:38.095277 | 2020-10-30T09:14:28 | 2020-10-30T09:14:28 | 94,530,148 | 0 | 0 | null | 2023-07-06T21:20:14 | 2017-06-16T09:46:26 | Jupyter Notebook | UTF-8 | R | false | false | 7,478 | r | isaem_pk_simulated.R | ####20 CHAINS
# load("warfa_isaem.RData")
# load("Rdata/pk100_1chain.RData")
# load("Rdata/pk100_10chains.RData")
# load("Rdata/pk100_20chains.RData")
source('R/aaa_generics.R')
source('R/compute_LL.R')
source('R/func_aux.R')
source('R/func_distcond.R')
source('R/func_FIM.R')
source('R/func_plots.R')
source('R/f... |
852df0ea3ff05e0a7aec4da37332a03fb35de33a | 29585dff702209dd446c0ab52ceea046c58e384e | /Biograph/R/cmc_as_age.R | 0129580637b2245e48aa645e9eebffc1a4060df8 | [] | 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 | 1,183 | r | cmc_as_age.R | cmc_as_age <-
function (x,born,format.born)
{ # Decimal year
if (is.character(x)) x<- as.numeric(x)
if (!is.numeric(x))
{ print ("WARNING in cmc.as.age: cmc is not numeric")
if (is.character(x)) x <- as.numeric(x) else print ("ERROR in cmc.as.age: cmc not numeric and not character.")
}
if (missin... |
be169d3562d5a0b8e8145feb45bbb007c569e31b | 8893ba18785558773985e5dcf2049ddc01375e6b | /R/PCscoresCorr.R | 369634613385396059f1a2ac0b5cf1eed32e9d0d | [] | no_license | cran/Arothron | a122b82cdfc75dc2be94115917c24c228445c8cd | 79c614f1b17f54a72648fbcd4d924907a768f755 | refs/heads/master | 2023-02-07T17:29:56.204584 | 2023-02-01T11:40:08 | 2023-02-01T11:40:08 | 127,958,255 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 986 | r | PCscoresCorr.R | #' PCscoresCorr
#' Perform a correlation test between two matrices of PCscores
#' @param matrix1 matrix: first set of PC scores
#' @param matrix2 matrix: second set of PC scores
#' @param nPCs numeric vector: specify which PC scores will be selected in the correlation test
#' @return corr the correlation values ... |
12ef7bcb7421bbf31eaa1f37abfa68798a210997 | aa3c74e4fd4c3865dc102e8b1324d6d9aa43a26d | /man/get_friends.Rd | 142c8cf69b2c5462c6cdeacc71b4a8c8b46352cb | [] | no_license | mkearney/rtw | 9b38f4282b4f61e4347cbcdbe53ac20ae5fb63cc | 2e113bd17a5fe100cac9b39b0b7d7fde4484807c | refs/heads/main | 2023-08-25T14:40:24.091921 | 2021-11-05T18:06:02 | 2021-11-05T18:06:02 | 420,239,950 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,428 | rd | get_friends.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/friends.R
\name{get_friends}
\alias{get_friends}
\title{Get user IDs of accounts followed by target user(s).}
\usage{
get_friends(
users,
n = 5000,
retryonratelimit = FALSE,
page = "-1",
parse = TRUE,
verbose = TRUE,
token = NUL... |
05b105af58c781e4db87f495b72e9b245c73e52f | 08fca79285da60dd56b2ae7bea2cace36d3476ba | /Fig4_radarCharts.R | 351687aa0e9e1e04fb5f2625e14f7391232dab87 | [
"MIT"
] | permissive | artyomovlab/ImmGenOpenSource | f72503b7ef524566616955646f968621afae9b5d | 91d6dbd4c2b14c482b7fcb00e80bbdfbe732a44c | refs/heads/master | 2023-01-10T00:02:02.629669 | 2022-12-29T16:01:53 | 2022-12-29T16:01:53 | 227,374,383 | 1 | 0 | MIT | 2020-01-14T23:34:00 | 2019-12-11T13:38:44 | R | UTF-8 | R | false | false | 2,871 | r | Fig4_radarCharts.R | library(tidyverse)
load("Data/eyegene.rda")
anno <- read_csv("Data/anno.csv")
df <- eyegene %>% as_tibble()
# Glimpse on annotation
anno %>%
count(value) %>%
arrange(desc(n))
# Calculate per-module statistics
stats <- df %>%
mutate(module = row_number()) %>%
gather('sample', 'value', -module) %>%
group_by(m... |
4010d44120ca09042f4fad02c4ea354d4d533359 | 257d3d8444e6994288e5c6cb29f9f5e00a4e7ac4 | /GEMRegress.R | aab68be496c5f6243af1c7ffc61036ea08236560 | [] | no_license | kennawayjic/Boleracea-AssociativeTranscriptomics | 251d4bd95ac718cf8724853205d819795a2c47eb | 8cd9347f770431a39d498b81fc23fe4681abb291 | refs/heads/main | 2023-02-27T21:48:25.925237 | 2021-01-27T18:50:44 | 2021-01-27T18:50:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,568 | r | GEMRegress.R | require('data.table')
## Read in delimited file with sequence identifiers and trait values
traitDataFile <- tcltk::tk_choose.files(default = "", caption = "Please select one trait data file")
traitData <- read.delim(traitDataFile, header=TRUE, row.names=1, check.names = FALSE, na.strings = "-999") ## -999 is TASSEL ou... |
d6ef5e9446de7b3d77331d10ca9a82a32e7c0d6a | 3f38270d8200ab51a3772dad33365801205bf20f | /scripts/S2-ejercicios.R | daafdc097041bf038dc0b13af9ce77ed3a96fd27 | [] | no_license | Songeo/introduccion-r-material | 18b1d0cca7a9c6aa2441ad13d25e3fd748bdb460 | 9835d62aeb0655cac11c02bbcf65345c32f845a5 | refs/heads/master | 2021-07-10T11:20:13.959415 | 2017-10-05T23:31:00 | 2017-10-05T23:31:00 | 103,583,018 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,918 | r | S2-ejercicios.R |
## Ejercicios ##
# Tipo de datos ----
### Ej: Hidden Figures IMDB ----
# Usando los siguientes objetos crea una lista
# de tres elementos con nombres: director, stars y reviews.
director_hf <- "Theodore Melfi"
stars_hf <- c( "Taraji P. Henson", "Octavia Spencer", "Janelle Monáe",
"Kirsten Duns... |
faf47106b6d603ade250f04d2cc9f90524fd2451 | 28a0104f0da7b827d0244bdf9e515b9402691115 | /R/TransToMax.R | 1a56edecd69db4946b59d0506f8f4f074537b027 | [
"MIT"
] | permissive | alastair-JL/StochasticCIB | 12176530d810659f9501b16a00a1d0d0caef22e6 | 0e442d14f58e38dd7d66f3ee527f7c069c908bd5 | refs/heads/master | 2023-07-25T06:32:52.467223 | 2023-07-08T01:48:36 | 2023-07-08T01:48:36 | 43,457,903 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,956 | r | TransToMax.R | #' TransToMax
#'
#' A transition matrix function, whereby given the current worldstate, we always transition directly to the world state with the highest possible score.
#' @keywords CIB
#' @export
#' @param TheList a list containing the CIB matrix, and a "shape" vector. The output of \code{\link{InputCibBanner}} is a... |
67cbf68064d0b245e672f67398a76243995590ec | 24fd48d0c97178697813037b986aad8987b48e55 | /man/EBlassoNEG.BinomialCV.Rd | ca1321052896956523c755049c8f6b8db19ec202 | [] | no_license | cran/EBEN | 0e240e19e87af74e38e9b4d7010bb80a3b4c0d92 | a43e993c25f14365e496e266f2b79e57d0dc3c9c | refs/heads/master | 2023-06-07T12:51:46.551941 | 2023-05-29T15:40:02 | 2023-05-29T15:40:02 | 20,628,286 | 0 | 2 | null | 2015-11-17T04:19:07 | 2014-06-08T22:44:34 | C | UTF-8 | R | false | false | 2,768 | rd | EBlassoNEG.BinomialCV.Rd | \name{EBlassoNEG.BinomialCV}
\alias{EBlassoNEG.BinomialCV}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Cross Validation (CV) Function to Determine Hyperparameters of the EBlasso Algorithm for Binomial Model with Normal-Exponential-Gamma (NEG) Prior Distribution}
\description{Hyperparameters co... |
9752c00885af6114037e37e62d30043327e6009b | 18d354c010e185fd8abc1ebaf8b5e2b8d2bbd49d | /script.R | ea1762bd22166479eba73cfe45e6e0576f5600ad | [] | no_license | shrutijalewar/tidyverse-workshop-alexander-poon-evanplancaster | 2a94cf37f1b448d37ed919a00a9ef0979daf3e32 | 6b7721410a218b2dd5db5d8691f801cf47351de6 | refs/heads/master | 2020-03-22T13:27:05.464664 | 2018-01-08T15:14:57 | 2018-01-08T15:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,322 | r | script.R |
library(tidyverse)
ach_profile <- read_csv("data/achievement_profile_data_with_CORE.csv")
## Exercise 1
# Use filter() to find the number of districts with a 100% Algebra I proficiency rate.
ach_profile %>%
filter(AlgI == 100) %>%
count()
## Exercise 2
# Create a new variable called `math_achievement` with... |
48a9c2ff08aa8180c213d0b3d5f10e838b657bf5 | 8403b972f889cea691634290304d86e073cc6af7 | /SDM I - HW3/P2.R | c601ad416538cbd28ec2efcecb78c9880dfb3c1c | [] | no_license | rohithx/statistical-data-mining | 6f1867ae3a7bb39ed52aa7d85251131c6a570339 | 378fdfe59b5c16bfa1b180bd43dcb7bab5cb2b7e | refs/heads/main | 2023-05-13T12:48:52.897500 | 2021-06-07T21:24:05 | 2021-06-07T21:24:05 | 373,328,031 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,113 | r | P2.R | # Writte by Rohith
rm(list =ls())
set.seed(1234)
library(tidyverse)
library(leaps)
gen_data <- data.frame(replicate(20, rnorm(n = 1000)))
gen_data %>% reduce(function(y, x) y + ifelse(runif(1) < 0.4, rnorm(1, mean = 2, sd = 1), 0)*x + rnorm(1000)) -> gen_data.Y
train_gen <- gen_data[1:800,]
test_gen <- ... |
5b59b863ffd9d3a38088ef99ecf255c543f9a934 | ecb273a343a5e98bc65673cbc48c32d9ecdb545d | /Exercises/Exerciseset1/dataSet1.R | 48b2a1fcf56bdb7f3208499bdf776696b2565050 | [
"MIT"
] | permissive | InseadDataAnalytics/INSEADAnalytics | 703655246d9db4b6d9d08301b4be4d3a3d81cf46 | 0e602d5332e2b3fb7dc157473092315957b9bc3d | refs/heads/master | 2023-05-25T06:53:48.650028 | 2023-01-28T16:57:01 | 2023-01-28T16:57:01 | 15,819,896 | 118 | 1,258 | MIT | 2021-02-01T14:53:11 | 2014-01-11T09:18:52 | HTML | UTF-8 | R | false | false | 2,222 | r | dataSet1.R |
# rm(list=ls()) # Clean up the memory, if we want to rerun from scratch
# source("helpersSet1.R")
getdata.fromscratch = 1
website_used = "yahoo" # can be "yahoo" or other ( see help(getSymbols) ). Depending on the website we may need to change the stock tickers' representation
mytickers = c("SPY", "AAPL") # Other t... |
9d098293abb32ad1a237bc77541ffec608e38048 | 971c89f0dab0f9c37ca4167cc80db428b0e985d9 | /tsHydro/man/get.TS.Rd | 0a570e48c38b808aa6b0ea5c60eb4ef658883746 | [
"BSD-2-Clause"
] | permissive | JiangNguyen/tshydro | a75fe50061fb7f014d3df4a7ddf9e8154e13998f | 4da7123ed9c4b9dbbe073fe14b9bf860f674562c | refs/heads/master | 2023-04-05T06:59:59.643516 | 2021-04-12T13:56:00 | 2021-04-12T13:56:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,112 | rd | get.TS.Rd | \name{get.TS}
\alias{get.TS}
\title{
get.TS
}
\description{
Estimate the model parameters and return the estimated water levels
}
\usage{
get.TS(dat, init.logsigmarw = 0, init.logSigma = 10, init.logit =
log(0.3/(1 - 0.3)), priorHeight=numeric(0), priorSd=numeric(0), estP = FALSE, weights=rep(1,nrow(dat)))
}
\argument... |
24de8f680ab4e0173c0fce5051c7d083d45cd2bd | 1aabda4705950adef05004648a5212b3562fd9ee | /dataExploration.R | ca37ed42a5070b455912bfa2631d4fb62bb38375 | [] | no_license | longyap/r_code_dumpster.tm | ffcc7081be2cdc4c440f509bacf663823c051d34 | d791507b844e2fd2e05f61341f48ba91c61025bc | refs/heads/master | 2023-04-24T14:40:45.008198 | 2021-05-14T16:05:17 | 2021-05-14T16:05:17 | 367,414,700 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,448 | r | dataExploration.R |
install.packages("ggplot2")
library(ggplot2)
#readfile
sample_data = read.csv("C:\\Users\\long1\\Documents\\year2\\sem1\\pfda\\tutorial_note\\IRIS.csv",header=FALSE)
sample_data
#assigne header
names(sample_data) = c("SEPAL_LENGTH","SEPAL_WIDTH","PETAL_LENGTH","PETAL_WIDTH","SPECIES")
sample_data
#different v... |
0aaf76c23af929c0344c02bbc741fe7bddc05742 | 35e0fb388c1fab0bbf6579c15257672939470d97 | /man/getPolyhedraRDSPath.Rd | 9b9e5565ba7aa4130f3bda50e7df017d44a670eb | [
"MIT"
] | permissive | leobelen/Rpolyhedra | 714ae1602a8f39fa3e0adaa9b7cf1926c056aae2 | 5b71cd56f0c4f5e6ba0c08e2823aa210e512c3b4 | refs/heads/master | 2021-07-18T00:20:43.627171 | 2017-10-26T15:41:35 | 2017-10-26T15:41:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 391 | rd | getPolyhedraRDSPath.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/polyhedra-lib.R
\name{getPolyhedraRDSPath}
\alias{getPolyhedraRDSPath}
\title{Get the path of Polyhedra RDS file}
\usage{
getPolyhedraRDSPath(polyhedra.rds.filename = "polyhedra.RDS")
}
\arguments{
\item{polyhedra.rds.filename}{filename of po... |
eab18bb7aa4905809a9f4b858588e155733ac859 | d31dba836cff6c972ecc435a46d1878e0ece3b7e | /plot1.R | c8c0b6b87a3932aef6c3f299112ce1d01f7c3a0c | [] | no_license | lukasmeyeruk/ExData_Plotting1 | 968831ab7a09ae23a2349493c8998322cf8ce544 | 5a3cce5292c2f20faca37743bf8331523536032a | refs/heads/master | 2021-01-19T23:41:17.864110 | 2017-04-21T19:52:44 | 2017-04-21T19:52:44 | 89,018,604 | 0 | 0 | null | 2017-04-21T19:49:52 | 2017-04-21T19:49:52 | null | UTF-8 | R | false | false | 422 | r | plot1.R | data <- read.delim('./household_power_consumption.txt', header = TRUE, sep = ";", na.strings='?')
data$Date <- as.Date(data$Date, "%d/%m/%Y")
data$Time <- strptime(data$Time, "%H:%M:%S")
data_sub <- data[data$Date >= as.Date('2007-02-01') & data$Date <= as.Date('2007-02-02'),]
png('plot1.png')
hist(data_sub$Global_act... |
0493d5909b316efefa3ce60cd2fd943584c965f0 | 9bca0860c54b3a3b444861b75f09eae6d8b1cbf7 | /network_meta.R | bcb4205eec4d24547057749a09e06bc504edeb78 | [] | no_license | lizhengxiao/GammaMDN | c38a1ce373824d1cce909806a8e88d0ef5b59242 | f7eba6b6c9202bfa3d4db7459b05d5fc6662f6e6 | refs/heads/main | 2023-04-10T22:25:05.954562 | 2021-04-14T18:46:11 | 2021-04-14T18:46:11 | null | 0 | 0 | null | null | null | null | ISO-8859-13 | R | false | false | 3,553 | r | network_meta.R |
#--------------------------------------------------------------------------------------------------------------------
#META MODEL FOR GAMMA MDN
#Construct NN to replicate the model achieved with EM_NB
#-------------------------------------------------------------------------------------------------------------... |
599456bf973ca4fd3d5fc46b111c667bdc40a469 | d4d39f004037e46943a26e5a552be326257bbb04 | /GeneNetworkModels/Dro-ASC-6d/Input/002/Initial.R | 1416d8bf62bc7ecc007ddbe0cf43eb055ef6de57 | [
"MIT"
] | permissive | CyclicDynamicalSystems/DynamicalSystemsPortraits | 646a64774a41fb0dc7a35774eaa11db0f6ae42e5 | e78b4ffad52dfb03ea5ab027491f73d027fff838 | refs/heads/master | 2021-01-12T19:52:59.939844 | 2014-06-22T15:09:42 | 2014-06-22T15:09:42 | 15,503,465 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 606 | r | Initial.R | set.seed(1)
start.count <- 6
start <- matrix(
c(0.10,0.37,0.57,0.90,0.20,0.89,
0.28,0.50,0.50,0.06,0.20,0.17,
0.30,0.90,1.50,0.49,0.71,0.99,
0.50,0.77,0.93,0.21,0.65,0.12,
0.80,0.38,0.01,3.00,0.86,0.34,
0.90,0.69,0.47,3.50,0.43,0.24),
byrow = T, ncol = var.count,
dimnames = list(paste0("t", 1... |
7586e8b41249776af461c4ccdd891c76c1982fdb | 36abeb2414c800ade2ef75967b1344baca73f3b1 | /man/utility.aggregate.bonusmalus.Rd | 543baeea74a70deaa9abeb7f3e163ae85accdfa3 | [] | no_license | cran/utility | e4461d22df7442932322dbf1070cc81ab3d028d1 | cb7286d065e84de998b046670e22b0ec5d415c4d | refs/heads/master | 2021-03-12T23:16:23.266301 | 2020-03-09T09:00:02 | 2020-03-09T09:00:02 | 17,700,709 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,452 | rd | utility.aggregate.bonusmalus.Rd | \name{utility.aggregate.bonusmalus}
\alias{utility.aggregate.bonusmalus}
\title{Bonus-malus aggregation of values or utilities}
\description{
Function to perform an aggregation of valus or utilities that considers some of the
inputs only as bonus (only considered if value is larger then the aggregated value... |
999796bff5695e0e8e747ee82f92a59f1e8a0500 | 5567e79bdc5f5ae037fe310849e60f6b681e3092 | /man/util_plotTheme.Rd | 54c3fe4b67c057245b297b4e83d7f8adbd6ca2a9 | [] | no_license | IanMadlenya/PortfolioEffectHFT | baf63cd36761d50ccbb74fdb1e7937054aadb355 | 4bf854cc3858a822bf75fa1c03ffe00aa47165d5 | refs/heads/master | 2020-12-30T15:55:13.066226 | 2017-03-24T18:54:25 | 2017-03-24T18:54:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,176 | rd | util_plotTheme.Rd | \name{util_plotTheme}
\alias{util_plotTheme}
\title{Plot style settings for PortfolioEffect theme}
\usage{util_plotTheme(base_size = 10,
base_family = "sans",
horizontal = TRUE,
dkpanel = FALSE,
bw = FALSE,
axis.text.size=1.5,
title.size=2,
has.subtitle = FALSE)
}
\arguments{
\item{base_size}{Base fo... |
50dec6a4489444a466128336bca40bd16aa61e6b | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /corpustools/R/search_contexts.r | b12e09d74ef1a789b1a6783b14d641e07f310fc4 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 9,261 | r | search_contexts.r |
#' Subset tCorpus token data using a query
#'
#' @description
#' A convenience function that searches for contexts (documents, sentences), and uses the results to \link[=subset]{subset} the tCorpus token data.
#'
#' See the documentation for \link[=search_contexts]{search_contexts} for an explanation of the query lan... |
69f2b851d79c4a6d6bbc0af2e5d5e4b88d718176 | dcad712069df1b69d480476ef394d951f113ef86 | /man/drawBoxplot.Rd | 07feca2e178644507fc8c9b066c3f05e3a140e52 | [
"MIT"
] | permissive | KWB-R/kwb.plot | d0b174e827a8f0fbf13813aa0619b086aa37866d | 6bb6137844431139c7574c4e9bec31be98aca1d1 | refs/heads/master | 2023-06-24T08:14:29.077416 | 2022-06-09T18:37:39 | 2022-06-09T18:37:39 | 100,889,917 | 0 | 0 | MIT | 2023-06-16T03:10:28 | 2017-08-20T21:33:31 | R | UTF-8 | R | false | true | 1,200 | rd | drawBoxplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/main.R
\name{drawBoxplot}
\alias{drawBoxplot}
\title{Draw Boxplot Icon}
\usage{
drawBoxplot(
centre.x,
centre.y,
boxwidth.cm = 1,
boxheight.cm = boxwidth.cm,
whisker.cm = boxheight.cm
)
}
\arguments{
\item{centre.x}{x coordinate in ... |
e5a6df31237caa804524d17ef1e22d4787842489 | 84af420719d4a303fc741025aa6b76a472ac32c7 | /ExpressionGSEA/02_Run_ssGSEA_Metabolic_Pathways.R | 7197b5ca4a1002191dac20eb6434a100161a5da5 | [] | no_license | YingXu-FDU/MetabolicDependencies | 50d17cde039d0ad5803cdc47831b46472b44119a | cce3f2aee333c1364df3c911577781bd158975da | refs/heads/main | 2022-12-19T23:04:18.824889 | 2020-10-21T20:57:16 | 2020-10-21T20:57:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,794 | r | 02_Run_ssGSEA_Metabolic_Pathways.R | rm(list = ls())
setwd("/.../Data/")
all_data_in <- data.table::fread(file = "CCLE_expression_19Q4.csv", header=T, sep = ",")
cell_line_info <- read.csv(file = "sample_info.csv", header = T)
all_pathways <- GSA::GSA.read.gmt("KEGG_metabolic_pathways.gmt")
## Change CCLE gene names to match Gene ID
genes <- colnames(... |
cff4079c5bd80b26671eefd97d8c8b4bd268d2fc | ea31432bb67f7c13ea16b8f1e3e5f9c4c4f45f35 | /maize.R | a95e91ebeb338c1bd4791d996b8e627152abe8b3 | [] | no_license | kartikkwatra/profitabilityAnalysis | 11ddae49031954b9186a40d7f9aa42c38987b797 | c3f9f7cd58a0bdc6d2ebd3e406934c2a4bf5a510 | refs/heads/master | 2020-03-23T03:45:35.544838 | 2018-07-22T16:13:12 | 2018-07-22T16:13:12 | 141,047,388 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,642 | r | maize.R | # maize Everything
library(tidyverse)
library(rvest)
library(lubridate)
# Get the data from file
maizeCost <- readxl::read_xlsx("kharif.xlsx",sheet = "maize" )
unique(maizeCost$State)
# Getting the prices from file
maizePrices <- data.frame()
cropName <- c("Maize")
monthList <- c('September', 'October', 'November', '... |
81b3568203580df4fea736a44e4f3a909ef0d62a | 31d2d467030565c44f4d28d42c0e4d225dececaa | /R/scoregpcm.R | aa59af45a814c4a4d5e532dc481a7ffc780c168d | [] | no_license | cran/ltm | 84fd858915db9fe1506a40628f61e6500a21ed1c | dbbabfa99fa09ad94113856a6a5ae1535e7b817f | refs/heads/master | 2022-02-25T01:10:01.747125 | 2022-02-18T08:40:02 | 2022-02-18T08:40:02 | 17,697,218 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 2,693 | r | scoregpcm.R | scoregpcm <-
function (thetas, constraint) {
betas <- betas.gpcm(thetas, p, ncatg, constraint)
eta <- eta1 <- log.crf <- num <- den <- vector("list", p)
log.p.xz <- matrix(0, nfreqs, length(Z))
na.ind <- is.na(X)
for (j in 1:p) {
bt <- betas[[j]]
nbt <- length(bt)
et... |
935c8123f983a67d42b3818278d3bf4fe6f6a73b | 6e3587f9cbe1c5c963252f58c579c101a8037d88 | /man/cacheBinomConfIntervals.Rd | dfe1053c97bc33d6d01817f984eaa31dafebe3aa | [] | no_license | databio/epihet | b628b87ac44d93df22890b61c5020237a962e9b1 | e7c0e4d667ec6c31d2d26752b1168ed45aa259aa | refs/heads/master | 2021-03-19T14:57:00.981488 | 2018-02-26T14:10:41 | 2018-02-26T14:10:41 | 84,873,955 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 931 | rd | cacheBinomConfIntervals.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/intervals.R
\name{cacheBinomConfIntervals}
\alias{cacheBinomConfIntervals}
\title{Cache binomial confidence intervals}
\usage{
cacheBinomConfIntervals(maxHits, maxTotal, confLevel)
}
\arguments{
\item{maxHits}{Maximum methylation count}
\ite... |
0b7ae10b23b08b7009941b9f6c2811f8c92754e8 | 3d563bfe96346c3cc46f0752ef3972bf0229a39d | /R/sequence_onehot.R | cd17cc81789a8b36ad1b4d48ff3c9604526f5195 | [
"MIT"
] | permissive | jonthegeek/textrecipes | d65542344397c6392060919c7353ed4c2540df2c | a3e93d1aa528c77261a52aea7b88963e6ec5c90c | refs/heads/master | 2021-08-22T21:27:46.664125 | 2021-06-12T18:55:17 | 2021-06-12T18:55:17 | 336,397,454 | 1 | 0 | NOASSERTION | 2021-02-05T21:51:39 | 2021-02-05T21:51:38 | null | UTF-8 | R | false | false | 7,980 | r | sequence_onehot.R | #' Generate the basic set of text features
#'
#' `step_sequence_onehot` creates a *specification* of a recipe step that
#' will take a string and do one hot encoding for each character by position.
#'
#' @param recipe A recipe object. The step will be added to the
#' sequence of operations for this recipe.
#' @param... |
c4c9b7d6da8b023f8b51f7497b2fc581939175b7 | e08424eb7743323f470775d2cedb893d9d2080db | /package/analogues/R/loadData.R | a7d7c06aec859e6430cae9b81f3047632fd704b8 | [] | no_license | neojavan/ccafs-analogues | 9ea474537aa5f7e351b163ca27920df9b3240634 | 5faed60c61c3d44d642c76e4ca0f15700175ae22 | refs/heads/master | 2020-05-30T14:53:52.302986 | 2012-04-26T12:47:19 | 2012-04-26T12:47:19 | 39,160,381 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 852 | r | loadData.R | #' Load data for the dissimilarity calculations
#'
#' This functions loads the dissimilarity data.
#'
#' @param params an object of the class AnalogueParameters
#' @keywords manip
#' @return an object of AnalogueTraining
#' @export
#' @examples
#' ccafs_params <- createParams(x, z, )
loadData <- function(pa... |
8aab2750e5fbb40e4bf85244090328ca0ef0925b | 14bf52cde8bcee1d261e94576ddbbf4698677904 | /Machine Learning/Methods/CV_RF.R | efc49ef4bb0bcfd848da805e4299d75d111f62b0 | [] | no_license | K-Schubert/R | 4b7e3a7d7b4587ec0e886a5bef9587aeebdb4dac | 808679acdda177906b09ecf3d85c876cd0f19739 | refs/heads/master | 2020-04-15T11:25:00.828413 | 2019-07-01T08:15:06 | 2019-07-01T08:15:06 | 164,628,874 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,376 | r | CV_RF.R |
set.seed(42)
k <- 10
cv <- function(trn, k){
trn_shuffled <- trn[sample(nrow(trn)),]
folds <- cut(seq(1,nrow(trn_shuffled)),breaks=k,labels=FALSE)
CV_MSE <- rep(0, 22)
SE <- rep(0, 22)
h <- 0
for (m in seq(5, ncol(trn)-1, by=5)){
h <- h + 1
MSE <- rep(0, k)
for (i in 1:k){
test_ind <... |
e9fb1af4db7c1a351224db9b64c7694dd2c953a8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/BayesS5/examples/S5_parallel.Rd.R | ea4676aa893d8c03b8b632190c38fce7b9c0f606 | [] | 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 | 2,032 | r | S5_parallel.Rd.R | library(BayesS5)
### Name: S5_parallel
### Title: Parallel version of S5
### Aliases: S5_parallel
### Keywords: Shotgun Stochastic Search Bayesian variable selection g-prior
### nonlocal prior piMoM peMoM
### ** Examples
p=5000
n = 100
indx.beta = 1:5
xd0 = rep(0,p);xd0[indx.beta]=1
bt0 = rep(0,p);
bt0[1:5]=c(1... |
5ecde4ef3e500e7969fdb0b89e6cfc4b087abd1f | a2687d3d630f2705e4d70c6ffc0428899b2cdd5a | /cachematrix.R | eeed6ec024609bd3693cc4cfbf376a6d4f0d2aec | [] | no_license | DebraBowen/datasciencecoursera | 5763e2cfe0d36ad868e0efd80edfdc2056c6d7c7 | e5da46b91038cbcf042f39b4d8d26c15dab0fbf4 | refs/heads/master | 2021-01-13T09:14:53.781542 | 2016-11-27T17:10:16 | 2016-11-27T17:10:16 | 69,380,039 | 0 | 0 | null | 2016-09-27T19:43:46 | 2016-09-27T17:09:01 | null | UTF-8 | R | false | false | 2,378 | r | cachematrix.R | ## makCacheMatrix() builds a set of functions and returns the functions in a list
## to the parent environment.
## to run, use the following steps:
## 1. m <- matrix(c(1:4), nrow = 2, ncol = 2)
## 2. matr1 <- makeCacheMatrix(m)
## 3. cacheSolve(matr1)
makeCacheMatrix <- function(x = matrix()) {
## m ... |
b63f925ea5884bcf2a39377553cd397dc51cb117 | f8b1c573b12a98d9bd299ad886ab0517f0db8f26 | /analysis/matching/flowchart.R | 55e284f42e5eeb76204c39dd5f133c364af8b811 | [
"MIT"
] | permissive | opensafely/vaccine-effectiveness-3dose | ca1593238af710e4c2d7794d2a7b0344c33b8cc8 | 83a0873237cc51dc0d7dc9054a1b7587e10f9e85 | refs/heads/main | 2023-08-25T08:29:17.081953 | 2023-06-19T15:21:04 | 2023-06-19T15:21:04 | 539,359,537 | 0 | 0 | MIT | 2023-09-13T05:40:54 | 2022-09-21T07:25:39 | R | UTF-8 | R | false | false | 5,456 | r | flowchart.R | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# This script:
# calculates the counts for the flowchart in the manuscript
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#... |
e4e81597e3e668ff8a8e19d91a79588232a79e6a | 5f4e127bf2a52486df01088384d7c5926cfa277e | /man/tabela_soma_razao_beneficio_custo.Rd | ca37213882c7e8ea714a7c24da03f8af5ab3b269 | [] | no_license | pedroliman/oshcba | 0b4ac93c2135e85b71dde834b6eb313980b98db9 | 01ef42e96a7089fc6f4f35912e825a484b017208 | refs/heads/master | 2020-02-26T15:04:57.043923 | 2018-08-01T00:48:22 | 2018-08-01T00:48:22 | 94,784,015 | 0 | 1 | null | 2017-07-17T20:52:06 | 2017-06-19T14:12:00 | R | UTF-8 | R | false | true | 498 | rd | tabela_soma_razao_beneficio_custo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/analise.R
\name{tabela_soma_razao_beneficio_custo}
\alias{tabela_soma_razao_beneficio_custo}
\title{tabela_soma_razao_beneficio_custo}
\usage{
tabela_soma_razao_beneficio_custo(resultados_cbr)
}
\arguments{
\item{resultados_cbr}{dataframe com... |
1e87e740b5938f486cef372dbe02aa0e56a64846 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/Rnmr1D/man/ggplotClusters.Rd | b4074e0ebae686291aee2b14ace881a60119a6c3 | [] | 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 | true | 554 | rd | ggplotClusters.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ggplotTools.R
\name{ggplotClusters}
\alias{ggplotClusters}
\title{ggplotClusters}
\usage{
ggplotClusters(data, clustObj)
}
\arguments{
\item{data}{the matrix including the integrations of the areas defined by the buckets (columns)
o... |
7dfc1261f8fe78c9b2c6373fa6e95e716bea5742 | 162bf939b9a53541674aa55ce7601e0dbb273493 | /code_ggvis.R | cacfcebac1bbbebfd0a4f46386438dd4b6f62649 | [] | no_license | fatih-cakmak/R_snippets | d48c07cc3538331c260b21b2db6cc8941fbcb520 | facdfadd1d0f733605ece1d29cd8642efb131734 | refs/heads/master | 2021-01-21T17:50:54.705942 | 2016-09-18T21:47:53 | 2016-09-18T21:47:53 | 68,547,340 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 134 | r | code_ggvis.R | ## similar to "ggplot2" but more extensive
## interactive like "shiny"
## can use the pipeline
## renders in a web browser (vega.js)
|
b86d0039cfb88f69237645227d283fbc82fc9805 | 46a104e2aa482820af0bd16126959aa734387de9 | /Binding.R | 20d3c73c17006ff689c8bb00a73ccbab30d3653a | [] | no_license | DuongNg0403/R_Harvard | c6ab1a1a69bfb4b4bb7f6e45ac373ea149589c2a | e3ab486a4394467f2f36e1dcfdfa2d8ca390f85b | refs/heads/master | 2022-11-08T05:59:11.217012 | 2020-06-29T01:02:40 | 2020-06-29T01:02:40 | 244,889,886 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 360 | r | Binding.R | library(tidyverse)
library(ggrepel)
library(dslabs)
ds_theme_set()
data(murders)
head(murders)
tab <- left_join(murders, results_us_election_2016, by = "state")
head(tab)
bind_cols(a=1:3, b=4:6)
tab1 <- tab[,1:3]
tab2 <- tab[,4:6]
tab3 <- tab[,7:9]
new_tab <- bind_cols(tab1,tab2,tab3)
head(new_tab)
tab1 <- tab[1:2,]... |
893ccd8e9194dcd94ba1516273e32a943601f864 | df0e9f804c7708481b021f20b3a9d372fc752254 | /man/cobalt-package.Rd | c7727c2fd35f6cbe30f67efdd3ba285bf8d30961 | [] | no_license | Zchristian955/cobalt | 3a132bca1d6a7fe3286e9d0f7154e072766a2f79 | 92596ad30186a06f263db8b32c005989c720f345 | refs/heads/master | 2023-03-14T20:50:03.661026 | 2021-03-30T08:50:18 | 2021-03-30T08:50:18 | 436,739,071 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,149 | rd | cobalt-package.Rd | \docType{package}
\name{cobalt-package}
\alias{cobalt-package}
\alias{cobalt}
\title{
cobalt: Covariate Balance Tables and Plots
}
\description{
A set of tools for assessing, displaying, and reporting covariate balance in observational studies before and after preprocessing through matching, weighting, or subclassifica... |
a14d11986a4067c1293a125189603b96e8b83b86 | 18bf8c7694a4dc1f967d41fbaeb530b9d8460f4d | /man/plot.for.ma.Rd | 72aa66ab1dbd1bdb8946142468421340fa5dcf48 | [] | no_license | juliusfoerstel/LaseR | cb9890e2032e9f0a057f1b728200a799c7d7cb7f | 151a9f834d577963b1a19e2a86855a18709e19bb | refs/heads/master | 2020-12-23T09:18:20.343937 | 2020-05-18T08:59:39 | 2020-05-18T08:59:39 | 63,343,462 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,058 | rd | plot.for.ma.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PlotFuerMA.R
\name{plot.for.ma}
\alias{plot.for.ma}
\title{Opens the tikzDevice in the graphics folder of the MA}
\usage{
\method{plot}{for.ma}(filename = "RPlot", width = 4, height = 3, ...)
}
\arguments{
\item{filename}{A string which is go... |
0b9b99aa76cf0eb028ee783f248df41eaee3405e | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/blockcluster/man/binarydata.Rd | aeb882f86398f03855f064229d2cb10e496dcbc4 | [] | 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 | true | 415 | rd | binarydata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RCocluster.R
\name{binarydata}
\alias{binarydata}
\title{Simulated Binary Data-set}
\format{A data matrix with 1000 rows and 100 columns.}
\description{
It is a binary data-set simulated using Bernoulli distribution. It consist of two cluster... |
3954746068df8bedf60cf1b0791fcc771c8c8dda | f6b8bb9ed8ad5ab02f25f7a76a4c77beaeb7eb24 | /ShinyApp/funct_0downloadFile.R | f0300d75a6779cdf8d5590f6eabc03fb346733cf | [] | no_license | DrRoad/ShinyAppVincent | b5966d20534ebd7055f23ca79b83b71edfe581ea | c565c01c7b087dd6888705e6fee022cf8aed1dfe | refs/heads/master | 2020-07-22T11:27:18.255033 | 2019-08-23T22:18:30 | 2019-08-23T22:18:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 476 | r | funct_0downloadFile.R |
### Download tab costs
function.downloadFile <- function(tabCosts) {
downloadHandler(
filename = function() {
paste("MydataDownload", "csv", sep = ".")
},
content = function(file) {
write.table(tabCosts, file, sep = ",",
row.names = FALSE)
}
)
}
### Save d... |
77dafd9d8d6eae35fae2efe2f1737560e0c6d8a9 | e3b70a106252542597985a5df1cba35dad9bc27c | /kate_programs_v2.0/k.nhnwutil.R | b4786f2068abab121b2424571aecad053a2714c2 | [] | no_license | tkangk/tdm | 5749d5834264a68286c58a8532af517aec8442d1 | 5081bff9b7b5793a82d39141a4b0d0de7fd248ac | refs/heads/master | 2020-03-24T21:39:12.691526 | 2018-04-09T21:36:39 | 2018-04-09T21:36:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,758 | r | k.nhnwutil.R | # k.nhnwutil.R
# NHNW Destination Choice Logsums
# Auto Operating Cost
mf.Sopcost <- autocost * mf.tdist
mf.Hopcost <- mf.Sopcost
# Auto Out of Pocket Cost
mf.Spocketcost <- sweep((mf.Sopcost * 0), 2, 0.5 * ma.stpkg, "+")
mf.Hpocketcost <- sweep((mf.Hopcost * 0), 2, 0.5 * ma.stpkg, "+")
if (toll == TRUE)
... |
c683b6ce7047f477d1b699df8457ed4318952640 | 16d9ea3f8badf9a52c6235ce8497caacdd61daa8 | /ui.R | a27c9fecdb2ccb1a2b1d33125be752f3618e1e7f | [] | no_license | suryanshraghuvanshi/-CAPS- | 73fc30228758f640907f1cf8bb8ec6428a3517a2 | 6235b4a286490933033ee4dca8553bcb58efea34 | refs/heads/master | 2021-01-01T04:04:06.842939 | 2017-07-13T12:05:42 | 2017-07-13T12:05:42 | 97,117,570 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,718 | r | ui.R | library(shiny)
library(shinydashboard)
library(rCharts)
library(leaflet)
library(ggmap)
library(ggplot2)
library(dplyr)
library(leaflet.extras)
library(rMaps)
d <- read.csv("del.csv")
names <- as.character(unique(unlist(d$CITY)))
ui <- dashboardPage(
dashboardHeader(title = "Predicted Crime Rates", titleWidth =... |
b605589a5126cfc3cc28ff01d138db9b2b3ad1b8 | fdcd69bbf8fa90f1e5998068147cbd7a93886598 | /man/similarityTree.Rd | 2ed5f7771a0af8ffe8150f098d828505ed518077 | [] | no_license | souhilabsl/Rchic | bf60ec437d5ba6caf49447692cda4fa229fc2d5c | 252948b9e034b9a508938d94c976ef02533a4735 | refs/heads/master | 2021-01-21T18:38:25.225411 | 2014-04-17T13:58:54 | 2014-04-17T13:58:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 514 | rd | similarityTree.Rd | \name{similarityTree}
\alias{similarityTree}
\title{Computes and Displays the Similarity Tree.}
\usage{
similarityTree(list.variables, rules = NULL, Verbose = FALSE)
}
\arguments{
\item{list.variables}{list of variables to compute the
similarity tree from}
\item{rules}{dataframe of ASI rules.}
\item{verbose}{... |
e1531a42d55c18c257dec4f93e71b3fe48397b63 | e4ff3a5fc17302d8d4fd86b38072e67ffe1aedec | /R/lgama.R | ec3c3fa709992561969858c5b3b64f58e0159c06 | [] | no_license | cran/robeth | 5782cfcb86e6931152dc8a0b9b8f71e97068e449 | 5b60aabc7c1b21f15d73d1246ab40c1defdf5f7f | refs/heads/master | 2023-08-31T11:44:10.694653 | 2023-08-22T08:00:05 | 2023-08-22T09:31:11 | 17,699,284 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 165 | r | lgama.R | "lgama" <-
function(x) {
if (missing(x)) messagena("x")
gl <- single(1)
f.res <- .Fortran("lgamaz",
x=to.single(x),
gl=to.single(gl))
list(gl=f.res$gl)
}
|
43ffaba675b3a8284a12c6a7f109d97c51f3b983 | a60c3de2c40c3667f0d59beff1906a5198d1e044 | /scripts/read-moistmix.R | 1a2e05acfc6ede0ae188899f316f6ecdc28a5e0d | [] | no_license | schwilklab/trait-flam | c1ab4045294f110f84ab7cfdda0bde26d0f7f2cf | fccb5b255525848be72e9d9521681419234e793d | refs/heads/master | 2023-04-27T10:41:08.969869 | 2023-04-13T19:43:55 | 2023-04-13T19:43:55 | 17,681,249 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,930 | r | read-moistmix.R | # read-moistmix.R
# 1. Reads in the data files for the moisture content and the flamambility of the mixtures,
# both observed and predicted
# 2. Creates summary statistics
# 3. Investigate species differences in dry down intercepts and rates
# 4. Investigate non-additivity
#library(lme4)
#library(plyr)
#library (t... |
00641aa88e0d554b9f8ba8611990a0f63ff71220 | 543f0ec1fc03efdc13415086b85c03fee1b6f86c | /gtex_ips.r | ec039e76d5792777b63c303c8c34435a8778e56a | [] | no_license | YingChen-bio/myiPS | a1d0db5073ba998d637a3988a0ccb3938b7b552f | 4c6eb70bf2cf74e44c78fc817de4809508187dfb | refs/heads/main | 2023-06-07T10:41:20.194485 | 2021-07-15T22:37:07 | 2021-07-15T22:37:07 | 366,914,222 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,337 | r | gtex_ips.r | #!/usr/local/package/r/3.6.0/bin/Rscript --vanilla
library("zFPKM")
library("biomaRt")
library("ggplot2")
library("pheatmap")
library("ggfortify")
library("M3C")
library("Rtsne")
setwd("/archive/data/hgc1074/yingchen/Hiseq_2rounds")
source("./gtex_ips.function.r")
if(FALSE){
ips_tpm <- read.table("all.counts.ips_tpm.... |
e8f5772d938a5f47497506241365f199981e6e2c | 6d592800320df3943a54761b9e60a21f8fe68d2d | /R/pull_troop_data.R | ce68b10904b1adf1f9f0d20bc13a1457849839a6 | [
"MIT"
] | permissive | CenterForPeaceAndSecurityStudies/ISAF | ee2959dedf262a657eff3858a247fa5cb5bcd92f | d904b8d0ec9a2876c909fcd1c7a5ede517887677 | refs/heads/master | 2023-01-31T23:29:43.228361 | 2020-12-10T16:18:17 | 2020-12-10T16:18:17 | 144,044,148 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 716 | r | pull_troop_data.R | pull_troop_data <- function(ws = "IISS_troopdata",
key = '1Q_PNTl6JAWYIxvKfHfXt5mPA-VrgDxdoCUkvQ4i_eQo'){
troops <- pull_live_googledoc(ws = ws,key = key)
subsheet_names <- googlesheets::gs_ws_ls(troops)
sheets_out <- list()
for(i in 1:length(subsheet_names)){
sheets_ou... |
6dab8dadac5f8718204ec33deaeb2addeab52be1 | 981cbaf799599f6d23bf79cdeb4ef72a8f3eb8a5 | /script/3_cleanse.R | ed953467e08fdf276d081e3e201a3859b5e281d2 | [] | no_license | noahhhhhh/Santander_Customer_Satisfaction | 51249cdc53ef6fcf545cd0e069e3b5e3458857af | 2cce8e82ab12659445818f42316cdd8e7ae9d8b6 | refs/heads/master | 2021-01-17T17:14:28.761063 | 2016-05-10T02:38:32 | 2016-05-10T02:38:32 | 54,017,892 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,426 | r | 3_cleanse.R | setwd("/Volumes/Data Science/Google Drive/data_science_competition/kaggle/Santander_Customer_Satisfaction/")
rm(list = ls()); gc();
require(data.table)
require(caret)
require(purrr)
source("utilities/preprocess.R")
load("../data/Santander_Customer_Satisfaction/RData/dt_explored.RData")
################################... |
a710c3d44b0bf417e1104f4a4b8cd615489269ea | f543e2312931c21441e77b9c8a2713e8d0af299e | /plot3_txt.txt | 0008b2560ace3142144dee36331db3923183298c | [] | no_license | askaikai/ExData_project2 | a5d76287a173f94403424cf3a70ec82cf3aa2a84 | c18558123992eb527bde299adb5c408f609ffe73 | refs/heads/master | 2021-01-17T05:55:14.880181 | 2014-05-23T18:19:23 | 2014-05-23T18:19:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,929 | txt | plot3_txt.txt | plot3 = function(){
# Of the four types of sources indicated by the type (point, nonpoint,
# onroad, nonroad) variable, which of these four sources have seen
# decreases in emissions from 1999–2008 for Baltimore City?
# Which have seen increases in emissions from 1999–2008?
# Use the ggplot2 plotting s... |
c0a38bbf0c15212744af8ae8a61dad34c8621a59 | 387ed1d9fcaadb5744bcc298b6883f27b7303c59 | /ColumbiaImages.R | ba129e511d7f59a91eb4f81f3986a6e87aaede5e | [] | no_license | bu-w/Image-Classification | 1ca0de9febfa7b9c7cda1f0804dd94d6c074adf0 | 57bf84554860e5ac6e625e329facb12c8b8b9d0b | refs/heads/main | 2023-04-12T04:06:52.827531 | 2021-04-23T06:34:50 | 2021-04-23T06:34:50 | 360,786,139 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,490 | r | ColumbiaImages.R | #PACKAGES-----------------------------------------------------------------------
library(jpeg)
library(e1071)
library(scatterplot3d)
#IMPORT DATA SET----------------------------------------------------------------
pm <- read.csv("~/Desktop/2021WINTER/MATH3333/project/photoMetaData.csv")
n <- nrow(pm)
set.seed(3333)
# ... |
554621f3d5017383eafe75371b75b4489c31db73 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/woeBinning/examples/woe.binning.plot.Rd.R | fc3d3b5ba7ccd7773a35942c727062a4196943ad | [] | 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 | 656 | r | woe.binning.plot.Rd.R | library(woeBinning)
### Name: woe.binning.plot
### Title: Visualization of Binning
### Aliases: woe.binning.plot
### ** Examples
# Load German credit data
data(germancredit)
df <- germancredit
# Bin all variables of the data frame (apart from the target variable)
# with default parameter settings
binning <- woe.bi... |
ebac4a446a8ab985d2e5522301a14aa119bdd534 | 3b2b5636282ae842def1c16265cccac19f9d125a | /man/plotACF.Rd | 708ed2a615e09529b17abed72550a45fc28f9f50 | [
"BSD-2-Clause"
] | permissive | ilkkavir/LPI.gdf | 06cf2ccb0ed19b7a04df417fe93cef2f7e530115 | 088a53c3624c68406b87ccaf8d1451ef678c3b62 | refs/heads/master | 2023-05-28T09:56:00.948551 | 2023-05-15T13:23:37 | 2023-05-15T13:23:37 | 205,375,323 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,192 | rd | plotACF.Rd | \name{plotACF}
\title{plot ACF}
\alias{plotACF}
\description{Plot incoherent scatter autocovariance function.}
\usage{ plotACF( data , part='real' , pdf=NULL , jpg=NULL , figNum=NULL
, zlim=NULL , ylim=NULL , xlim=NULL , cex=1 , bg='white' , fg='black' ,
width=8.27 , height=11.69 , paper='a4' , res=300 , stdThrsh=Inf ,... |
48c248bc34af521c1fd7a906912bd89830bd3f35 | 6f257dfac5625c2bc5cd0fa418c94b432bac472d | /man/gf4cimes.Rd | bd1bb15604f331481d5d366502ee115366ca3a54 | [] | no_license | GastonMauroDiaz/caiman | 591ac8fa2d46a291ff2692cd825021ec3970b650 | c37d0e4a0af4774b67c30dc3c22c1b55cbe3f153 | refs/heads/master | 2022-01-25T21:34:30.218488 | 2022-01-21T18:52:43 | 2022-01-21T18:52:43 | 61,065,044 | 10 | 1 | null | null | null | null | UTF-8 | R | false | true | 591 | rd | gf4cimes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ZZZ_group_untested.R
\name{gf4cimes}
\alias{gf4cimes}
\alias{gf4cimes,BinImage-method}
\alias{gf4cimes,character-method}
\title{todo}
\usage{
gf4cimes(x, ...)
\S4method{gf4cimes}{BinImage}(x, z, a, m, angleWidth, file, txt = TRUE)
\S4method... |
05ccdb975fdcf1ee70d64537403e2ac0d65d7c7d | f667644b730dc41b372355eeb50a61d4c3b37b74 | /script.R | 5d066bf904440acae464db6d6be4ef8a15e50ed4 | [] | no_license | lukasvin/lukas-vinoelst.be | 999c17d479f9aeac0c2bb079a5aa12077ce20541 | 27cc83a43782a3401a4a1bc5739859b9fa503542 | refs/heads/master | 2021-05-18T13:42:53.162562 | 2020-04-15T18:01:52 | 2020-04-15T18:01:52 | 251,267,169 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,585 | r | script.R | ##-------------------------------------------------------------------------
#!change working directory!
#Data Inladen
install.packages("ggfortify")
install.packages("ggplot2")
install.packages("Rcpp")
library(MASS)
library(class)
library(ggplot2)
library(ggfortify)
wijn <- read.csv("wijn.csv", header=FALS... |
1afdf97124fff237a5f64a7daed5eef3fddf7dd0 | 49ff0bc7c07087584b907d08e68d398e7293d910 | /mbg/mbg_core_code/mbg_central/LBDCore/R/load_populations_cov.R | 8f9053b259995809bebb1309874ddb2410cab8f7 | [] | no_license | The-Oxford-GBD-group/typhi_paratyphi_modelling_code | db7963836c9ce9cec3ca8da3a4645c4203bf1352 | 4219ee6b1fb122c9706078e03dd1831f24bdaa04 | refs/heads/master | 2023-07-30T07:05:28.802523 | 2021-09-27T12:11:17 | 2021-09-27T12:11:17 | 297,317,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,669 | r | load_populations_cov.R | #' @title Load Populations For Covariates
#' @description This gets the population in each cell which you need to convert the rates to counts for fractional raking
#' it can also get the stackers if you would like
#'
#' @param reg modeling region over which you are operating
#' @param pop_measure the world pop covariat... |
6d5d3ee67510d1c4555cca005538ff543a37fe59 | d746fef241f9a0e06ae48cc3b1fe72693c43d808 | /ark_87287/d7m59t/d7m59t-014/rotated.r | 2ffe904d8bd499fb4e02d592ddc21daff893eb1f | [
"MIT"
] | permissive | ucd-library/wine-price-extraction | 5abed5054a6e7704dcb401d728c1be2f53e05d78 | c346e48b5cda8377335b66e4a1f57c013aa06f1f | refs/heads/master | 2021-07-06T18:24:48.311848 | 2020-10-07T01:58:32 | 2020-10-07T01:58:32 | 144,317,559 | 5 | 0 | null | 2019-10-11T18:34:32 | 2018-08-10T18:00:02 | JavaScript | UTF-8 | R | false | false | 195 | r | rotated.r | r=0.23
https://sandbox.dams.library.ucdavis.edu/fcrepo/rest/collection/sherry-lehmann/catalogs/d7m59t/media/images/d7m59t-014/svc:tesseract/full/full/0.23/default.jpg Accept:application/hocr+xml
|
e9c44c834af8d442f457059d4195b928a7c7c773 | 5a5f43179fe5675d91ef0dd31b662fedf7eb9b11 | /R/knit_print_dml.R | 4b89edf7d550db7b62a1839bce1f599298fc9ebe | [
"MIT"
] | permissive | davidgohel/officedown | 4e63a99cae4d6cb9f254d31ca6d5cf9d278f453c | a831d923b577bbf376070e155097d5f9dec2e9a0 | refs/heads/master | 2023-07-10T11:41:08.442432 | 2023-01-06T12:18:33 | 2023-01-06T12:18:33 | 126,241,290 | 333 | 36 | NOASSERTION | 2022-02-19T15:36:51 | 2018-03-21T21:12:48 | R | UTF-8 | R | false | false | 3,488 | r | knit_print_dml.R | #' @title Render a plot as a Powerpint DrawingML object
#' @description Function used to render DrawingML in knitr/rmarkdown documents.
#' Only Powerpoint outputs currently supported
#'
#' @param x a `dml` object
#' @param ... further arguments, not used.
#' @author Noam Ross
#' @importFrom knitr knit_print asis_output... |
a9b84a8dd1025b623f83fdc855e7ff12e7b7d240 | ddf87d7410f5f63747758b8beaf0a4fe7c297796 | /analysis/drake/other.R | 1c13930bdb664393e2a7aa921f2b84718321109e | [
"MIT"
] | permissive | ashiklom/fortebaseline | 3142ff38f305906489cf6e012a8f55fa3efaa51e | 513ea9353c133b47f67b3023a78e56abb6384847 | refs/heads/master | 2021-07-23T16:30:12.074804 | 2020-04-30T17:15:43 | 2020-04-30T17:15:43 | 157,924,482 | 3 | 3 | NOASSERTION | 2023-01-22T10:39:45 | 2018-11-16T21:42:24 | R | UTF-8 | R | false | false | 1,411 | r | other.R | plan <- bind_plans(plan, drake_plan(
umbs_map_gg = {
umbs <- sf::st_sfc(sf::st_point(c(-84.6975, 45.5625)), crs = 4326)
states <- rnaturalearth::ne_states(returnclass = "sf")
ggplot(states) +
geom_sf() +
geom_sf(data = umbs, size = 3) +
coord_sf(xlim = c(-90, -80), ylim = c(40, 48)) +
... |
aaa77bb4470ff73235749cbaa6d8da91b9613035 | eef018cb89dbaf5d8a7678a451af2373ddb54bb7 | /global.R | afa74ad46caf7dba12f7accdd8c18a6896ac31fe | [] | no_license | MrDAndersen/player_ids | 2b2636b838708532fdc1f70529954250fbe63698 | 3c2b62985eb80d2c52380da4b66c1d036322f930 | refs/heads/master | 2022-11-28T14:26:31.812739 | 2020-07-28T17:14:28 | 2020-07-28T17:14:28 | 283,240,595 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,016 | r | global.R | library(ffanalytics)
library(shiny)
library(shinyjs)
library(RSQLite)
library(dbplyr)
library(DT)
# Helper function to find missing IDs
id_missing <- function(x)(is.na(x) | x == "")
# Create table
id_table <- player_table %>%
select(id, first_name, last_name, team, position) %>%
arrange(last_name) %>%
unite("pl... |
5f64ad16d34b7ca542f2dfc85bc46ae75ddfc754 | fd6ce0742aa2f3e259f94a7267934838711338a8 | /Figures_Statistics/Supp_Figure_1_2.R | b79f6dfd04bea8a64510ddc2f9c500e3095426dc | [] | no_license | FloMazel/Protist_Altitude_alps | 0de8946c0316380c2f6810f0c7ebc0039f3c6304 | 4300cdd81b9649fd39d0d930731e082902b3a0a9 | refs/heads/main | 2023-03-06T01:31:03.518891 | 2021-02-18T16:10:43 | 2021-02-18T16:10:43 | 340,104,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,124 | r | Supp_Figure_1_2.R | rm(list=ls())
#Load code
library(tidyverse)
library(ade4)
library("PerformanceAnalytics")
#Load data
pooled_metadata = read_csv("Data/Final/Pooled_metadata.csv") %>%
mutate(plotID=as.character(plotID))
# define variables
edaphic <- c("soilTemp","bulkSoilWaterContent", "pH","C.N" ,"TOC","EC_1_5", "TotalP")
climat... |
718855112a250f76c1cb217fdd995000a96967e3 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /breakfast/inst/testfiles/setBitNumber/libFuzzer_setBitNumber/setBitNumber_valgrind_files/1609963192-test.R | 0c4321c8ec90c82e22088558f5962e01a1539e05 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 98 | r | 1609963192-test.R | testlist <- list(n = -905904128L)
result <- do.call(breakfast:::setBitNumber,testlist)
str(result) |
33ffaaf0798c2fe7888a69651e14bc85245664e8 | 7d826931303fd4316dc870e95bea377bc270ce66 | /man/Y.mvlm.Rd | e3087df544c9274094073700394582f352f7de13 | [] | no_license | dmcartor/MVLM | 163c90cc46efd124e836d3eb2ef330ff2c0953ed | 9dc5945c7dd1a31f6c5ad59793b469611388dc7f | refs/heads/master | 2021-01-16T21:21:41.536732 | 2017-03-26T14:08:23 | 2017-03-26T14:08:23 | 58,753,059 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 382 | rd | Y.mvlm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mvlm.R
\docType{data}
\name{Y.mvlm}
\alias{Y.mvlm}
\title{Simulated outcome data to illustrate the mvlm package.}
\format{An object of class \code{matrix} with 200 rows and 5 columns.}
\usage{
Y.mvlm
}
\description{
See package vignette by ca... |
5af2031be2de8063e84577267fe04118e511a4f3 | 5d19a22476086a97e7037555e2f51809c0d950e4 | /SL.truffle.dynsem/all.r | e2f7ad8951d577269a87039a2e571e6fc458ca9b | [] | no_license | metaborg/benchmark-data | 2d8ed1fc2ea31afb9d3cffcdf22ea37899485eca | 7686cf7d4e316c32f3429762a35a72c91824f23e | refs/heads/master | 2020-04-06T03:43:05.773707 | 2016-04-15T20:01:38 | 2016-04-15T20:01:38 | 44,169,081 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,918 | r | all.r | source("common.r")
source("library.r")
source("measurements.r")
# Re-run all measurements
rerunall <- function() {
initconfig()
initrevs()
fetchdependencies()
measurements <- loadmeasurements()
benchmarks <- loadbenchmarks()
rmdatafiles(measurements)
measurements <- truncatedata(measurements)
writemea... |
3bed37bccf6d576b5e971a21a7a8811e228c2a17 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.database/man/simpledb.Rd | f25ccd912d971ba0bdf6b2cb1be6e3c8194c34e8 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 5,681 | rd | simpledb.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simpledb_service.R
\name{simpledb}
\alias{simpledb}
\title{Amazon SimpleDB}
\usage{
simpledb(config = list(), credentials = list(), endpoint = NULL, region = NULL)
}
\arguments{
\item{config}{Optional configuration of credentials, endpoint, a... |
5215fe6ca9dafb0004341e6b2ef7ae49ed09f181 | b891263728fc0108d3701ec9723b627a6d6f484a | /man/getDecYear.Rd | b592cb73327536e84431b9f4382df4c0676633d3 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | limnoliver/GSqwsr | 2218a40432f75107b31eb1a50168858032635b85 | 0a59fe050eb851de54b0567c317bd07a1b0b099a | refs/heads/master | 2021-01-01T18:47:17.291369 | 2015-10-14T20:57:49 | 2015-10-14T20:57:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 524 | rd | getDecYear.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/getDecYear.R
\name{getDecYear}
\alias{getDecYear}
\title{Returns decimal year from POSIXct}
\usage{
getDecYear(dateTime)
}
\arguments{
\item{dateTime}{POSIXct}
}
\value{
decYear numeric
}
\description{
Returns decimal year from POSIXc... |
2dc92779ad1215c1d07bbffa61cf9de31fa57600 | 13d34ad3f9487eff6fedd772365ae85082dd5567 | /ExtractAffy.R | c944d6f0ed56f511a2051ef3fa7e1103aca38cfa | [] | no_license | zhenyisong/CardioTF_Database | b318953f1b3e8f151b601afe49dac13b2ebfe444 | f6a037506a58a4d414bdbd092920f6b496ceea99 | refs/heads/master | 2021-01-10T01:49:04.364748 | 2018-05-31T01:34:03 | 2018-05-31T01:34:03 | 51,047,428 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,017 | r | ExtractAffy.R | # Author Yisong Zhen
# Since 2013-12-31
# Original data is from NCBI GEO database:
# http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE1479
#
# To select genes which are expressed by MAS5 alorithm
# verified in any one of stages
# saved file:
# cardiogenomics.data
# any gene symbol on one line
... |
a7babeb69cd352f80ac1fea1cc8c79b6aeaa0ad8 | 7d0f25a190e97e0d2714c43a57a017eaf093ecd5 | /R/objSize.R | c58cee0f939593513d68989ab8eaacb6f11b59a7 | [
"MIT"
] | permissive | mikeniemant/nbs | f192f6d6ce16d725dc0985d6f505666c2c785020 | 3d82fd553c58ea5941d5dfa60cfaefa95df76121 | refs/heads/master | 2022-07-03T11:21:21.170515 | 2022-06-15T08:51:37 | 2022-06-15T08:51:37 | 142,566,362 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 471 | r | objSize.R | #' Object Size
#'
#' Compute memory size of objects in the R environment.
#'
#' Version 1.0 2022-02-15
#'
#' @param objs character vector with object name(s)
#' @return A tibble containing all objects arranged on object size (mb).
#' @export
objSize <- function(objs) {
res <- data.frame(name = objs) %>%
dplyr::as... |
0e8a7f41f5a411285e8120bf4ca77a42d1f649ab | d15c254cab30b92a59b83264fb4b94c9ae8dd993 | /man/Infilt.Rd | 65621781d218a98e41f18e269cb922d0035e6a5d | [] | no_license | cran/HydroMe | 282418dad34edb18d2493dfd00a5362fe767b1ae | 28e932150d6283d04e4970f6cfd5ad264dc5ff0d | refs/heads/master | 2021-05-19T03:08:49.552205 | 2021-01-10T14:40:18 | 2021-01-10T14:40:18 | 17,679,887 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,926 | rd | Infilt.Rd | \name{infilt}
\alias{infilt}
\docType{data}
\title{
Water infiltration characteristics data
}
\description{
This is part of a dataset from a PhD study which measured water infiltration characteristics from the Upper Athi River basin in Eastern Kenya. It contains rate of infiltration (y) at different levels of c... |
8f31e10700eaa9eb7091a2a1b32da7125fde81cb | 2f6d7a99ce3155d2c635c39013a0da1418208b40 | /man/explicit.Rd | 90190ce2f465415d60bf07a375b2ccc20e67a431 | [
"MIT"
] | permissive | oganm/ogbox | c75eb1d8f4df00be214731e085e6c19e141992cc | ba99a46487836af5ab4fb5b013bc92cf35ad8e95 | refs/heads/master | 2020-04-04T07:07:27.383911 | 2019-07-29T23:00:12 | 2019-07-29T23:00:12 | 37,562,559 | 5 | 1 | null | null | null | null | UTF-8 | R | false | true | 536 | rd | explicit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/explicit.R
\name{explicit}
\alias{explicit}
\title{Make function calls explicit}
\usage{
explicit(fileIn, fileOut = fileIn, ignore = "base")
}
\arguments{
\item{fileIn}{input file}
\item{fileOut}{output file. default is to overwrite fileIn}
... |
3e09c389afc283ab5791f4d70b4de7890f32fae8 | 852c8140a3d1b1d081d3c8ee62af28f36d23833e | /COD_parameters.R | a0ae1945b24507fa2fb62ef060f9aa814d12db3f | [] | no_license | jessicaweb3/fmsy_m | fbc1d2f037238c97bda424e7d3d5621cb0d73937 | dacdf75ecf287356a720416f2385f4250c138e0d | refs/heads/main | 2023-04-17T10:47:14.476055 | 2022-12-09T09:44:08 | 2022-12-09T09:44:08 | 576,012,006 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,180 | r | COD_parameters.R |
########################------------ NEA COD Parameters -------------#######################
#ICES asssessment based data
Blim<- 220000 ### Blim tonnes (official advice sheet)
recage <- 3
amax <- 15 ## 13 age classes 3-15
age <- recage:amax
ac<-length(age)
fbar<-c(2,7) # in reality age 5-10... |
e4d16ebd59a84b99d63962ed9bfd1a143b922990 | f281f08b82846459b3bfd53546e1abda60082a67 | /rsrc/generate_bcp_madvision.R | d7fe0021ad7eca55c1c59a241646fc1133e4b823 | [
"Apache-2.0"
] | permissive | MadFace/MadFace | 07de49a31cb5e0a5b5c9a6c6c3a8fe3410545dee | dad6df197bc1ad330863f0f84da4d97dfb7a3b7d | refs/heads/master | 2021-08-14T18:02:46.020078 | 2017-11-16T11:22:18 | 2017-11-16T11:22:18 | 108,241,990 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,540 | r | generate_bcp_madvision.R | library(rimage)
source("rsrc/terminator_view.R")
##-----------------------------------------------------------
##
## Functions
##
##-----------------------------------------------------------
get.vers <- function(graph.data.matrix=graph.data.matrix){
uniq.src <- unique(graph.data.matrix[,1])
uniq.dst <- unique(gra... |
b0de74291d85d2523c2ecbbb81c6c2c6c8d270bf | 4067ff0db87ec536dd48b38dbb2de6e13536cd67 | /Unit2/src/test.R | d40ab63270080f3aca856a940858a42592639502 | [] | no_license | strgeon/rClassFiles | 2b4267676e39878da7077716f508ae1aee0ea3c3 | adeb452b82e4fac642f8e65b608d4843fee15e66 | refs/heads/master | 2020-12-02T19:41:00.846565 | 2017-08-22T03:00:02 | 2017-08-22T03:00:02 | 96,375,498 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,685 | r | test.R | # Title : TODO
# Objective : TODO
# Created by: Scott
# Created on: 7/1/2017
#part 3 - flu queries
FluTrain=read.csv("FluTrain.csv")
#next one is wrong, don't use $ notation in lm
#FluTrend1=lm(log(FluTrain$ILI) ~ FluTrain$Queries, data = pisaTrain)
FluTrend1 = lm(log(ILI)~Queries, data=FluTrain)
F... |
b3e1dae1c40f9c0dcf8a7fa27867225c086b0392 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /corpustools/R/data.r | dfd969e43f0e90db67f372a335cc587fcac9ae1c | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 630 | r | data.r | #' State of the Union addresses
#'
#' @docType data
#' @usage data(sotu_texts)
#' @format data.frame
'sotu_texts'
#' coreNLP example sentences
#'
#' @docType data
#' @usage data(corenlp_tokens)
#' @format data.frame
'corenlp_tokens'
#' Basic stopword lists
#'
#' @docType data
#' @usage data(stopwords_list)
#' @format... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.