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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a38962a5098f04f986a82460f868b73a16fa0638 | 6bfbccc3e73a9b8edb10ce91731746dde79858c5 | /SOTU_processingfunctions.R | 9a70eef539cf7d9ff24885c842de39dea8d19b9d | [] | no_license | JoePatrick94/presidential_SOU | 637fdb7914a90129b88b778f99bfad9c65d2bb6c | a517357d367fd11bc1bf64cb1d6f47f92cb276d2 | refs/heads/main | 2023-06-26T06:09:42.242308 | 2021-07-27T17:51:35 | 2021-07-27T17:51:35 | 379,385,690 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 1,327 | r | SOTU_processingfunctions.R | #Function to get the years active of a president
get_years_active <- function(SOTU_pagelinks){
sotupage <- read_html(SOTU_pagelinks)
years_active <- sotupage %>%
html_nodes(".dates") %>%
html_text() %>%
gsub("\\s+", "",.)
return(years_active)
}
#Function to get the political party of president
get_... |
a8680ac049d7894569facfc270e2c567d23af2b5 | cfbbe807739f933e5e3c59970bd7197713c891f0 | /Semt5/P. Statistik Induktif/P1/Coba-coba/luassegitiga.R | c02ac00d669ac8d0fa0189f8462e766bb23b7695 | [] | no_license | bangqae/Akakom | c144b564763106346b9f60c7233faccc936cd735 | dffa676d77d1e29a4b173eb98c07169013278bae | refs/heads/master | 2020-09-05T07:17:04.833383 | 2020-07-08T10:40:13 | 2020-07-08T10:40:13 | 220,023,545 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 86 | r | luassegitiga.R | luassegitiga -> function(a, t) {
luas = 0.5*a*t
return(luas)
}
luassegitiga(4, 8) |
bb14c081cf1eda62733fa83241719c67d7631790 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/photobiologyFilters/vignettes/user-guide.R | 4b0b922d0577b132c116fd8296ebe475ba7390a0 | [] | 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 | 3,154 | r | user-guide.R | ## ---- echo=FALSE---------------------------------------------------------
knitr::opts_chunk$set(fig.width=8, fig.height=4)
## ------------------------------------------------------------------------
library(photobiology)
library(photobiologyWavebands)
library(photobiologyFilters)
library(ggplot2)
library(ggs... |
3893615956d676475f68affaa0bec3a4730914c6 | 139c6d58e2ba47801b67727ed5c02d4ebaa5fea0 | /resolwe_bio/tools/transmart_fetch.R | e6c3b56d21e550941796fad4cb66ad064fa503a6 | [
"Apache-2.0"
] | permissive | JenkoB/resolwe-bio | 91957b5bb3f7de2cff9adc7c1974dc5a6cba4dbb | a958cf3fc82ebc37f527e1b156753f2324a33803 | refs/heads/master | 2020-12-29T18:47:35.230553 | 2016-12-16T08:48:40 | 2016-12-16T08:49:41 | 66,536,440 | 0 | 1 | null | 2016-08-25T07:41:48 | 2016-08-25T07:41:48 | null | UTF-8 | R | false | false | 3,185 | r | transmart_fetch.R | #!/usr/bin/Rscript
require("transmartRClient")
require('argparse')
parser = ArgumentParser(description='Fetch data from tranSMART instance.')
parser$add_argument('--URL', default = "http://137.117.169.225:8080/transmart", help='tranSMART instance URL')
parser$add_argument('--annConceptLinks', default = "", help='Annot... |
2c0c1afece03f5186fcad1cb3eb1463ad57d01c3 | 6951cfcfbcad0034696c6abe9a4ecf51aa0f3a4b | /man/parsePackageCitation.Rd | 1bd931a17cb676ca2d023395cf4ff27c200d354b | [] | no_license | renozao/pkgmaker | df3d4acac47ffbd4798e1d97a31e311bf35693c8 | 2934a52d383adba1d1c00553b9319b865f49d15b | refs/heads/master | 2023-05-10T16:40:30.977394 | 2023-05-03T07:02:51 | 2023-05-03T07:17:17 | 12,726,403 | 8 | 3 | null | 2023-02-14T10:26:07 | 2013-09-10T10:07:35 | R | UTF-8 | R | false | true | 428 | rd | parsePackageCitation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vignette.R
\name{parsePackageCitation}
\alias{parsePackageCitation}
\title{Formatting Package Citations in Sweave/knitr Documents}
\usage{
parsePackageCitation(x)
}
\arguments{
\item{x}{output document, as a single string.}
}
\value{
A charac... |
62d79ba5fd146764639817b4d3844240f5b6f137 | fd686b2c6aea9623fc1fdfcfab7a26508a2dbe97 | /run_analysis.R | 9346c660bc1665022281819ac298df455c15c41c | [] | no_license | cara0/getting-cleaning-data-assignment-week4 | 215b7a423876dadaac13af1315f5c768f8bda2c5 | 0d84b57c70401eec25de981d57b618461b6aca29 | refs/heads/master | 2021-01-23T06:55:30.077508 | 2017-03-29T22:42:15 | 2017-03-29T22:42:15 | 86,412,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,007 | r | run_analysis.R | # This code reads the training and test feature values from the UCI HAR dataset;
# combines training and test sets into one data.frame;
# extracts only the features (columns) with means or standard deviations of measurements;
# merges in subject identifiers (integers from 1 to 30) and activity labels for each activity ... |
1dc286728f414c58ec5d0e5fc90a2e6648bac8fc | 6300606517c0dcaae4dce093a8366eea953deb37 | /2019/Day5.R | 0f6d15af5889125af6d3ad54edbfed2ce62d4f37 | [] | no_license | akulumbeg/adventofcode | e5b5f8e509d240279ce0b4daf7325a48a4cbf9fc | 71d2a329beb4dd42d7e9dd6f544aa0c8fbc343cd | refs/heads/master | 2022-07-28T16:59:30.147837 | 2022-07-11T14:46:15 | 2022-07-11T14:46:15 | 220,464,721 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 173 | r | Day5.R | # Part 1 ------------------------------------------------------------------
rm(list = ls())
# Part 2 ------------------------------------------------------------------
|
5410ad4faa44dd16bbdf18aeb098dd2091dbdf23 | 05678f03a83ce73472b1473f2d0743c9f015f2b8 | /tests/testthat/test_observations_api.R | 349e5cb9b95ae836da7f93a2d3388d20f2d46cb5 | [] | no_license | Breeding-Insight/brapi-r-v2 | 3a7b4168c6d8516eb1128445a2f281d1199668a3 | 5cfa7453947121496780b410661117639f09c7ff | refs/heads/main | 2023-03-14T22:20:29.331935 | 2021-03-17T01:31:11 | 2021-03-17T01:31:11 | 348,535,689 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,813 | r | test_observations_api.R | # Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test ObservationsApi")
api.instance <- ObservationsApi$new()
test_that("ObservationsGet", {
# tests for ObservationsGet
# base path: https://test-server.brapi.org/brapi/v2
# Get a fil... |
c3e97854914e21e1ff02b8aca916f517b3cdbbec | 104dae3cfffbdf12165bc3a7f9fbf2215da9a767 | /R/exportWP.R | d69fea7a5d1514ad3692618ac19130b294d104dd | [] | no_license | nicolasfstgelais/waterQuality | b507373384333810ebf6c40345ecc29669d46336 | 5af4ad62f60d93a17d4d8c8799285552a951d487 | refs/heads/master | 2021-04-29T22:15:08.271708 | 2018-08-02T17:32:21 | 2018-08-02T17:32:21 | 121,635,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 903 | r | exportWP.R |
dbWP=read.csv("C:/Users/nicol/Dropbox/ReseauLab/data/water quality/waterportal/rivers/result.csv",stringsAsFactors = F)
unique(dbWP$ResultDetectionConditionText)
# when under detection limit = detection limit/2
dbWP[dbWP$ResultDetectionConditionText=="Not Detected","ResultMeasureValue"]=LtoN(dbWP[dbWP$ResultDetectio... |
6706eb5aa2758a65f62b049b8149cc9dfde5f9d1 | 34de8cb0a2b51b092a010cb9bbd05af42d3f830a | /keio_scripts/run_DESeq2_on_bwa_count_matrix.R | 38cb6f4844d14d6c4d8324e583f80fde9d758b1f | [] | no_license | abs-yy/Hypsibius_dujardini_manuscript | 201967c016e250c507590800b0c8394f0225ccd5 | be613c72073590565c220d899d35bc30fb86d48e | refs/heads/master | 2021-01-20T10:47:32.238859 | 2017-06-12T02:01:00 | 2017-06-12T02:01:00 | 80,097,405 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,554 | r | run_DESeq2_on_bwa_count_matrix.R | args = commandArgs(trailingOnly=TRUE)
library(DESeq2)
data<-read.delim(args[1], header=T, row.names=1)
samples=ncol(data)/3-1
for( i in 1:samples){
#if( i == samples) next
for( j in i:samples+1){
if( i == j) next
s1 <- (i-1)*3+1
e1 <- (i-1)*3+3
n1 <- strsplit(colnames(data)[s1], ".", fix... |
2b64e20e46f9cf3475d1ad37a8f4430a55e68cc0 | 74bc48ba64859a63855d204f1efd31eca47a223f | /Telstra/Telstra.XGBoost.v16.R | 48ce0b87da16e384f6fb14e4509487ca06988b95 | [] | no_license | PraveenAdepu/kaggle_competitions | 4c53d71af12a615d5ee5f34e5857cbd0fac7bc3c | ed0111bcecbe5be4529a2a5be2ce4c6912729770 | refs/heads/master | 2020-09-02T15:29:51.885013 | 2020-04-09T01:50:55 | 2020-04-09T01:50:55 | 219,248,958 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,227 | r | Telstra.XGBoost.v16.R | # v2.0 In Progress
# 01. Libraries
require(caret)
require(corrplot)
#require(Rtsne)
require(xgboost)
require(stats)
require(knitr)
require(ggplot2)
knitr::opts_chunk$set(cache=TRUE)
require(DiagrammeR)
require(plyr)
require(dplyr)
require(sqldf)
require(reshape)
require(tidyr)
# rm(list=ls())
setwd("C:/Users/SriPrav/... |
59664453aca21309bfabb01911fe4c7098baa42d | 43e59e7a343960576f5718f6b137f6f06145d768 | /make_jurisdiction_report.R | 2ddd6752381ac60c1891d1becb39e82d4fcead58 | [
"CC0-1.0"
] | permissive | wvp3/jurisdiction_report | 4c8632a4f0e49f52e27f2d7262bc0cf2524ed42a | c75f831db01f3976d5936395c373c58619768181 | refs/heads/main | 2023-04-02T14:42:48.143113 | 2021-04-15T15:42:16 | 2021-04-15T15:42:16 | 358,302,271 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,956 | r | make_jurisdiction_report.R | source("make_quadrants.R")
source("make_svimap.R")
source("make_sparkline.R")
# you need to first prepare the most recent data
# see prep_county_throughput.R, prep_state_throughput.R and prep_svi_data.R
make_jurisdiction_report <- function(st,format="html",qc=FALSE) {
statetitle <- as.data.frame(cbind(state.name,... |
af4c73492f1a629af1c65e9c2d3cc5e627d65320 | b4eb64787b3cdf1e8622bf968b1c07b13489275b | /man/fix_name.Rd | 0952623955bc32868b483e5aca385440d6ba51b5 | [
"MIT",
"CC-BY-4.0"
] | permissive | bodkan/archaic-ychr | c904289171fe4c752e08aab9f93c094ad5c5fc9c | 13759d2d97ce1434b12418ad2395ca98fc170016 | refs/heads/master | 2022-11-16T22:30:27.487685 | 2020-07-13T10:30:56 | 2020-07-13T10:30:56 | 52,959,577 | 8 | 0 | null | 2020-07-13T10:30:57 | 2016-03-02T12:02:34 | Jupyter Notebook | UTF-8 | R | false | true | 260 | rd | fix_name.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{fix_name}
\alias{fix_name}
\title{Change sample name to its full form.}
\usage{
fix_name(name, coverage = FALSE)
}
\description{
Change sample name to its full form.
}
|
22e0d1d62f058150167a22b20710475362711717 | 468075902da967e77578f8445a542faf2ee51227 | /man/LogisticRMoE.Rd | 8a621b3411c1fe0a82a812ebf07539364f58826f | [] | no_license | fchamroukhi/HDME | 202dd27585ff2a50fe0c59b62bb8e5836cf74d3f | 09d44e933cc4cd60e85cf920621708da44d12016 | refs/heads/master | 2020-06-19T18:22:12.092085 | 2019-10-23T13:24:54 | 2019-10-23T13:24:54 | 196,819,715 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,344 | rd | LogisticRMoE.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LogisticRMoE.R
\name{LogisticRMoE}
\alias{LogisticRMoE}
\title{Penalized MLE for the logistic regularized Mixture of Experts.}
\usage{
LogisticRMoE(Xmat, Ymat, K, Lambda, Gamma, option = FALSE,
verbose = FALSE)
}
\arguments{
\item{Xmat}{Mat... |
f1a74d34fea5b867ab165f1fc93eb9af345be833 | 3805a17d29ec60517c95ea63cd4a393d530d5b15 | /man/pagination_helper.Rd | 8fa99b49d989c5d4690971cb632ae2ca1925f3dd | [] | no_license | bkkkk/lastfmr | da73596e853989cfe116f52244c617b3f6ae78da | 8617f03a7485c4bc2c1b4baa3c46595e6c959a3c | refs/heads/master | 2022-09-05T11:35:18.732279 | 2022-08-31T06:54:54 | 2022-08-31T06:54:54 | 125,021,275 | 0 | 0 | null | 2021-11-20T07:19:08 | 2018-03-13T08:57:09 | R | UTF-8 | R | false | true | 1,432 | rd | pagination_helper.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pagination.R
\name{pagination_helper}
\alias{pagination_helper}
\alias{get_current_page}
\alias{get_total_pages}
\alias{has_next_page}
\alias{get_response_attr}
\title{Pagination Management}
\usage{
get_current_page(resp)
get_total_pages(res... |
380e0281b67386debcf7b613e474013e7add2c44 | 91ae059b3f640dd6cdbd49992acec90339fc54ac | /workers_model.R | 3826cc0f9ac28d30a3b4cb321bc0feb89d3167ad | [] | no_license | mgbostwick/galapagos | 58b291a6243a07f94a8ea84cbe3817a99a8ebdb6 | d02f4324ac016af928fc1bc9c73244318c101a08 | refs/heads/master | 2021-04-27T00:31:36.544802 | 2018-04-29T20:22:39 | 2018-04-29T20:22:39 | 122,654,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,388 | r | workers_model.R | setwd("/Users/michaelbostwick/Documents/Galapagos")
library(tidyverse)
library(ggplot2)
library(readxl)
library(glmnet)
library(mpath)
library(reshape2)
library(gridExtra)
library(leaps)
library(bestsubset)
library(bestglm)
# Load modeling function
source("modeling.function.R")
# Load clean data and subset to approp... |
a4074c14a1cf2ec5aa664ece89a26bab300f535b | 14c2f47364f72cec737aed9a6294d2e6954ecb3e | /man/BCV.Rd | f51ff53446badff09239e02c418cd0d23b231f0a | [] | no_license | bedapub/ribiosNGS | ae7bac0e30eb0662c511cfe791e6d10b167969b0 | a6e1b12a91068f4774a125c539ea2d5ae04b6d7d | refs/heads/master | 2023-08-31T08:22:17.503110 | 2023-08-29T15:26:02 | 2023-08-29T15:26:02 | 253,536,346 | 2 | 3 | null | 2022-04-11T09:36:23 | 2020-04-06T15:18:41 | R | UTF-8 | R | false | true | 533 | rd | BCV.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R, R/AllMethods.R
\name{BCV}
\alias{BCV}
\alias{BCV,DGEList-method}
\alias{BCV,EdgeResult-method}
\title{Return a data.frame of BCV values}
\usage{
BCV(x)
\S4method{BCV}{DGEList}(x)
\S4method{BCV}{EdgeResult}(x)
}
\arguments{
\i... |
8396906e9e03b6fe30ed961aaf29183e34ed0d5f | dafa2cdb6498055e534b127d26fbea2f7ceccf32 | /workshops/introR/introR01.R | a71d380ae897f5579bb757a456c87b72a3be0b09 | [] | no_license | kho777/data-methods | c44cd4173e9fb1341e724692861d043b2a5afb1e | 6bac8bc85a5b3c87d2d5a9d6e486e3bc4b19888c | refs/heads/master | 2021-08-19T18:21:48.941139 | 2018-11-01T20:24:06 | 2018-11-01T20:24:06 | 145,901,870 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 944 | r | introR01.R | ## Introduction to R sample program 1
## file: introR01.R
## Adapted from Venables, W.N., Smith, D.M. and Team, R.C., 2018. An Introduction to R, Version 3.5.1 (2018-07-02)
# Generate two pseudo-random normal vectors of x- and y-coordinates.
# Note that the assignment operator "<-" and "=". The former is the old oper... |
29f869940cff0ddfa2f47b5c9d945a093f46ae26 | d8bc7bba5ee687368e23a1d61453bf90ff9fc516 | /man/query_master.Rd | 3957f8b75f9781b2261366c12546f2b888288fba | [] | no_license | NREL/rplexos | 45dcf4dd919f9fab6333aa45fb4ef29203039829 | f56f88fdfb050e682e3f9137620697cf4cb6e0dd | refs/heads/master | 2020-04-12T09:39:21.133868 | 2017-11-23T16:00:49 | 2017-11-23T16:00:49 | 24,687,713 | 16 | 14 | null | 2017-01-10T17:36:25 | 2014-10-01T17:22:03 | C++ | UTF-8 | R | false | true | 4,740 | rd | query_master.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/query.R
\name{query_master}
\alias{query_master}
\alias{query_interval}
\alias{query_day}
\alias{query_week}
\alias{query_month}
\alias{query_year}
\alias{sum_master}
\alias{sum_interval}
\alias{sum_day}
\alias{sum_week}
\alias{sum_month}
\al... |
a85435ebdba2b593bc1f9767de4f12042e79566c | 122659e9874d73b463cbb714db795f195f154a9b | /forest.r | a0b5189867e1be6ebffa202ce2af08ad5d8b02dd | [] | no_license | bertcarnell/Rsandbox | ac7e808b9446422cbc40e231f3b17b79ad87a35a | 11ef0962b9504a811bf5aa8aa064ddee0d059d75 | refs/heads/master | 2021-06-05T15:11:06.610766 | 2018-11-24T23:48:37 | 2018-11-24T23:48:37 | 5,023,424 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,807 | r | forest.r | require(randomForest)
require(RColorBrewer)
require(MASS)
data(iris)
set.seed(71)
iris.rf <- randomForest(Species ~ ., data=iris, importance=TRUE,
proximity=TRUE)
print(iris.rf)
## dirichlet based on confusion matrix
rdirichlet <- function(alpha, N)
{
samp <- function(a) rgamma(N, a, 1)
X ... |
99b31e6ce1710ecad67778e317eceff3d0165a73 | ba5a345909141b03e245fb0b082f500914e69267 | /scripts/Urs scripts/Individuals.R | 6586df3378effb0b3dee5554427d79f5a5060a90 | [] | no_license | urskalbitzer/paceR | d633974d8ca20ad51f2ee5a325356d057aac8ce4 | c9135cb0d816a364e02f8f1abc88bcc03a93f067 | refs/heads/master | 2020-12-30T19:58:42.306277 | 2015-07-09T17:47:57 | 2015-07-09T17:47:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 759 | r | Individuals.R | IDs.1 <- pace_db %>%
tbl ("tblIndividual") %>%
select (IndividualID = ID, Name = NameOf, ProjectID, DOB = DateOfBirth, SexID) %>%
# PrimateSpeciesID, CodeName, BirthdateSource, MotherID, MatrilineID, GroupAtBirthID,
# DateOfFirstSighting, DayDifference, AgeClassAtFirstSightingID,
# GroupAtFirstSightingID... |
5ef390deba2890aaeba1497d5d3372556bcf1159 | 7fdb62d438fe71cd478acdc7dc6a5a9bb817d7fb | /WordCloud/wordcloud.R | 8234cf0ee17c5716f2a044ac430d2bb6b50ccf94 | [] | no_license | burakaydin/materyaller | 8f5ffa9f3a06ce2945e6839f075c649fd45c04d3 | 1eb331e38868f0b8307ea8bae104c9da7624151b | refs/heads/master | 2021-06-22T02:19:43.454340 | 2020-12-20T19:03:37 | 2020-12-20T19:03:37 | 60,400,643 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 825 | r | wordcloud.R | load("TextMineMAT.Rdata")
head(tdm2)
str(tdm2)
# see http://btovar.com/2015/04/text-mining-in-r/
library(wordcloud)
comparison.cloud(tdm2, random.order=FALSE,
colors = c("deeppink", "yellowgreen", "red", "slateblue1"),
title.size=1.4, max.words=80,scale = c(5, 0.2))
commonality.clo... |
8aa3c506d93c9cc7ec5c0d57c9fe732e4cb25694 | 989814aeb27f2f15409022289c23d729354960cd | /structural-variation/scripts-projection/distribution_snps-LD-svs_all-chr.R | d069329d7a537dfab8eb6015e42c4cc60d5f34ab | [
"MIT"
] | permissive | HuffordLab/NAM-genomes | fc32949b689f546ec6e0a2663995de77e1e70fe6 | b510f8ec0514211f2205fd31ea4a8bbdfe071ba3 | refs/heads/master | 2023-04-18T21:26:46.147713 | 2022-03-02T20:17:55 | 2022-03-02T20:17:55 | 225,476,030 | 56 | 27 | MIT | 2021-11-05T21:40:45 | 2019-12-02T21:53:43 | R | UTF-8 | R | false | false | 2,290 | r | distribution_snps-LD-svs_all-chr.R | #### arguments for command line ----
args <- commandArgs(trailingOnly = TRUE)
# # help
# if (all(length(args) == 1 & args == "-h" | args == "--help")) {
# cat("
# Description: this script merges SNPs and SVs hapmap files from usda parents to be used in
# Tassel 5 when projecting SVs into RILs
#
# Usage... |
10a0aacc360d8fb273855e0c301a18829a9a6752 | ca320667401d6a391e393d8d456661a5a1878a58 | /R/suggested_speedups.R | a8422b1cae9137d134992b6f265b904b42c61082 | [] | no_license | HughParsonage/grattanReporter | 631672f8bd1b317cddc8817dc0c612e18b1c9b6f | fb474cf45e8257f4d5c3718b49e51229f5d2369e | refs/heads/master | 2022-05-01T14:52:15.929972 | 2019-03-10T01:30:09 | 2019-03-10T01:30:09 | 71,602,203 | 4 | 2 | null | 2020-04-16T13:07:22 | 2016-10-21T22:38:27 | TeX | UTF-8 | R | false | false | 294 | r | suggested_speedups.R |
read_lines <- function(...) {
if (requireNamespace("readr", quietly = TRUE)) {
readr::read_lines(...)
} else {
readLines(...)
}
}
write_lines <- function(...) {
if (requireNamespace("readr", quietly = TRUE)) {
readr::write_lines(...)
} else {
writeLines(...)
}
}
|
768af68dc4c20a443930daedbf37c2ec5ee7bb21 | 9374c7379cf458139eaae4bcebb9a1ac15ec8b11 | /tests/testthat/test-geom_junction_label_repel.R | 5cf7d41f59b99d2f45f1d7621ea2961e80501453 | [
"MIT"
] | permissive | dzhang32/ggtranscript | 2f7760b66e260f768636b29395d0f5b0f28e1c1f | b99da0d455f2e900e06d25530f23aa26d9436db9 | refs/heads/master | 2023-04-18T21:36:20.497042 | 2022-08-10T20:49:18 | 2022-08-10T20:49:18 | 441,221,677 | 94 | 6 | null | null | null | null | UTF-8 | R | false | false | 2,256 | r | test-geom_junction_label_repel.R | # manually create the expected introns
test_introns <-
sod1_annotation %>%
dplyr::filter(
type == "exon",
transcript_name %in% c("SOD1-201", "SOD1-202")
) %>%
to_intron(group_var = "transcript_name") %>%
dplyr::mutate(
count = dplyr::row_number()
)
# create base plot to ... |
0f509065f5eb1f2936f5f1c1a6d9c843dbf2bfa8 | 240e74793936b0f397d1ce7f00a0a3d859bcdc99 | /scripts/figure3a.R | a06abfda1014a01b5a8550d2a741419e5adb7528 | [] | no_license | shwetaramdas/maskfiles | c8cb95e9c85d79a9b1a21e25249591c3c74e6546 | 344b9d50c7d5112d4c73bc38733c19c2b1ab9e7c | refs/heads/master | 2020-03-22T06:28:08.096578 | 2018-12-23T21:56:48 | 2018-12-23T21:56:48 | 139,636,511 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,302 | r | figure3a.R | library(data.table)
library(ggplot2)
library(gridExtra)
library(data.table)
library(reshape2)
library(ggplot2)
library(stringr)
names = c("AC","BN","BU","F3","M5","MR","WK","WN")
#geneannotations = read.table("geneannotation_rn6.txt",skip=1,stringsAsFactors=F,sep=" ")
num_windows = matrix(0, 8, 21)
#the read depth ... |
33bf314f9643a45ee88983a2671c4b4e128a8891 | 1f5294c69bb921d4e1214ee507cea86f22e202aa | /R/group_bymzisotopes3.R | 2547f3eeea9f66d4f664d1f305f7485d4774ff0d | [] | no_license | stolltho/xMSannotator | 5f01adac2b8d6bac909f5b06fb27123c8e025910 | 2b5e9a0af8ee9af2946e9ee17a26c6b5efcb04e4 | refs/heads/master | 2022-11-21T14:00:44.551583 | 2022-10-30T16:06:12 | 2022-10-30T16:06:12 | 253,958,191 | 0 | 0 | null | 2020-04-08T01:50:55 | 2020-04-08T01:50:55 | null | UTF-8 | R | false | false | 1,996 | r | group_bymzisotopes3.R | group_bymzisotopes3 <- function(dataA, max.mz.diff = 30,
numisotopes = 4) {
# Step 1 Group features by m/zdim(data_a)[1]
mz_groups <- lapply(1:dim(dataA)[1], function(j) {
commat = {
}
commzA = new("list")
commzB = new("list")
getbind... |
f446eb10b14ab8a1eae080ad4769342b2f149324 | 2c381c17bf826631df214c4ee9de13094e5efb5b | /tests/testthat/test_BiclusterExperiment.R | a2d5beda83a6ebbd829491bbee40cc59464593cf | [] | no_license | jonalim/mfBiclust | 572452e3fd3392e1cf8c3ccd36012297abb41104 | 23225f6ace79a6aa2088926e7cb05e80578fe410 | refs/heads/master | 2020-03-19T08:02:15.453038 | 2019-02-12T17:26:54 | 2019-02-12T17:26:54 | 136,170,076 | 1 | 0 | null | 2019-01-16T17:59:05 | 2018-06-05T11:54:09 | R | UTF-8 | R | false | false | 3,029 | r | test_BiclusterExperiment.R | context("BiclusterExperiment")
if (!exists(".Random.seed", mode="numeric")) sample(NA)
oldSeed <- .Random.seed
set.seed(1261534)
input <- matrix(runif(n = 36), nrow = 6)
input[1:2, 1:2] <- 20
bce <- BiclusterExperiment(m = input)
singular <- matrix(c(1, 2, 3, 4), nrow = 4, ncol = 4)
bce.singular <- BiclusterExperimen... |
5b6dcd08c54ad81347999f8d653ec4ba585c26bd | 673e6e9de275bbbdc47320d5f7e3f4eb65017d79 | /man/corplot_2_var.Rd | ee61380a7777859ab5f45ac61409fdef1fdaa188 | [] | no_license | BaderLab/SummExpDR | a27ba1cb59881bc45a23b79349c713efff7d735e | 6b889f62213217deba7feb60085b0a4309ffe6d0 | refs/heads/master | 2023-06-05T16:00:31.485296 | 2020-10-13T20:15:13 | 2020-10-13T20:15:13 | 289,382,728 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 750 | rd | corplot_2_var.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PlotFunctions.R
\name{corplot_2_var}
\alias{corplot_2_var}
\title{2 variable correlation plot}
\usage{
corplot_2_var(
df,
var1,
var2,
color_by,
method = "pearson",
filter_by = NULL,
filter_class = NULL,
pt.size = 1,
alpha = ... |
367e3e7e9bed29be8fafd1d5ea47acccc6ac8bd2 | 005756c92713239c4d82b72e723f6a1934318e45 | /app.R | 93311798317e1f30c8b89ce3beae5ec9cb336ed6 | [] | no_license | hytsang/hkex | e9f8956a341e0c8ad4964bf2c8279a1877ed892a | 8ba59b451c85dbc073f71a22f1674011d3374bc4 | refs/heads/master | 2020-12-30T11:27:40.247185 | 2017-04-10T11:32:11 | 2017-04-10T11:32:11 | 91,555,026 | 2 | 0 | null | 2017-05-17T08:54:48 | 2017-05-17T08:54:48 | null | UTF-8 | R | false | false | 2,702 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(dplyr)
library(lubridate)
library(jsonlite)
library(tidyr)
library(shiny)
library(DT)
options("scipen"=10... |
1625c4157f144776fdfe5e3f7ad1d498d94f4dbc | 75bf5258a5b439f25741a7cecbd14c17c6a94f62 | /R/checkHeight_script.R | a06b0cfb7d953f95e736dd5398ad076fcb827b32 | [] | no_license | SebGGruber/sebExercise | 88070daec1b1540bce1ee45a9fe8c6eb6451d683 | c5349a5e4dbefbd79b73913ae39a4847f47b58e1 | refs/heads/master | 2022-11-18T11:46:43.247615 | 2018-11-14T23:18:26 | 2018-11-14T23:18:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,592 | r | checkHeight_script.R | library(dplyr)
age = c(19, 22, 21, 23, 22, 20, 28, 25)
weight = c(50, 75, 80, 56, 75, 58, 65, 82)
height = c(1.66, 1.78, 1.90, 1.72, 1.83, 1.68, 1.70, 1.85)
sex = c("F", "M", "M", "F", "M", "F", "F", "M")
students = data.frame(cbind(age, weight, height, sex))
students = transform(students, age = as.numeric(as.charac... |
75737f3f4286eaeae726978513fea0b4aac2a27f | 8da83ca3904a0dafdfac5bad581669922224605d | /metaviswiz.R | 190e1ecb0c8c1080f5343ddaed5ff20d8ddc0b3e | [] | no_license | csapou/metaviswiz | 835de093762a6d7c8daafa5bd70d1482e528db47 | 800d91c4537e63ae340959f93d7f4269b8cd8c3a | refs/heads/master | 2021-08-28T01:28:31.540969 | 2021-08-13T10:08:15 | 2021-08-13T10:08:15 | 201,441,426 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 34,397 | r | metaviswiz.R | #Testing two factor aut
#############################################################################################
#Create testdata Start#
#############################################################################################
library(microbiome)
library(dplyr)
data(dietswap)
#Create Metadata only include ... |
e856d9485e93ac9339898b69fe93a442a1fa0a8d | a7432a15fbaef2273640f0a6e043c2345838b74b | /03_Matrix_Factorization_CF.R | 334131956a797b0f11cd10a1a0ebd631ec5c8ec9 | [] | no_license | RooneySong/Collaborative_Filtering | 82b1aa51b1ec30743fa9d2ae08e496ec12287c1c | 5548448bba56cc08a96d1affeb3ed3ea43882718 | refs/heads/master | 2023-01-24T11:48:34.962006 | 2020-12-07T20:57:29 | 2020-12-07T20:57:29 | 319,366,768 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,592 | r | 03_Matrix_Factorization_CF.R | ###########################
# Input Dataframe Example #
###########################
# User ID Item 1 Item 2 ... Item 4 Item 5
# 1 7345 6 10 7 9
# 2 12431 NA 6 NA 7
# 3 22434 8 10 10 10
# 4 42635 7 9 7 7
# 5 456... |
6f4aafa9e25a6cfe36debfd395fb1d02e565678b | ead4cb575788865d09de14bda315b278324a42e4 | /R/update_library_path.R | 5b3eeee3283ba2aa3bbee0e4119643bc00310aa6 | [] | no_license | tmsinclair/RICT | 123a7349e608867577ab82566077eacf2c7819d1 | 46befb52f3b37ffb276a1331ce4ee61d0119592a | refs/heads/master | 2022-04-08T14:00:40.465414 | 2020-03-19T12:34:07 | 2020-03-19T12:34:07 | 248,495,325 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 127 | r | update_library_path.R | .libPaths(c("U:/R/library", .libPaths()))
options(pkgType = "binary")
install.packages("", lib = "U:/R/library")
library()
|
dca6fb106c05bdbc5e2ca88f58ea75533de3d5e4 | 47bddfe0c98960a69a335e7721fa1df227549648 | /writeup/cogsci2018/analysis/study2a/IAT_utils.R | 7dfad9ed19dadefb0509ed47f9d70bd557279b0f | [] | no_license | mllewis/IATLANG | d604e8e376bf211357c6dac6d46d34702b4691c2 | 451e273ec9adaf3ca6755108793f358958559c6c | refs/heads/master | 2023-02-09T16:47:26.413201 | 2023-02-06T17:16:47 | 2023-02-06T17:16:47 | 109,060,091 | 16 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,985 | r | IAT_utils.R | ## IAT effect size utility functions for embedding models ##
# wrapper for ES function
get_ES <- function(df, model) {
print(pluck(df, "test_name"))
es <- prep_word_list(df[-1:-2]) %>%
get_swabs(., model) %>%
get_sYXab()
data.frame(test = pluck(df, "test_name"),
bias_type = pluck(... |
accbdd6497e5455bdcfee1dcb37d5351bf3cfae4 | bf8556f971d62c20c8a3942636c3edb531c9ea6e | /figure/plot3.R | 84a7959b675d502bb607f3364d57ce22ad1a7ca5 | [] | no_license | jaguayor/ExData_Plotting1 | f594639e40cb49c1906a27b0ac91fff4decf99ab | 13146e70714269b4f76e3124b1e5ae63c15bb4fb | refs/heads/master | 2020-04-24T17:45:42.921983 | 2019-02-24T21:03:22 | 2019-02-24T21:03:22 | 172,158,023 | 0 | 0 | null | 2019-02-23T01:39:41 | 2019-02-23T01:39:40 | null | UTF-8 | R | false | false | 1,661 | r | plot3.R | #Reading, naming and subsetting power consumption data
#reading the data
energy <- read.table("household_power_consumption.txt",skip=1,sep=";")
# name the labels appropiately:instead of v1,v2 ... we name them
names(energy) <- c("Date","Time","Global_active_power","Global_reactive_power","Voltage","Global_intensity"... |
5f0ae0adceb09a282db85b875abff180e3ae36f8 | b3be9c0fe8ab960adcfe6eac692591d03abfdf19 | /man/hist3d.io.Rd | 6c7fbe1645db45c7f26240252c4cec55e1add7e4 | [] | no_license | MarceloRTonon/ioanalysis | aac83125c72967fe0de061a7f10ea6f4e024e90a | b19288cc9f2362943192a3b7d0139488020183b5 | refs/heads/master | 2022-12-13T22:57:09.366586 | 2020-09-18T16:40:16 | 2020-09-18T16:40:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 879 | rd | hist3d.io.Rd | \name{hist3d.io}
\alias{hist3d.io}
\title{3D Histogram of Input-Output object }
\description{Produces a three dimensional histogram from plot3d}
\usage{
hist3d.io(obj, alpha = 1, phi = 65, theta = 45, limits,
colors = ramp.col(c('yellow', 'violet', 'blue')))
}
\arguments{
\item{obj}{T... |
07a8f54ee1a7a95666a54f91a1a128a804a47ecb | 05c9b338ceb1e637ff56ed4076c294033c6a8ddf | /data/test_set_data_prep.R | 5ba4523157b216044bfee0aa4f46d0d0d70231e2 | [] | no_license | Preetis17/home_prices | 1984c7a761f3bdcc8e5b51a0074b7d8448476fa5 | 14349b393a233f57b0b53a665044712d54ea8b89 | refs/heads/master | 2021-01-01T18:51:17.013754 | 2017-07-24T03:11:58 | 2017-07-24T03:11:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,574 | r | test_set_data_prep.R |
# ... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# ... directories
# ... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
home_dir <- "~/_smu/_src/home_prices/"
setwd(home_dir)
data_dir <- "./data"
sas_dir <- "./sas_analysis"
setwd(home_dir)
# ... -=-=-=-=... |
1affa2f4fd162ad3f40edd0113999c88c2902516 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/modelfree/examples/locglmfit_private.Rd.R | 9009a4e1f197c2309ecf522cfe00b3cda5d3693c | [] | 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 | 428 | r | locglmfit_private.Rd.R | library(modelfree)
### Name: locglmfit_private
### Title: Local generalized linear fitting with usual (non-sparse)
### matrices
### Aliases: locglmfit_private
### Keywords: nonparametric models regression nonlinear
### ** Examples
data( "01_Miranda" )
xnew = 1.2 * (0:99)/99+0.1
h <- 0.2959
fit <- locglmfit_privat... |
8b343e4a56aaf1e72cf9984a58679d49ea5e8ba4 | 199abcb64f2e2600be40063a79e98f8ff4a09181 | /R/btools.r | 3e4291822fa6fc21b2b22e1ec97919509a963538 | [] | no_license | ykim0902/btools | e318aedc2bec402837b5029a09340f162fb9ca6c | 6380a231e70ed78878530b3058c1d75cd04acc9f | refs/heads/master | 2021-01-22T14:25:32.556699 | 2015-04-29T13:48:28 | 2015-04-29T13:48:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 181 | r | btools.r | #' btools.
#'
#' @description
#' Tools that I use regularly.
#'
#' @section Overview.
#' @section Examples. ht(popst)
#'
#' @name btools
#' @docType package
#' @import dplyr
NULL
|
b9b49229b0ec36a2151a4a208384431e13f5e1e7 | 6a12c6f132a636c04c80bd5305cfec3d10bd8f19 | /tidyr_practice.R | 4b79c1572cc507989ae5f5a1a9275ab44c4b0147 | [] | no_license | IrinaMax/R_descr_stat | 5fce9379e9aa6cb4647e146655a7b7d80508b5ae | 07b650b8b609de483d0f0dee1c79cea1d8f476c0 | refs/heads/master | 2020-04-02T05:14:51.715494 | 2018-12-14T05:55:18 | 2018-12-14T05:55:18 | 154,061,259 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,103 | r | tidyr_practice.R | # Let's make the data tidy. #https://campus.datacamp.com/courses/education-data-analysis-primer-r-dplyr-and-plotly/getting-fancy-with-plotly?ex=2
#Load the tidyr library
library(tidyr)
#Gather the data
GatheredStudentData <-StudentData %>% gather(Indicator,Score, -SID,-First,-Last)
GatheredStudentData%>%summary
# Remov... |
15faeede0bc4a83884a514902ab269d951c9c32b | a6f40d2dcecf67016d8791dd8f1cad3d3f7bd7a4 | /man/rmsd_calc.Rd | f2e005c40004877ec17f035f96bb6069be16abcf | [] | no_license | wongswk/compass | 304d357928424330010d9a82292a137fd7ccce9e | 0589697d56d76a1cc18e74082689f4d678ca0c56 | refs/heads/master | 2022-01-26T10:58:03.218499 | 2022-01-08T21:06:12 | 2022-01-08T21:06:12 | 155,491,031 | 2 | 1 | null | 2022-01-08T21:06:13 | 2018-10-31T03:10:09 | R | UTF-8 | R | false | true | 1,519 | rd | rmsd_calc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pdb_rmsd_final.R
\name{rmsd_calc}
\alias{rmsd_calc}
\title{Least Root Mean Squared Deviation for Molecule Conformations}
\usage{
rmsd_calc(pred, truth, n=NULL, m=NULL, atype='all', optimal=FALSE)
}
\arguments{
\item{pred}{matrix containing pr... |
104e712e3c346476dab6331ad87b1c9f238ad646 | f256fd8f31ea589cae179c155f44b7e4f8de744a | /tests/testthat/test-roc.R | a021ac8ca11fd77159c7eba0c8889b19172dffdd | [] | no_license | cran/performance | 9578b76fd8981e5896d25d036cb8439e8b01c24a | c44285dff9936445c56ec8b83feb7ff9cae3fa81 | refs/heads/master | 2023-06-08T08:42:02.230184 | 2023-06-02T10:30:02 | 2023-06-02T10:30:02 | 183,289,241 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 758 | r | test-roc.R | skip_if_not_installed("ISLR")
data(Smarket, package = "ISLR")
m1 <- glm(am ~ vs + wt, family = binomial(), data = mtcars)
m2 <- glm(Direction ~ Lag1 + Volume, family = binomial(), data = Smarket)
roc1 <- performance_roc(m1)
roc2 <- performance_roc(m2)
auc1 <- bayestestR::area_under_curve(roc1$Specificity, r... |
8d3f41b5d45413cfa3d7c97a1a9344edce92fa81 | fececa38a6bc74110469588ad0a4885eb578c5b6 | /inst/staticexports/cat.R | 8f78c165f401646aaab6acc78a711c14ea3f7cad | [
"MIT"
] | permissive | cpsievert/staticimports | cfdd11749ee2086e267e722469bddb7578fdd0fb | 7c26b9e022d822a01ca8ff321ebaae258e50e277 | refs/heads/main | 2023-08-27T02:38:45.995659 | 2021-04-15T04:41:52 | 2021-04-15T04:44:45 | 424,739,205 | 0 | 0 | NOASSERTION | 2021-11-04T21:02:24 | 2021-11-04T21:02:22 | null | UTF-8 | R | false | false | 123 | r | cat.R | cat0 <- function(..., sep = "") {
cat(..., sep = sep)
}
catln <- function(..., sep = "") {
cat(..., "\n", sep = "")
}
|
8c19e5282ecbe14d9e5bc3129e7b0f51ae609241 | 08a6e8e2b86a015fe6f847102bf244fc1ce18d6a | /4-Demography/PCA/plot.PCA.R | e490d319f75ff089eb31b516489c0b4d39bc3402 | [] | no_license | dechavezv/2nd.paper | 40d5578aef8dfdaa07a5d9eb27c9f632f0750cd3 | ffa6506ec062bc1442e3d0ee7325f60087ac53e1 | refs/heads/master | 2020-12-19T21:31:43.317719 | 2020-08-07T05:46:59 | 2020-08-07T05:46:59 | 235,857,029 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,680 | r | plot.PCA.R | ##### Load libraries
library(gdsfmt)
library(SNPRelate)
library(ggplot2)
library(RColorBrewer)
##### Set working directory?
todaysdate=format(Sys.Date(),format="%Y%m%d")
calldate=20200504
setwd("/u/scratch/d/dechavez/rails.project/SNPRelate")
plotoutdir=paste("/u/scratch/d/dechavez/rails.project/SNPRelate",calldate,"... |
af609a3140a943bc967ef45ef7166e1f8ec0eac4 | bfb0dd605dbe9a50903dc13ea49b04edb027a868 | /man/EWHP.Rd | 09fd2363fa83c1df33befb04e3a45ef255628dc5 | [] | no_license | GWmodel-Lab/GWmodel3 | 6492b18e70d7ab58076acd9ad7bdb58a7e40c2bf | 42e756431500fb84fc777594c80bca78a2de0f02 | refs/heads/master | 2023-08-09T15:33:12.321389 | 2023-07-25T11:18:30 | 2023-07-25T11:18:30 | 567,957,637 | 0 | 1 | null | 2023-09-14T15:35:53 | 2022-11-19T02:05:58 | R | UTF-8 | R | false | false | 1,838 | rd | EWHP.Rd | \name{EWHP}
\alias{EWHP}
\docType{data}
\title{House price data set (DataFrame) in England and Wales}
\description{
A house price data set for England and Wales from 2001 with 9 hedonic (explanatory) variables.
}
\usage{data(EWHP)}
\format{
A data frame with 519 observations on the following 12 variables.
\describe{
... |
a0ec7bf5e69d4f07f19f053f6f02bbcc0afc0a5e | ec266aaef98cd9f59ccc84852a53dac3609a15d0 | /man/shp_list_files.Rd | 1dc17d77fe8b9698a8b189b9b2aaf42f5d1bc3a2 | [
"MIT"
] | permissive | dleutnant/shp | bf40c2dc83aca2a57fbe7e33057402a94c2fcabc | 76cc909bba82d0390f259f21fa779a0fae3d0a23 | refs/heads/master | 2023-03-16T03:46:26.686210 | 2021-03-06T02:33:33 | 2021-03-06T02:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,323 | rd | shp_list_files.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shp-aux.R
\name{shp_list_files}
\alias{shp_list_files}
\alias{shp_delete}
\alias{shp_copy}
\alias{shp_move}
\alias{shp_assert}
\alias{shp_extensions}
\title{List files associated with a shapefile}
\usage{
shp_list_files(file, ext = shp_extens... |
2f22581b3752aa8906fa48fafe01856cc82642f9 | 59269fb30524f0abe2142df42ebf156bd5d7831d | /explanatory_note.R | 0decfe2fc87391e7cf9025337b84685b1ef39405 | [
"MIT"
] | permissive | philippasigl/FinancialFlowsEuroArea | 4d89001f0bf82ad5838a9777852bd1e72371d63d | adfb442d6463f7aca81c67eaa1cd85fc277cd13b | refs/heads/master | 2021-05-05T09:06:17.568933 | 2018-02-10T15:07:56 | 2018-02-10T15:07:56 | 119,179,864 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,013 | r | explanatory_note.R | #explanatory text accompanying the financial flows graph
expl<-paste("The data shown reflects quarterly net transactions. Valuation effects are not captured. Data is not seasonally adjusted.",
"Blue lines go from financier to asset, green lines from asset to recipient of the funding. Arrows point in the di... |
e1351169dae67bb55b301f955044265b28fd50df | 3aca2ac08437fc0652cd2b6cdd95020ab8236ecd | /R/calculate_bld.R | 2a1de2785d92dcd32f46e14c09297e82b7200124 | [] | no_license | sean-rohan-NOAA/TLUtilities | 064f555531e82d4828ec9df3e5d2597a9dd3eae5 | 3d3302f973ec9bd1571aba915ed93d9e9f8dbf46 | refs/heads/main | 2023-08-11T02:07:15.227477 | 2021-09-28T01:05:24 | 2021-09-28T01:05:24 | 149,823,824 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 779 | r | calculate_bld.R | #' Calculate bottom layer depth using a threshold method
#'
#' @param rho Numeric vector of densities
#' @param z Numeric vector of depths. Depths are positive.
#' @param ref.depth Thickness of bottom layer to use for calculating bottom layer density
#' @param totdepth Maximum depth sampled by the cast
#' @param thresh... |
d134eddd6b79334b9ccf1e37eff32307abd758ae | 3bdf47d64b71f5629c0eee89fb1f5fb1c78a1542 | /Celgene/curation/archive/2017-04-05_table_flow.R | a8fe0c2559c8e4f9c8a7580728e4fc94408b27d7 | [] | no_license | celgene-research/mgp_ngs | c40b97d95565e24a035920070956c10074fadb21 | 7e664256f611a380fd82ab17d8f078f7f0d80b32 | refs/heads/master | 2021-03-16T10:06:01.344782 | 2019-04-04T19:42:13 | 2019-04-04T19:42:13 | 63,191,892 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,691 | r | 2017-04-05_table_flow.R |
source("curation_scripts.R")
#
# read in unfiltered per.file tables (clinical, translocation, snv, cnv, rna, bi)
# filter to include only nd.tumor files
# cbind to get per.file.all.nd.tumor
#
# collapse each individual table to patient
# export each molecular table as per.patient.snv.nd.tumor ...
# cbind alon... |
c9687884bc87d20c250d7d1a58837dc64379197a | fd570307c637f9101ab25a223356ec32dacbff0a | /src-local/specpr/src.specpr/fcn48-51/gcrd.r | c5b4beae61a4d4029631634a8810a4db39d1d7e7 | [] | no_license | ns-bak/tetracorder-tutorial | 3ab4dd14950eff0d63429291c648820fb14bb4cb | fd07c008100f6021c293ce3c1f69584cc35de98a | refs/heads/master | 2022-07-30T06:04:07.138507 | 2021-01-03T22:19:09 | 2021-01-03T22:49:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,690 | r | gcrd.r | subroutine gcrd (nchan,ydata,xdata,ixx,xpos,imatch,iopcon,irtn)
implicit integer*4(i-n)
#ccc version date: 16-Dec-88
#ccc author(s): roger clark; modified by wendy calvin for function 50
#ccc language: ratfor
#ccc
#ccc short description:
#ccc this subroutine reads the graphics cursor position
#ccc ... |
a2e6ce165aa69d5bcf3322f695c61f712fbc51c1 | 3e6363c14b1fe300f616b7941262f05a5fb28b57 | /1.4.MBH_design_BRUVs_not-clustered.NPZ6.R | bce4e1d291b197ba2e79e7db2ff53089bacb107c | [] | no_license | anitas-giraldo/MBH_AbroNPZs | f5f2e71182a95dfa75129e53c2f0f0be7a2784e3 | 4a5f31bfcd6bf19962aed57cc2146847b1f1cfb0 | refs/heads/master | 2023-06-08T08:38:47.104088 | 2021-06-10T00:20:37 | 2021-06-10T00:20:37 | 349,294,095 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,232 | r | 1.4.MBH_design_BRUVs_not-clustered.NPZ6.R | ### ### ### MBH design clustered BRUVs ### ### ###
# libraries ----
#install.packages("MBHdesign")
library( MBHdesign)
library( parallel)
library( class)
library( fields)
#install.packages("pdist")
library( pdist)
library( raster)
library( rgdal)
library( sp)
library( rgeos)
# clear environment ----
rm... |
b7f1384f22bb14f84962bfab3467c849491ea35a | b92b0e9ba2338ab311312dcbbeefcbb7c912fc2e | /build/shogun_lib/examples/documented/r_static/kernel_linearstring.R | 55763ee39f22a5e4133e7903df2522ec8cfd8ed3 | [] | no_license | behollis/muViewBranch | 384f8f97f67723b2a4019294854969d6fc1f53e8 | 1d80914f57e47b3ad565c4696861f7b3213675e0 | refs/heads/master | 2021-01-10T13:22:28.580069 | 2015-10-27T21:43:20 | 2015-10-27T21:43:20 | 45,059,082 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 732 | r | kernel_linearstring.R | # This is an example for the initialization of a linear kernel on string data. The
# strings are all of the same length and consist of the characters 'ACGT' corresponding
# to the DNA-alphabet. Each column of the matrices of type char corresponds to
# one training/test example.
library("sg")
size_cache <- 10
fm_t... |
659d95f38fb3504e85edbcf6920e44676f6e5c06 | b48d77a827e6afa5f1f09e7fbf83a851ee11103c | /code/fix_theta_residuals.R | bbe95cefba2231126781d8bfc7ddabdce6833222 | [] | no_license | blakeharlow/ground_truthing | 6c4334eab60d41f29118f86fdc9dd08d5393b229 | d5770c377e2df03d3df3d03b4b931039ad57a9df | refs/heads/main | 2023-07-19T08:25:25.148950 | 2021-08-02T15:06:05 | 2021-08-02T15:06:05 | 382,028,780 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,389 | r | fix_theta_residuals.R | # This function takes a theta_residual (in degrees) and returns
# the corresponding angle that is closest to
# zero, ie between -180 and 180.
# There are a few cases for theta_i that need to be accounted for:
# CASE 1: if 0 <= theta <= 180:
# leave theta_i unchanged
# CASE 2: if 180 < theta < 360:
... |
8b7dbdad2d8b0554a0853fef50c9fbbfe7663a8a | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Linear_Algebra_And_Its_Applications_by_David_C._Lay/CH1/EX1.32/Ex1.32.R | 625da44830fc61fa1d5139cfa5ab0b6ade947f59 | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 607 | r | Ex1.32.R | #Chapter 1 - Linear Equations In Linear Algebra
#Supplementary Exercises
#Page No.58 / 1-46
#Prob 7a
#7a
#clear console
cat("\014")
#clear variables
rm(list=ls(all=TRUE))
v1v<-c(2,-5,7)
v2v<-c(-4,1,-5)
v3v<-c(-2,1,-3)
v1=matrix(v1v,3,1,TRUE)
v2=matrix(v2v,3,1,TRUE)
v3=matrix(v3v,3,1,TRUE)
print('... |
2e45777be62855f1e8bb08ddd596c09ce894510f | 40458078168c2577b22dee7b1d04abd5c5d4d87c | /man-roxygen/roxlate-object-estimator.R | 8f0af275285010e4958e59b89a472615d4a4e0ef | [] | no_license | muratmaga/tfestimators | edfd89dd942dd3290d07ff0950aa762177397dca | d035c96576c69eb907006afbb37466d5547e6cac | refs/heads/master | 2022-12-24T07:40:00.947716 | 2020-09-29T18:56:32 | 2020-09-29T18:56:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 41 | r | roxlate-object-estimator.R | #' @param object A TensorFlow estimator.
|
3cce656fa84a4b8a9682a9866bc3c3b51e8a9ee8 | 32ed69ea8721f9913b704a1223e13a6fe398374b | /man/format_data.Rd | d2fc8559afc3904d3586cf3c207a37d69a393d5c | [] | no_license | mlysy/losmix | 1957a388845bafba673c41c609ef1aee32aaefc9 | 16de5dbeb18d89a45f658e93e3c6b276e9ac1f13 | refs/heads/master | 2021-06-22T23:05:57.787587 | 2021-01-13T14:38:26 | 2021-01-13T17:35:15 | 180,701,572 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,249 | rd | format_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{format_data}
\alias{format_data}
\title{Format data for \pkg{TMB} calculations.}
\usage{
format_data(y, X, id)
}
\arguments{
\item{y}{Response vector for all subjects. A vector of length \code{n}.}
\item{X}{Covariate matrix fr... |
b80a783b1432159478566809ef320dedf0d6a236 | 88ddabe0777c9e789c54a2ff3ebeb9446692805e | /nm.R | 88bde0ee2694850f1cb5039be29213c6bf23106f | [] | no_license | gcgibson/navajo_nation_analysis | b9f9ea7f330f3c409a3ecd65ad6fe4fcf8d92b55 | 9d68c82a15178495e33f2354d80c8113b54b43c5 | refs/heads/master | 2022-11-05T13:33:38.715619 | 2020-06-17T23:15:23 | 2020-06-17T23:15:23 | 273,043,089 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,686 | r | nm.R |
format_county_str <- function(x){
tmp1 <- str_split(x,",")[[1]][1]
return (str_remove(tmp1," County"))
}
library(stringr)
library(dplyr)
##
confirmed <- read.csv("/Users/gcgibson/Downloads/covid_us_county.csv")
confirmed_nm <- confirmed[confirmed$state == "New Mexico",]
num_counties <- length(unique(confirmed_n... |
455f52f5da667d74aafda20654bc56ccf599c690 | c5707b03ca4c5015fdd48aa98a87c1d038b0ed7f | /mc/man/library.mc.Rd | b3e7f1a5de47feecaeaa813fe61cbf427e470773 | [] | no_license | nhtuong/mc-r | e145ab2a130c90ab57ea0ce7fc10e2f740f39e9a | 50e523c1ce2d8ec323f7cb3a58e2d8edd8dc211d | refs/heads/master | 2020-05-17T16:05:53.766057 | 2015-01-07T11:44:01 | 2015-01-07T11:44:01 | 33,657,174 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 375 | rd | library.mc.Rd | \docType{methods}
\name{library.mc}
\alias{library.mc}
\title{Loading and Listing of Packages}
\usage{
library.mc(pkg, repos = "cran")
}
\arguments{
\item{pkg}{name of package}
}
\value{
A list of attached packages
}
\description{
On-the-fly load or install a package
}
\author{
Hoai Tuong Nguyen
}
... |
641aca96378118cad5af0f995ea8a71bc7f51563 | d41d3ec09a06a39c0e711aa7eed14bb2a7aa7052 | /hw2/StatsII_Week_2_16Nov2015_BB.R | 09130928fb7f2afbe5b2aa67d5828b6fe0960b8e | [] | no_license | andregalvez79/Statistics_Course_Master | 7618817bf6bb4f6368b54fd3f852bd69ec4b5dc6 | 1a508aee5adc87b3951ab971f1dedcc7747f280d | refs/heads/master | 2021-05-04T13:02:51.378568 | 2018-02-05T13:13:15 | 2018-02-05T13:13:15 | 120,306,092 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,827 | r | StatsII_Week_2_16Nov2015_BB.R | # Example R Script for the course "Analyzing in R" (aka Stats II), version 2015
# Week 2
# Bernd Figner
# the FMF book (only in chapter 5, but it's already handy for us now) introduces the package pastecs, in particular the handy command stat.desc() that gives descriptive statistics; so let's try this out.
# p... |
2a39c14cc7f8d65536b5113de56bd22da5eb7cbe | a785e6399877781758e769334e50538d108d320d | /man/infuse.Rd | e861c943ffbed7cd6bdc6af2dd2eb2413c3ada38 | [] | no_license | fxcebx/infuser | 63be56e95f7f7ed650e796a4f1d0f4c60e4de0e9 | 630f39212a2f6f3e5e05c6ebc43b21d4f7449638 | refs/heads/master | 2020-12-11T03:32:25.922616 | 2015-05-30T06:09:58 | 2015-05-30T06:12:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,683 | rd | infuse.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/core.R
\name{infuse}
\alias{infuse}
\title{Infuse a template with values.}
\usage{
infuse(file_or_string, key_value_list, ..., variable_identifier = c("{{",
"}}"), default_char = "|", collapse_char = ",",
transform_function = func... |
0aedac0f84469b158787a832e39faf858efe6b9c | d353c4f3157e925a465c6b1422ab2421a3afb89e | /bin/tsvToBigWig.R | 7f82d594e9eea5e4c79fc96b216db96a284eea89 | [
"MIT"
] | permissive | NCBI-Hackathons/Epigenomics_CWL | a26a38f10ba568dc10cc0177ef502e2074e5442c | 934baaadf133eda785426079d98489307d02f3d7 | refs/heads/master | 2020-05-25T21:51:05.200521 | 2017-03-25T19:20:28 | 2017-03-25T19:20:28 | 84,972,914 | 8 | 9 | null | 2017-07-22T06:09:01 | 2017-03-14T16:37:07 | R | UTF-8 | R | false | false | 1,567 | r | tsvToBigWig.R | #!/usr/bin/Rscript
# Outstanding issues:
# Test whether guessing seqlengths creates erroneous BigWIGs (do they load in IGV/GViz/whatever)
library(getopt)
spec <- matrix(c(
'infile', 'i', 1, "character",
'outdir' , 'd', 1, "character"
), byrow=TRUE, ncol=4)
opt = getopt(spec)
in.file <- opt$infile
out.dir ... |
8680ae79ff92d3d0280dbe8fe56b19660a189c89 | 2bd826cc936ce2d53997ee8b72459248a905a4cb | /cachematrix.R | e13c7538fd89adb789c65afa945fa81ab8a3b90b | [] | no_license | forumvisitor/ProgrammingAssignment2 | 1ee6deb1ed23051610e58f4216df0b00acca01f5 | 64898f57be83d64561f0ef8481fa13c5471d1876 | refs/heads/master | 2021-01-22T12:48:56.298486 | 2015-11-22T10:57:29 | 2015-11-22T10:57:29 | 46,654,876 | 0 | 0 | null | 2015-11-22T09:59:28 | 2015-11-22T09:59:28 | null | UTF-8 | R | false | false | 1,463 | r | cachematrix.R | ## Description:
## Cache the inverse of a matrix rather than compute it repeatedly .
##
## Usage:
## m <- matrix(c(1:9), nrow=3, ncol=3)
## cachedMatrix <- makeCacheMatrix(m)
## cacheSolve(cachedMatrix)
##
## cachedMatrix$set(m) # Set the matrix to be cached.
## m <- cachedMatrix$get() # Returns the... |
9dc3dab4f128350772ed94c01069e60d259a0a38 | f684ffa27e0e63ab6395378ea5919a3ba9b9802a | /code/models_glm.R | 4c0a94a8780a5fe4b9299279cde3dc8a7d9e9dae | [] | no_license | Dean-Sun/Baseline | 79ce0d13a4c0e0446b52ba46ea824754559defce | 43723334918287ae4f5f35e85f0ca9ea326cf00e | refs/heads/master | 2020-06-20T07:55:20.346537 | 2019-08-23T20:34:33 | 2019-08-23T20:34:33 | 197,050,395 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,354 | r | models_glm.R | library(tidyverse)
library(data.table)
library(h2o)
library(MLmetrics)
library(lubridate)
source('code/tools.R')
source('code/plott.R')
# start h2o session
h2o.init(nthreads=-1, max_mem_size="16G")
train = h2o.importFile(path = 'data/csv_cut/data_train.csv')
valid = h2o.importFile(path = 'data/csv_cut/data_val.csv')
... |
6f45a813159e14775942668f20d47079a8e93bfa | 6a21ff9cd2b4438a7b6cbbf3e020523f042866c6 | /tests/testthat/test_Consistency.R | 5d7b54ed358eea8ba090520da81a671ac3bcde7c | [
"Artistic-2.0",
"MIT"
] | permissive | rikenbit/gcTensor | 6545ccd97dbc83a1b2e472bdc6853ca8a2865b74 | 8a5c05b74e73493fe6a81443b2811da3f41f2368 | refs/heads/master | 2023-07-26T10:48:04.383065 | 2023-07-06T12:46:06 | 2023-07-06T12:46:06 | 168,929,267 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,124 | r | test_Consistency.R | #
# Test Consistency of Objects
#
# Test C-1: X and Z
# CP
## I
expect_all_identical(
dim(X$X1)[1],
dim(X$X2)[1],
dim(out.CP_EUC$Z$A)[1],
dim(out.CP_KL$Z$A)[1],
dim(out.CP_IS$Z$A)[1])
## J
expect_all_identical(
dim(X$X1)[2],
dim(X$X3)[1],
dim(out.CP_EUC$Z$B)[1],
dim(out.CP_KL$Z$B)[1... |
4ef09a7e483ac4bda14fe66dcbab86744dff774f | 5cc5926c9d1bb30674876dd6d1c609f4d5f8af25 | /src/FNS_ParseURLs.R | 84d8a7a931fc949b4ab6050f941e42f735ca4480 | [
"MIT"
] | permissive | mhsmario/PrevineBrasil_NewFinancingModel_PHC | b7e1b3bc45483c8c9fd634f539004e429ac782ac | ae43ee0818b6c8d166aac8bc2410a2c13eb19bb0 | refs/heads/main | 2023-01-24T21:18:36.981333 | 2020-11-28T17:08:43 | 2020-11-28T17:08:43 | 316,774,325 | 1 | 0 | MIT | 2020-11-28T16:38:46 | 2020-11-28T16:24:09 | null | UTF-8 | R | false | false | 3,772 | r | FNS_ParseURLs.R | ##FNS 2019
library(data.table)
library(stringr)
library(dplyr)
mytxtfiles <- list.files(path = "~/Documents/WB/Health/data",
pattern = ".txt$",
full.names = T)
txt_results <- data.frame()
for (i in 1:length(mytxtfiles)) {
txt <- read.csv(paste0(mytxtfiles[i]), sep = ";", comment.char = "#", ... |
088a91b0292ff765152bd261a8dfad3918e96bca | 77dca6a841e1fb02fa27a55a0d1bf6bbc2eb8047 | /BLM Grid improved (R:C++)/BMLGrid.Rcheck/tests/testthat.R | 1262d25a57f093c7b0504d4be273d728e4c59649 | [] | no_license | vladimirsemenp/Projects-in-statistics | 8d61f47ecb56919bcaabe59133bfa35d7db3b5f0 | 26ac7696c78c26a30d245a03451a60cc2a310f32 | refs/heads/master | 2021-01-10T01:28:26.147453 | 2015-10-10T23:25:52 | 2015-10-10T23:25:52 | 44,030,337 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 58 | r | testthat.R | library(testthat)
library(BMLGrid)
test_check("BMLGrid")
|
f68abfe84dadd84c83199a5125ea65a783ec4c81 | 7f7f3498b162234f986502dba4b4f6bb50e5c7fd | /run_analysis.R | c0bc16bd844ed046d4045f5d792a9c59b7b737a7 | [] | no_license | stephaniebeard/Tidy | 09107e4082b0fb236f2992973bf599a7f8ffb837 | 3a4bf0e17dfab6eb24e65b9516f318cc028c762b | refs/heads/master | 2020-06-20T21:00:15.629511 | 2019-07-17T05:09:13 | 2019-07-17T05:09:13 | 197,247,022 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,804 | r | run_analysis.R |
# You should create one script called run_analysis.R that does the following.
# 1.Merges the training and the test sets to create one data set.
# 2.Extracts only the measurements on the mean and standard deviation for each measurement.
# 3.Uses descriptive activity names to name the activities in the data set
# 4.Appr... |
31990d905a440f157abd9d8e7b051f573dd0da99 | a9ceb2c8a4f33e6f9eb31650bc0dba68fb090468 | /models/gamye_season_blank.R | 2fb127af4980faffb10f5b6402169232cc6d0232 | [] | no_license | AdamCSmithCWS/BBS_seasonal_shift_ALHU | 348f638535ae7963f327b5cf3845ca01a1ad6e95 | d42c0575b86c584fc9c6a62ad7340a9e87eab831 | refs/heads/main | 2023-04-14T17:57:54.902976 | 2021-08-06T15:06:30 | 2021-08-06T15:06:30 | 393,386,547 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,743 | r | gamye_season_blank.R | model
{
#### counts and overdispersion effects ###### Hierarchical GAM model with additional random year-effects
#### builds on the GAM model used in 2016 work
### not yet applied or tested
for( k in 1 : ncounts )
{
log(lambda[k]) <- obs[strat[k],obser[k]] + eta*firstyr[k] + strata[strat[k]... |
692403fec12a5ec4cbde80cacc8eabc93c585f78 | 379f840dea3ed2dd096beef70c98eca12de1ecfa | /derived/d_combine_matrices/4_combine_all.R | b583af7eb3c0a5a45eb1a96430ee8da2a645823a | [] | no_license | junukitashepard/homies | bb7efd0a9055f8d1471e3a8c00bc63b8fbe8c6e1 | 9693b456f4b2be229b26fb53afbc7a674ae4287d | refs/heads/master | 2023-01-02T13:01:13.985401 | 2020-10-31T00:21:08 | 2020-10-31T00:21:08 | 285,435,869 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,459 | r | 4_combine_all.R | ######################
# Dissect Eora table #
######################
rm(list = ls())
wd <- "~/global_energy/"
cwd <- "~/global_energy/derived/d_combine_matrices/"
setwd(wd)
source(paste0(wd, "/derived/0_globals.R"))
source(paste0(cwd, '1_setup_emptymat.R'))
source(paste0(cwd, '2_insert_domestic_submat.R'))
source(pas... |
f21117c89fdbfd5a04d68e1c985ec8070837f47f | 63a6c9882091d70a53728b0db4228ccb498534ad | /man/summary.gears.Rd | 37906d2b6b23aa58115888a4440d5cac67fb6de2 | [] | no_license | gustavo-argus/gears | 61970d6a6a22b260ea62e3122bb25578b8b847d5 | 4650311862f526102f78fd4d4a2d072110654ad9 | refs/heads/master | 2023-01-07T19:02:32.162729 | 2020-11-03T16:03:02 | 2020-11-03T16:03:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 391 | rd | summary.gears.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary_gears.R
\name{summary.gears}
\alias{summary.gears}
\title{Summary method for "gears" class}
\usage{
\method{summary}{gears}(object, ...)
}
\arguments{
\item{object}{An object of class "gears"}
\item{...}{Other arguments passed to or ... |
30629f4b1448d7943c95470681cf1c925a68b627 | e3ec859e7d220cfbd53efede83a1e6a34d2e806c | /R/GetListOfThresholds.R | f5850e955fecd87ff6395d44b43426e55e852c4d | [
"MIT"
] | permissive | Rassigny/Rassigny | 639c78e54a6cd0fb178a4b4eb831083f759e5d86 | 03bf79c4adf21d1017bc28a8b490707f743555a5 | refs/heads/master | 2020-07-20T12:29:53.229976 | 2019-10-23T02:00:38 | 2019-10-23T02:00:38 | 206,640,353 | 0 | 1 | MIT | 2019-09-20T22:20:11 | 2019-09-05T19:21:02 | null | UTF-8 | R | false | false | 1,382 | r | GetListOfThresholds.R | # Function that returns a list of thresholds for corresponding assignment.
# If taskID in the argument is specified, this function returns a threshold
# for corresponding assignment and task.
GetListOfThresholds <- function(assignmentID, taskID=NULL) {
# creating a logger object
GetListOfThresholdsLogger <- loggin... |
25e19f83a5f5fc1985617a658153b043bafcc23f | fb036b826e32f4700c44a912079fa8ba3ba19f60 | /GraphicsPaperCompetition/code/BayesAnalysisW.R | 2eac93b740a111bd3035dc78dd99285c994b2fdc | [] | no_license | srvanderplas/LieFactorSine | d10ad465ff5706fdd7f9b8bc9017cb6464a75e8e | 7934646013864b0283f5259a36b7ffce0c2cc84a | refs/heads/master | 2021-01-19T00:16:29.391362 | 2015-05-21T13:53:50 | 2015-05-21T13:53:50 | 8,753,157 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,640 | r | BayesAnalysisW.R | setwd("/home/susan/Documents/R Projects/LieFactorSine/")
load("./code/BayesAnalysisW.Rdata")
require(ggplot2)
require(reshape2)
require(plyr)
require(msm)
turkdata <- read.csv("./data/turkdataclean.csv", stringsAsFactors=FALSE)
setwd("./code")
#-----------------------Distribution of W---------------------------------... |
10c5c76b809da6f07b917cbd723a4599881da082 | e09cdbc1259ec0efae301e120dd18744c979b77c | /functions/LoadersFunctions.R | 34bdc552d134ea540a26f9fb08a1ae63dcb23b6d | [] | no_license | Zireae1/16s_study | a06f18d980baf685d43ef14dfb2b8c2d7d7cc25b | a896199e568f880a6a6952d468190b18e3937898 | refs/heads/master | 2021-01-18T01:50:59.487926 | 2016-03-11T09:40:58 | 2016-03-11T09:40:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,705 | r | LoadersFunctions.R | ########################################################
## Loading functions ##
########################################################
library(futile.logger)
# Loading case and control
Load <- function(pathway)
{
flog.info("start load table")
family <- UniteMatrices(read_qiime_s... |
5ff43f531ddf3e565a6f0688d0507602549649e8 | cf6d6b48a353b9d4807176064c1ba3db0bab3ee0 | /R/install_h2o.R | c4bf896677ee47635e21a2c2f6dd5d495dc963dc | [
"Apache-2.0"
] | permissive | javierluraschi/rsparkling | 05673ee602032dbab77713bd9bb74fc2a13fa660 | 4acb98ce989978718a8d93ddf75d6f9cb065d6bc | refs/heads/master | 2021-01-25T07:07:10.139239 | 2017-01-31T22:39:52 | 2017-01-31T22:39:52 | 80,698,186 | 0 | 0 | null | 2017-02-02T06:02:45 | 2017-02-02T06:02:44 | null | UTF-8 | R | false | false | 3,234 | r | install_h2o.R | #' An easy installation of the H2O R pacakage
#'
#' @param release_name Object of type character that specifies the release name of the H2O pacakge
#' @param release_number Object of type character that specifies the release number of the H2O pacakge
#' @examples
#' \donttest{
#' #Install the latest release of H2O on ... |
579a13cc75cacf3cc7edd1d391c4f3b23f550d49 | d8ad56cf1976c5ee086f441bcc1ab82d999f3291 | /R/get.R | a213e2c1e678d5016d656ecb484bd0dc8047863d | [
"MIT"
] | permissive | ataustin/covid19us | 4430efb1bd39a9e07beb51f06bbb6d49d00ed7b6 | c300a30acb64333360d2c85d8cce507396e52084 | refs/heads/master | 2022-04-13T08:58:58.914526 | 2020-04-11T15:25:58 | 2020-04-11T15:25:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,700 | r | get.R | #' Get current counts for every state
#'
#' @return A tibble with one row per state and columns for individuals' COVID statuses (positive, negative, pending, death) and their total.
#' @export
#'
#' @examples
#' \donttest{
#' get_states_current()
#' }
get_states_current <- function() {
get("states")
}
#' Get daily c... |
f8b00da82e15414cea87cbfdd09ba6bae324b040 | fb916588f8fdcbe08b9e9d057f9657912d55b60d | /bootSSR/R/ssr_methods.R | b3d04dd5fb6275065307162af0bdf3a48d41d49d | [] | no_license | VictorAether/SSR-with-resampling | a559c1ad365c481765563f00b341af4ea073665c | 18f9fd89f808252a9f6748be28463ac23eec1498 | refs/heads/main | 2023-03-18T00:42:58.352516 | 2021-03-18T10:03:16 | 2021-03-18T10:03:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,850 | r | ssr_methods.R | #-------------------------------------
# Observed conditional power approach
#-------------------------------------
recalculateSampleSize_ocp <- function(design, t1, w1, w2, nmax, t1_boot) {
n <- design$n1 * (1 + ((qnorm(design$beta) - qnorm(1 - design$alpha_1) *
sqrt(w1^2 + w2^2)/w... |
61cc035be18dbfea985544ef56c1a9203523ed8c | 6d8814c8d9b0aed27d626327583c47e434c39fe1 | /task3/ui.R | 6b5b98c1725bc04668a0222668b40756085d8b51 | [] | no_license | mbilychenko/MMP19 | 70d3527cd19f506f25c7b275183a39cedebdf30f | c0a53bbbc6bc8bd5a865875ad693b16a59342658 | refs/heads/master | 2020-04-22T12:32:57.821580 | 2019-07-31T18:50:25 | 2019-07-31T18:50:25 | 170,375,696 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,151 | r | ui.R |
library(shiny)
shinyUI(navbarPage("Задача №3",
tabPanel("Результат",
# Sidebar
sidebarLayout(
sidebarPanel(
sliderInput("n",
... |
71b85feb863334ed93f2160a6e9d9e21402bb499 | aaf2ec8b4e7fbd7bbc8165498e564332fa4b9494 | /full data setup.R | 8d5eda8ec1364e8dd34e8ba8d9a9598a9c878f38 | [] | no_license | tobiasdahlnielsen/P8 | 336f517321de00b32567c7e3b143cedacebea892 | 49ce49d453789dc4c4c9d81451fdb596ab690c4f | refs/heads/master | 2022-10-05T04:10:15.547561 | 2020-06-11T06:08:25 | 2020-06-11T06:08:25 | 260,437,092 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,593 | r | full data setup.R | library(ghyp);library(tictoc);library(tidyverse);library(magrittr);library(lubridate);library(beepr)
setwd("~/P8")
load("~/P8/altdata.RData");remove(ACAS,HBAN)
list <- list.files(paste0("al data"))
list <- str_remove(list,c(".db"))
list <- list[-which(list=="MTB")];list <- list[-which(list=="ICE")]
getdbdata ... |
8fa77729efd0a0b3f31203690c721f5465f2cee9 | c4545e79e1d43501204b60fd92555dc7428d6b79 | /ui.R | 89565946cfe32caef6270f9148b09d38cf2c1c53 | [] | no_license | hemanshu9s/capston_project | fd6abc1abd0020f1244ad79d5fc456e71f28b0db | 0f1826dbcc9be523c1da996cfc128f0647d7fbc0 | refs/heads/master | 2021-05-01T15:45:29.060554 | 2018-02-07T20:42:57 | 2018-02-07T20:42:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 948 | r | ui.R | #
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define UI for application that draws a histogram
shinyUI(flui... |
312a37337576e7bc639089439271795d4a6c3d83 | 3044a8d0f80b0cc8d94815de99b716c570addf3a | /final.R | 2b653757502b2f96f621f0e31fc14055013ce38f | [] | no_license | agobeljic1/Employee-HR-attrition-IBM-dataset- | 100c651d123d4763eb9099108709f4675ab4a075 | d5aff8652f17a8c7819d48a6d51f6a4a1a8dc8dd | refs/heads/master | 2020-11-26T12:12:53.736232 | 2018-12-24T14:04:30 | 2018-12-24T14:04:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,048 | r | final.R |
library(Amelia)
library(ROCR)
HRA1 <- read.csv("D:/imarticus/Project/Attrition.csv",na.strings=c(""," ","NA"))
View(HRA1)
colSums(is.na(HRA1))
summary(HRA1)
names(HRA1)
dim(HRA)
library(ggplot2)
ggplot(HRA1, aes(x=Attrition)) + ggtitle("Attrition") + xlab("Attrition") +
geom_bar(aes(y = 100*(..count... |
257d36bbb5496b2d247899d2a7ea1d9e11ba90cd | 1712ed440489db168071b533ff8e79a1ede57df7 | /R/spatial.occupancy.R | aa97df91479fe5632d942c3b8ed31b738bb104d3 | [] | no_license | dsjohnson/stocc | 2947fc1f52e54e6e1747485fc3d905e7078bebc2 | 584c24792bb3c6083de274fab839a3f713c4adf0 | refs/heads/master | 2022-10-21T01:42:42.469014 | 2022-10-05T18:52:47 | 2022-10-05T18:52:47 | 14,853,161 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,354 | r | spatial.occupancy.R | #' Fit a spatial occupancy model using Gibbs sampling
#'
#' This function fits a spatial occupancy model where the true occupancy is a
#' function of a spatial process. An efficient Gibbs sampling algorithm is
#' used by formulating the detection and occupancy process models with a probit
#' model instead of the trad... |
59e35675a00735d7be36d156449943fcae4b29a4 | 29585dff702209dd446c0ab52ceea046c58e384e | /mixOmics/R/Mfold.R | 2151c5511ddd6f5c6a547cd468be4002e7199999 | [] | 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,614 | r | Mfold.R | # Copyright (C) 2009
# Sebastien Dejean, Institut de Mathematiques, Universite de Toulouse et CNRS (UMR 5219), France
# Ignacio Gonzalez, Genopole Toulouse Midi-Pyrenees, France
# Kim-Anh Le Cao, French National Institute for Agricultural Research and
# ARC Centre of Excellence ins Bioinformatics, Institute for Molec... |
32c0f132c2b6b50833014065cc3ffd590a831585 | b3f0ad3934f871dfe1105a8168d0f91048c0420c | /R/years_to_rownames.R | 49cac28425de1ab9ed88614cfe0c4e0f79794b0c | [] | no_license | cran/dendroTools | 25739b0411af2f8a9114e46c01641fac4b40e538 | 51c3eed999c8d27b38ea7d2edd91cb0063cf2127 | refs/heads/master | 2023-07-20T07:48:19.869232 | 2023-07-17T12:50:02 | 2023-07-17T14:34:17 | 105,138,038 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,002 | r | years_to_rownames.R | #'
#'
#' Function returns a data frame with row names as years
#'
#' @param data a data frame to be manipulated
#' @param column_year string specifying a column with years
#'
#' @return a data frame with years as row names
#'
#' @export
#'
#' @examples
#' data <- data.frame(years = seq(1950, 2015), observat... |
a3d6534cdc1ea2452f8ad26c190b7a0dd964c09e | 9f273727d61fea30a468dc1e5f8c7b6fd14ed0eb | /lookupNPIs_APIcall.R | ac86ec6cf07cba6aaee83ff028fc4268ec572751 | [] | no_license | checono/christine_code | 3f9ec0cb8c6bdf67800d0aca1e8fa1120f4f5d85 | 3ba222656405a8c12bbe8eb3e56cd8932606071c | refs/heads/master | 2021-01-12T00:05:27.566184 | 2017-01-11T19:57:25 | 2017-01-11T19:57:25 | 78,672,198 | 0 | 0 | null | 2017-01-11T19:32:41 | 2017-01-11T19:30:44 | null | UTF-8 | R | false | false | 2,315 | r | lookupNPIs_APIcall.R | require(xlsx)
require(jsonlite)
require(XML)
require(RCurl)
library(plyr)
data <- read.xlsx("//Econo-file1/users/Shares/ZJ5586B/R/NPIs_to_Check_20161118.xlsx", 1)
output <- data.frame(matrix( nrow= length(data$NPI), ncol= 6))
colnames(output) <- c("NPI", "credential", "desc", "license", "primary", "code")
l... |
d4a13db6a1ce8b95734e3946b76dfe7e29f5440a | 78bd071a206d4f35a02520a27a6d5e0434c152c6 | /R/rotation_matrices.R | 1d4648a28dfb2a67e7b456bcbe99bd4a14e7b2b2 | [
"MIT"
] | permissive | Middleton-Lab/KinematicAnalysis | 96c1ab00ee8e24bbf970a9755c2c82c9e36219e9 | 8e1e4e4a064e8f873af4b9ed1eaadefa629ec1d3 | refs/heads/main | 2022-05-01T05:49:42.457253 | 2022-03-25T02:46:33 | 2022-03-25T02:46:33 | 240,816,100 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,195 | r | rotation_matrices.R | #' Calculate rotation matrices for a set of calibration coordinates
#'
#' @param cal_coords Coordinates of calibration object in wide format.
#'
#' @return List containing:
#' `Rx` and `Ry` Rodrigues rotation matrices to zero about the x and y axes
#' `cal_rot` Calibration points rotated about x and y
#'
#' @export
#'
... |
e63e6d4fbcbb6145a34099fe0ddb419fd8b68788 | 01b1302af51d339f7c8827a620c4a5fb26c890f1 | /resource_tracking/analysis/deliverables/_DRC 2019 report analyses/report_graphs.r | 556c946e516dc8b42cc033b32a3090d0112c4dec | [] | no_license | ihmeuw/gf | 64ab90fb5a5c49694bde1596f4b20fcf107a76e3 | 29e0c530b86867d5edd85104f4fe7dcb1ed0f1ee | refs/heads/develop | 2021-08-15T02:16:59.086173 | 2021-08-03T19:52:31 | 2021-08-03T19:52:31 | 109,062,373 | 3 | 6 | null | 2019-03-21T01:48:02 | 2017-10-31T23:17:16 | R | UTF-8 | R | false | false | 6,002 | r | report_graphs.r | #------------------------------------------
# Specific graphs for the DRC report
# Updated by Emily Linebarger November 2019
#------------------------------------------
rm(list=ls())
library(data.table)
library(ggplot2)
library(RColorBrewer)
library(scales)
options(scipen=100)
source("C:/Users/elineb/Document... |
49381f04f6b63dfab0378f2c1d29a26b4ffee231 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Maeswrap/examples/plotuspar.Rd.R | 9dcaef28ec61897b61764c9de8d9a82d2d4fa336 | [] | 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 | 419 | r | plotuspar.Rd.R | library(Maeswrap)
### Name: plotuspar
### Title: Plot the understorey PAR points
### Aliases: plotuspar readuspar
### ** Examples
## Not run:
##D
##D # Plot one hour of the first day, showing incident PAR on understorey:
##D plotuspar("ipar", day=1,hour=12,makepdf=FALSE)
##D
##D # Make pdf of the whole day, plot... |
5a79bf3041bd9f8754027526ed58743ff2f98bdf | 46cc65e160ccf5e0189f893127f0229807842f96 | /adhoc/old.R | 2bf723c22d23b3a411ea71c18eb949038d6bff7e | [] | no_license | minghao2016/filearray | dfc3dfc97724ae1285e9cb4a7b28ee2ccc0194e7 | 9f49882c508b83c6b95f3e71513472bb88f824aa | refs/heads/main | 2023-08-04T03:36:40.130475 | 2021-09-20T10:07:32 | 2021-09-20T10:07:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,599 | r | old.R | # previous implementations in R
caster <- function(type = c('double', 'integer', 'logical', 'raw')){
type <- match.arg(type)
switch(
type,
double = function(x){
if(typeof(x) == "double"){
return(as.vector(x))
} else {
return(as.double(x)... |
77626b92e080c969be8196a1efdba03c1a024280 | 67e58cd3324dbdb981002e680488e5aa88266111 | /STAT_636/R Scripts/Data-Specific/Textbook/T5-8.r | c558bd5c046320b5c277675cbbf1a7caebf0a6db | [] | no_license | mauliasavana/Statistics-Masters | b8a152870e528cb653dfb921cf1fd53202ecfe78 | c89c2f36d05d5936404d5f460b1a2bdb01a93f3a | refs/heads/master | 2021-08-27T17:18:16.994407 | 2017-05-13T12:09:28 | 2017-05-13T12:09:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,226 | r | T5-8.r | ####
#### For each of n = 16 time periods, we have the number of overtime hours of 5 types in
#### the Madison, Wisconsin police department. The overtime types are (1) legal appear-
#### ances, (2) extraordinary event, (3) holdover, (4) compensatory overtime allowed
#### (COA), and (5) meetings.
####
library(plotri... |
4fcfe51396d8b9a67105c50e81e0d462503692ac | 3c5deaa7540688e7332a4b838ddb442bed8f1101 | /fonctions/functions.R | 8653aacad8a66811c7d586594b10ad3ea605f0e6 | [] | no_license | gaohan0416/sy09-p2 | 69842986954333661f6fba616f1c3eb3ea426861 | 86ad9c6913335891f15c493ba02d63f72792552f | refs/heads/master | 2020-03-19T06:23:38.431459 | 2018-06-29T19:51:26 | 2018-06-29T19:51:26 | 136,015,294 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,261 | r | functions.R | library(Rlab)
library(MASS)
library(rpart)
#calcul du taux d'erreur pour l'analyse discriminante quadratique (ADQ)
calculTauxErreurADQnoSep <- function(donn){
n <- ncol(donn)
X <- donn[,1:(n-1)]
z <- donn[,n]
donn.sep <- separ1(X, z)
Xapp <- donn.sep$Xapp
zapp <- donn.sep$zapp
Xtst <- donn.se... |
ff1b90b4a0cf7d2d81e7b9076e502650b1a7fbe3 | a4d1f5e97734429a77a8ab1585ee4ec2175fb48f | /trainingGGPLOT2.R | 5bc4bbe32b7bb3dcbdb1b681bce5115acd24eabb | [] | no_license | obaidM/Advance-R-programming-DataVisulization | c2e4e8f0b13229e1b63e5f6b8ca5cf40e18ea3cb | 7a6a85f92062a0861786eea72e21e6e0e86033cc | refs/heads/master | 2021-01-01T06:23:27.285463 | 2017-07-17T00:22:37 | 2017-07-17T00:22:37 | 97,419,063 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 448 | r | trainingGGPLOT2.R | library(ggplot2)
library(ggthemes)
df <- mpg
df1 <- txhousing
#q1
#pl <- ggplot(df,aes(x=hwy))
#pl <-pl + geom_histogram(fill='red', alpha = 0.6,bins=20)
#q2
#pl <- ggplot(df,aes(x=manufacturer))
#pl <- pl + geom_bar(aes(fill= factor(cyl) ),alpha = 0.6,position='dodge')
#q3
pl <- ggplot(df... |
f963c835aaf8ef3b497a5ec4541b045fc6b4fdc5 | 283ee52a10131297b23c885a1de3c221ed8af25f | /man/adeproLogo.Rd | d14199449665d257b654d25ccd7c1b7dac218c44 | [] | no_license | cran/adepro | 0cda24b9c32be406d302b7ee42d05160802e79b4 | 22a3fee9fbeca27351e187c4c206ef40e710932a | refs/heads/master | 2021-07-25T19:19:09.707141 | 2021-07-06T09:20:02 | 2021-07-06T09:20:02 | 96,978,803 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 554 | rd | adeproLogo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adeproLogo.R
\name{adeproLogo}
\alias{adeproLogo}
\title{adeproLogo Function that creates a div container for the AdEPro Logo}
\usage{
adeproLogo(height = 230, width = 160, align = "right")
}
\arguments{
\item{height}{height of the ... |
3513c38e52a4751b74884f5e898a4874efcf4bed | 1eaecdaf4971803f97238b9d78cc0caa080aace6 | /man/BayesSAE.Rd | ca58b4e65be702c85a9b6a26f8d059d3db48305d | [] | no_license | ssoro411/bayesae | 250995dec082e02dc64a92d518b040107782b08d | 2de4f32926c3d1c6c81471a8af35c1c00780d070 | refs/heads/master | 2021-06-29T04:10:48.474966 | 2019-12-03T02:36:14 | 2019-12-03T02:36:14 | 102,888,086 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,436 | rd | BayesSAE.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BayesSAE.R
\name{BayesSAE}
\alias{BayesSAE}
\title{Univariate hierarchical Bayes approach to small area estimation.}
\arguments{
\item{formula}{formula}
\item{data}{Data frame with direct estimate and auxiliary variables.}
\item{Di}{\code{m... |
3930fdee8104f632a2d676b905e76e002221c244 | 405814ab45ea197f8d5cb3576545c1526b44b1ed | /pml-prediction.R | a5669c69dd2dcad620857df88345dcd3d70895f6 | [] | no_license | kisscool62/Machine-Learning | 41991d45b19ee1120ec984615e31fd13159ce806 | 2a0ba55e49a5ab811551b4899ed09f96872dcaee | refs/heads/master | 2021-01-25T12:13:28.828622 | 2015-06-21T21:12:57 | 2015-06-21T21:12:57 | 37,784,158 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,898 | r | pml-prediction.R | ###################################
#
# prediction model for pml
# coursera machine leaning project
#
###################################
training_raw <- read.csv('pml-training.csv', dec = '.', na.strings=c(""," ","NA", "#DIV/0!"))
testing_raw <- read.csv('pml-testing.csv', dec = '.', na.strings=c(""," ","NA"))
libra... |
5a4b85a8b7abc438db71b8fc175a3122bd5e2775 | 35c741fe1331be9fd2214c7b2cc3e5bcaddba833 | /simmen/man/getParameterMatrix.simmen.Rd | 316972484e4bbe5ec2f1970eb1b50dfb9cc7d18e | [] | no_license | ctszkin/simmen | 717d73f06572ee3cc78fb82670966098b61fa330 | 3a08eae0a3385f2b810991cff575d19722302289 | refs/heads/master | 2020-05-17T05:44:58.805273 | 2014-06-17T11:04:11 | 2014-06-17T11:04:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 539 | rd | getParameterMatrix.simmen.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{getParameterMatrix.simmen}
\alias{getParameterMatrix.simmen}
\title{getParameterMatrix.simmen}
\usage{
\method{getParameterMatrix}{simmen}(x, tail, ...)
}
\arguments{
\item{x}{x}
\item{tail}{tail}
\item{...}{can specify the name of one parameter(e.g. getParam... |
4a091d3285efb5798b3bd89bc1b1df10f3f4e7ca | b949481ed26efb37c36ccee00c0f4418ad269a6b | /man/tpptrTidyUpESets.Rd | 625f5f6498d28996ac923a86ed425d54dd22941c | [] | no_license | andreaschrader/TPP | 207a302363f2a26db884ae190f3eead27475fc48 | f2cab6cf7b152f0801581aeca569fd4c5f8a6cba | refs/heads/master | 2023-08-27T20:31:27.139608 | 2021-10-29T21:56:55 | 2021-10-29T21:56:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,209 | rd | tpptrTidyUpESets.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tpptrTidyUpESets.R
\name{tpptrTidyUpESets}
\alias{tpptrTidyUpESets}
\title{Tidy up expressionSets}
\usage{
tpptrTidyUpESets(tppESetList, returnType = "exprs")
}
\arguments{
\item{tppESetList}{A list of expressionSets, returned
by most TPP-TR... |
b86e5183b17721898d9cdb5a879b9cf444fe5ecf | 2a8bd79984eefe94fcb2619bcb3bef6f70f3e1eb | /driverslicenses.R | 4ced4169e97afc1dc648da88ed8a514ae385b09a | [] | no_license | paulgp/driverslicenses | 5c2198251dd8632e6067d65a74dc7dc7463d3d78 | d13ec4d6a8ac0cf8976887bca2f4b8afde64419b | refs/heads/master | 2020-09-17T08:15:47.207727 | 2019-11-26T00:49:29 | 2019-11-26T00:49:29 | 224,049,987 | 0 | 2 | null | 2019-11-26T00:49:30 | 2019-11-25T22:03:11 | R | UTF-8 | R | false | false | 2,735 | r | driverslicenses.R | library(readxl)
library(tidycensus)
library(tidyverse)
library(ggrepel)
state_youth_pop <- read_excel("state_youth_pop.xlsx") %>%
gather(year, pop, -Geography) %>%
mutate(year = as.numeric(year)) %>%
rename(STATE = Geography)
driverslicenses <- read_excel("driverslicenses.xlsx", sheet = "Sheet2") %>%
gather(ag... |
904ae86a360b41cd1d5eb9c7742b8b9fe0297d7d | 492effa10aab9a468e67eafb124a38630ae9673b | /Kokemaenjoki/Rsrc/1.6_Comp_NEP_rh.r | 9414dbbcc8cd1ee25a3e96e7a8bf90bfccb81295 | [] | no_license | ficusvirens/IBCcarbon_runs | fad930f476aeb57af6a9de6ea00e81f50055b995 | 0f395bfe0c60bd7200857065c290c31de7c6de17 | refs/heads/master | 2023-05-08T03:06:03.324978 | 2021-05-27T08:56:51 | 2021-05-27T08:56:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,385 | r | 1.6_Comp_NEP_rh.r | .libPaths(c("/projappl/project_2000994/project_rpackages", .libPaths()))
libpath <- .libPaths()[1]
devtools::source_url("https://raw.githubusercontent.com/ForModLabUHel/IBCcarbon_runs/master/Kokemaenjoki/Rsrc/settings.r")
source_url("https://raw.githubusercontent.com/ForModLabUHel/IBCcarbon_runs/master/general/function... |
7c67d84cccbc529c6134eaf4775fcbe811a9b0a7 | 7ebe128fc17cdc0e2f534dbe5940774e98da4ce8 | /R/optimizers.R | cb0a5001fd20d0ad5f023c231cb5314a3f72e06b | [] | no_license | cran/bamlss | 89f8d08be4599c03120acb9ed097c31916d1ef21 | 5535fb038104cdd3df08eccb92863a778cd56e75 | refs/heads/master | 2023-07-17T04:24:23.253981 | 2023-07-04T06:30:02 | 2023-07-04T06:30:02 | 82,776,249 | 2 | 5 | null | null | null | null | UTF-8 | R | false | false | 221,915 | r | optimizers.R | ##################################################
## (1) Generic setup function for smooth terms. ##
##################################################
## For each s() term, an additional list() named "state" must be supplied,
## within the list of specifications returned by smooth.construct(). This list
## contains t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.