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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cb051a7e15ad9f6046b70a4f2c4f75770d943866 | 326cc069990dc4a1bb1e020344749ec4188d8827 | /CREATE_TIMELINE_LAB_RESULTS.r | a0f2eee8972ee4f0a33596220ab043e3f61557c8 | [] | no_license | iuabhmalat/mmrf_scripts | a622072d968782c876357c80cc98f6842956f635 | 272faaa029e77fabced1a1ed1f31c8d87e374039 | refs/heads/master | 2023-04-14T22:52:11.626776 | 2021-04-19T21:23:58 | 2021-04-19T21:23:58 | 288,565,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,340 | r | CREATE_TIMELINE_LAB_RESULTS.r | library(purrr)
library(dplyr)
setwd('c:/Users/abhmalat/OneDrive - Indiana University/MMRF_CoMMpass_IA16a')
#bone_cols <- c("PUBLIC_ID", "BA_WASABONEASSES", "BA_DAYOFASSESSM", "BA_TYPEOFBONEASS", "BA_SPECIFY", "BA_IMAGEINTERPRE",
# "BA_LYTICLESIONS", "BA_OFLYTICLESION", "BA_OSTEOPENIAOST", "BA_PATHOLOGIC... |
c97f2877c8c0da69e420e259156b0afcca80ebfd | 0329874372a50960f4d0c5cd4055fd2c076f40bd | /man/setReduce.Rd | 0c07965a11dcb3fee6919599eb0c2f2a0e231771 | [] | no_license | bomeara/doRedis | 470f7b3e877edeef575db168c6d1d462955eb552 | 5d2725e91c566df97d4473b6501e9a05d41abdfe | refs/heads/master | 2021-08-19T11:49:37.497437 | 2017-11-26T03:21:45 | 2017-11-26T03:21:45 | 112,051,830 | 0 | 0 | null | 2017-11-26T03:06:18 | 2017-11-26T03:06:18 | null | UTF-8 | R | false | true | 1,523 | rd | setReduce.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/doRedis.R
\name{setReduce}
\alias{setReduce}
\title{Set two-level distributed reduction}
\usage{
setReduce(fun = NULL)
}
\arguments{
\item{fun}{a function of two arguments, set to NULL to disable combining, or
leave missing to implicitly set ... |
3adee09747fdca7b1ed87981a4563ec8df3206a3 | 56dd625b8daa7d50aaef1e457e74e2801cb39a95 | /demo.R | 17f9d0d84e1c7b1999687dafc86ee9a44da3b4b0 | [] | no_license | moomoofarm1/eSNN-2 | 2fbc0912aa5393a2ac42fc12606dbeaf17dec442 | 1f2436485c15a22c20b6003ca94e3e53bc68ae44 | refs/heads/master | 2021-05-31T10:51:36.646641 | 2016-05-03T11:01:00 | 2016-05-03T11:01:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,889 | r | demo.R | rm(list = ls())
source('main.R')
########################
#
# Demo of the ESNN
#
########################
doTheTest <- function(datasetName, esnn){
availableDataSets <- c('s', 'i', 'w' ,'bc') # spiral / iris / wine / breast cancer
if(length(which(availableDataSets==datasetName))==0){
cat(paste('\nDataset un... |
456330bcea7c67913d76ff606a05cf08e552d877 | e7600a22232d22511f3a77ce1da5f89d6a5a6440 | /src/allen/wgcna/initial_clustering_tom_filtered_phenotype_separate.R | 4bcb343a73f1c3e70d59de0aaf8425bd3635bdbe | [] | no_license | SuLab/expression_map | aba55c8d21e65fa4b000144126352e8df373e83a | 72e266417f114c4f2a1094419622aabd4f40765e | refs/heads/master | 2021-10-11T21:19:24.791487 | 2019-01-29T23:23:34 | 2019-01-29T23:23:34 | 110,739,279 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,378 | r | initial_clustering_tom_filtered_phenotype_separate.R | library(WGCNA)
enableWGCNAThreads()
setwd('/gpfs/group/su/lhgioia/map')
options(stringsAsFactors=F)
tpm.dat <- read.table('data/allen/tpm_matrix.csv',sep=',',header=T)
var.genes <- readRDS('results/allen/variable_genes_log_4k.RDS')
allen.meta <- read.table('data/allen/allen_meta.tsv',sep='\t',header=T)
tpm.dat <- ... |
4427f4f72227319e0a85ccda66dc908a77f4f630 | 5fbd7b46fe555db6271ddd423ff74039e989f4a2 | /Course3/Week4/Quiz.R | 1ede1652dc77ba741bcf17ba04bc16be169bfef8 | [] | no_license | TD0401/datasciencecoursera | b3efa4cbf15a20fb287c8dfbffee013a0dfabcea | 0c369e98f9db1a830cae9df1ca3a7ca1f69ed7bc | refs/heads/master | 2023-02-12T02:54:43.759691 | 2021-01-03T18:44:06 | 2021-01-03T18:44:06 | 263,995,059 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,157 | r | Quiz.R | problem1 <- function(){
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv"
if(!file.exists("data")){
dir.create("data")
}
if(!file.exists("data/Idaho.csv")){
download.file(fileUrl ,"data/Idaho.csv",method = "curl")
}
df <- read.csv("data/Idaho.csv")
strsplit(names(df),... |
c78b13d54fe075b482f8dc384aae5e8db224c5e7 | 2b9ce821f8453b8626f8563979859b9cc91f81b6 | /BreastCancerModel.R | 023bcc6410c4cabce5eb4f04e707e9296e37c5f2 | [
"Apache-2.0"
] | permissive | lawhitmi/BreastCancerPrediction | 9841ba0317c60b7066c42ab7314cf69f6d692faa | 4c267e1d2474be342462cadaf63b09d85823571a | refs/heads/main | 2023-02-13T08:25:52.376540 | 2021-01-10T19:21:06 | 2021-01-10T19:21:06 | 320,080,891 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,038 | r | BreastCancerModel.R | # Breast Cancer Prediction
library(ggplot2)
library(pROC)
# Load Data
data = read.csv('Data/wdbc.data', header=FALSE)
summary(data)
dim(data) #569 x 32
# Add in column names from the documentation
colnames(data) = c('ID', 'Diag', 'radius', 'texture','perimeter', 'area', 'smoothness', 'compactness', 'concavity',
... |
d5aa73214c426b2816061360d8e5d17161ff8859 | 40d361233b16f1427816d231d84f0678ca0916c7 | /plot4.R | df7e4cec61f0ab926ed1bc10ade882b1ed147e58 | [] | no_license | russ-macbeth/ExData_Plotting1 | 9d096cbef5d3f3a4b9e686780b1f673036bc2c57 | 388d2eb917c3a62aecbcc52eaa0b26c3e1d78e12 | refs/heads/master | 2020-02-26T16:12:27.086632 | 2015-06-07T07:11:28 | 2015-06-07T07:11:28 | 36,980,154 | 0 | 0 | null | 2015-06-06T13:00:13 | 2015-06-06T13:00:12 | null | UTF-8 | R | false | false | 1,785 | r | plot4.R | ## Plot 4 - script to replicate the first plot of the Exploratory Data Analysis Course
## course project 1
## Download Libraries
library(data.table)
## Download and unzip the data file
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
destination <- "file.zip"
download.fil... |
300c8ab1c102be63a1837ad52677d3b86d7c2be8 | c9b97474d53e4539301edff547a1e713171ac39d | /R/modeldb_metrics_summary.R | e9546166cb9c16ffc5d0e94a2af931c06d921088 | [] | no_license | botchkoAI/VertaProjectService | ae04865cbc8ea745c3241a92ee0dc13c4cad250f | 0f69f3389a1b2d9c03ce852755e232ac285b6d86 | refs/heads/main | 2023-06-02T02:06:25.903333 | 2021-06-16T22:21:48 | 2021-06-16T22:21:48 | 377,641,231 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,308 | r | modeldb_metrics_summary.R | # modeldb/ProjectService.proto
#
# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
#
# The version of the OpenAPI document: version not set
#
# Generated by: https://openapi-generator.tech
#' @docType class
#' @title ModeldbMetricsSummary
#'
#' @description M... |
780018b05403f328441e35231d0a75dd1551249a | 0ca11666bce33a12e0e33a972d53438d0dc3674c | /man/spss.format.concat.Rd | cd71f5e8d5c18f04b077dbf7ed9e377fb644c582 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | alixlahuec/syntaxr | 8305ac297632eda8c42325f0363c517f1581d47d | 252646cb70546f5f949bebec84482dff9f442cfa | refs/heads/master | 2022-11-26T20:50:47.540924 | 2020-08-04T21:33:20 | 2020-08-04T21:33:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 564 | rd | spss.format.concat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spss.format.concat.R
\name{spss.format.concat}
\alias{spss.format.concat}
\title{Generate SPSS 'concat()' syntax for two (sets of) variables.}
\usage{
spss.format.concat(var1, var2)
}
\arguments{
\item{var1}{the first argument for concat().}
... |
f97d7b87df0d87c4305354a1df12f9d0710a79fb | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/8789_2/rinput.R | de45378b9f4dabe617a9eac9330465bdc607f339 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("8789_2.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="8789_2_unrooted.txt") |
957075dad6eb4a99dfe187ccfe2d94076bd179c4 | 6593fa55f4216c069a8aa53d2475838b9a3db1c7 | /munge/analisis_mobike3.R | e2e9d944146ba3fb3580315de2d08a34c31751cc | [] | no_license | ecastillomon/ecoVIZ | d6eef354fd80ddcdf266c507e8a61872b9c2cce3 | 6d30494dd4f878b53bf046aff29ec67ba736451a | refs/heads/master | 2020-08-21T22:00:42.174077 | 2020-07-17T00:42:46 | 2020-07-17T00:42:46 | 216,253,783 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,420 | r | analisis_mobike3.R | library(dbscan)
library(dplyr)
library(sf)
# mobike=openxlsx::read.xlsx("data/Viajes CDMX con Colonias_Mobike.xlsx")
dat=mobike=openxlsx::read.xlsx("data/Viajes CDMX con Colonias_Mobike.xlsx",detectDates = TRUE) %>%
mutate_at(c("start_time_local","end_time_local"), function(x)openxlsx::convertToDateTime(x) )
df_sa... |
927309085bc59183ffd9e73d4bc003056ae753d6 | df8310cc55b81543af506f9b5b7b10dd2c3584b2 | /R/data.R | 0c1b95f5e22b8f0df1c89407b986b6c319288b32 | [] | no_license | fionarhuang/treeAGG | 0ea35361a226dee561d60d5e0e0e9274e426c3d2 | ca762c5db517bb6f50e816786cbfe853117fd095 | refs/heads/master | 2020-03-30T19:55:32.782546 | 2018-10-04T10:37:34 | 2018-10-04T10:37:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,004 | r | data.R | #' A simulated phylogenetic tree with 10 tips and 9 internal nodes
#'
#' A random phylo object created using the function \code{\link[ape]{rtree}}
#' @importFrom ape rtree
#' @format A phylo object with 10 tips and 9 internal nodes:
#' \describe{
#' \item{Tip labels}{t1, t2, ..., t10.}
#' \item{Node labels}{Node_11... |
fb2a0dc753f2bc79453c59bdb0dd809f0dce9d39 | bed5d80eca97175a1702a2a924e407f880cbe502 | /02_functions.R | fde663c4c82e7b25540c0c84c87ccc97ee08d1f2 | [] | no_license | Asiwome/phosp_report | 3a020d8dae085789da06b26ed9757db6f72bed7a | d8489cd78d631871d92ba08dc2a9b96d13dda3f9 | refs/heads/main | 2023-06-12T00:54:06.280792 | 2021-07-05T07:40:05 | 2021-07-05T07:40:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,022 | r | 02_functions.R | # PHOSP-COVID analysis: FUNCTIONS
# Any bespoke function is placed here.
# Centre for Medical Informatics, Usher Institute, University of Edinburgh 2020
# Functions require library(tidyverse), requires() nor :: not currently written in.
# 1. ggplot templates / extraction functions
# 2. Table defaults
# 3. Prognost... |
d441cf05506701982e6d71fac8242f19ba6b577a | 434cd962c588c9e6c66ad986d25ce2871ed5f8b3 | /R/EDA/ex01_import_and_tidy.R | 7c4db446552b8ced9ea3912b8c83b52ae3470e52 | [] | no_license | yuexiaqianying/PPSN_TSP_DL | bfd76a760fcdcd7f728326bcf65c31140b61fd2c | 239e1c50b1aa4be001b353119f971483ab8d2b8c | refs/heads/master | 2023-03-17T16:04:44.154652 | 2020-06-15T12:17:02 | 2020-06-15T12:17:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 944 | r | ex01_import_and_tidy.R | library(tidyverse)
library(reshape2)
library(re)
## IMPORT AND TIDYING
## ===
load("data/raw/evolved-500/all-simple.Rda")
simple = data
load("data/raw/evolved-500/all-sophisticated.Rda")
soph = data
all = rbind(simple, soph)
# extract informations
meta1 = re::strParse(dirname(as.character(all$path)), split = "---", w... |
9935d754467cc5ab420f4da8fab449f003ab5c42 | cafa52c05f020af31985cfd1b8e2c676ea6e3baa | /lib/Visualization/insertSize.r | 850cfbdfaac2cfc0f8b0daedafed3b504875ac83 | [
"Apache-2.0"
] | permissive | shengqh/ngsperl | cd83cb158392bd809de5cbbeacbcfec2c6592cf6 | 9e418f5c4acff6de6f1f5e0f6eac7ead71661dc1 | refs/heads/master | 2023-07-10T22:51:46.530101 | 2023-06-30T14:53:50 | 2023-06-30T14:53:50 | 13,927,559 | 10 | 9 | Apache-2.0 | 2018-09-07T15:52:27 | 2013-10-28T14:07:29 | Perl | UTF-8 | R | false | false | 733 | r | insertSize.r | options(bitmapType='cairo')
library(Rsamtools)
library(ggplot2)
filelist<-read.table(parSampleFile1, sep="\t", header=F, stringsAsFactor=F)
fileDensities<-apply(filelist, 1, function(x){
res<-scanBam(x[1], index=x[1], param=ScanBamParam(what=c("isize")))
aa<-res[[1]]
bb<-as.numeric(aa[[1]])
cc<-abs(bb... |
71aff7f7c6bc7a0edef09bbeea63b9380ad52972 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/agricolae/examples/waller.test.Rd.R | f0e42e31d8f6a76f33a6153f2cf09dfad29f015e | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,021 | r | waller.test.Rd.R | library(agricolae)
### Name: waller.test
### Title: Multiple comparisons, Waller-Duncan
### Aliases: waller.test
### Keywords: htest
### ** Examples
library(agricolae)
data(sweetpotato)
model<-aov(yield~virus, data=sweetpotato)
out <- waller.test(model,"virus", group=TRUE)
#startgraph
par(mfrow=c(2,2))
# variation:... |
a11c05eaafcf08c6208211b3c6af6a00d71f05d1 | 138996e20519b168c3630950f802ac6bb83c0a77 | /man/reach_loads.Rd | 82054b864c9cf21f0b7a75e121e593f12f6de511 | [] | no_license | rodlammers/REMvisualizer | 09f01d5de4e87d4b5bc26a7f5458885d1256bbc4 | fc5c6ca2fafe3b2ffa5916e64583ce97c4b1d4d4 | refs/heads/master | 2021-06-04T01:54:10.863690 | 2020-01-22T20:41:10 | 2020-01-22T20:41:10 | 142,908,588 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,256 | rd | reach_loads.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Visualization_Functions.R
\name{reach_loads}
\alias{reach_loads}
\title{Plots mass sediment loading rates by reach, with uncertainty}
\usage{
reach_loads(path = "", custom_sgn = NULL, MC_path = NULL, n_MC = 0,
units = "ton", prob = c(0.05, ... |
fb980e127e2fc6aa357cf64e90485dd8156e5c8a | 487a6800844292ac12e6dad629ba93ad0ec78495 | /man/USSeerBG.Rd | 192802f7084bc22732e25b6f99e234981df0e584 | [] | no_license | cran/micromapST | 18fd7f344d741c9c013a0272cf6b089a728976e8 | 71552b1333593ddc04ad04a344b790e58e7e6d58 | refs/heads/master | 2023-08-21T23:41:51.451836 | 2023-08-10T11:50:02 | 2023-08-10T13:36:11 | 17,697,489 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 12,209 | rd | USSeerBG.Rd | \name{USSeerBG}
\alias{USSeerBG}
\docType{data}
\title{USSeerBG border group datasets to support use with U.S. 20 Seer areas/registries}
\description{
The \var{micromapST} function has the ability to generate linked micromaps for
any geographical area. To specify the geographical area, the \option{bordGrp} ... |
e7eaabb31b52eb08ee988bc8489ef08665d2cc4e | 12b0aa3c8c9b600253a3850f9b0a0466402f30e1 | /R/plotPrior.R | c10673d210c9b1dcd64da2d849ef445bc9e9b165 | [] | no_license | bbanbury/phyloextra | 561ef779c459fc08bcb087069e6977aafd9a6440 | ebebead690e4317be84d9d7165a2d801951c7c55 | refs/heads/master | 2021-01-10T20:50:51.583643 | 2014-11-25T19:36:26 | 2014-11-25T19:36:26 | 5,588,766 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,090 | r | plotPrior.R | #' Plot Prior Distribution
#'
#' This function will plot the distribution of priors
#' @param priorFn Prior shape; either "fixed", "uniform", "normal", "lognormal", "gamma", or "exponential"
#' @param priorVariables Variables needed to describe the shape of the distribution. uniform distributions=c(min, max); normal ... |
b9aa0c45a314e52fe076caf6f5b4885c2a86011f | e3a65156525b264ae3a86a255804cd5e34f545fe | /Sensitivity Analysis and Omitted Variable Bias Diagnosis/Sensitivity analysis.r | f7a9c21a0e62fb9bcc52a0bb1619ceff95eb42b7 | [] | no_license | jasonqiangguo/R-Causal-Inference | 7c147871e7e5e6dcab36eee994cc07d496207097 | 143b4d7a963ef5e8b41bfc5a68c36633b26c7473 | refs/heads/master | 2020-04-29T15:30:32.445649 | 2015-10-20T23:13:25 | 2015-10-20T23:13:25 | 17,455,131 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,146 | r | Sensitivity analysis.r | #########################################################
## Weighted survey regression and sensitivity analysis ##
#########################################################
data<- read.dta("mydata.dta")
require(survey)
## create a dataset with abducted == 0 and found == 1
datanonabd <- data[which(data$abd==0 & data... |
d83090a374c989ee5afd674e2a1a1fb7f1c7e53f | 3e77c3f49c1c827cf934eee5bffd4ed31ba7376c | /R_files/Bivariada_quali_Daniel_Claudiano_Cabral_Pinto.R | d216373c44cdaab1580a4668cffa1b7ea4d50a71 | [] | no_license | DanielClaudiano/Algorithms_from_University | 4bb7597c1fa843d242a41d1a34455023a9f5725a | 51d426a9e355523da32a2415f47f46595eed6f66 | refs/heads/main | 2023-05-12T11:33:53.083078 | 2021-06-11T00:20:35 | 2021-06-11T00:20:35 | 375,507,787 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 2,688 | r | Bivariada_quali_Daniel_Claudiano_Cabral_Pinto.R | #rm(list = ls())
#Carregando dados
df = read.csv2(file="C:/Users/Daniel/Downloads/DATABASE_TRABALHO_ESTAT1.csv",header = TRUE, sep=",")
#Gráfico Auxilio x Economia
install.packages("dplyr")
require(dplyr)
#criando uma matriz através da função group by para contar as respostas de cada beneficiado ou não
#pelo... |
f0c6785a2a46f712e1164a4631ff120faa9e64b2 | 822b56e3d70664da86db8c8ced7ce14b3c0cd866 | /Farquhar_solver.R | 33abcfff0776a499ddaeb249108953217aa8d548 | [] | no_license | blumsteinm/scaling_farquhar | ea7f0c8082249c5e685109a7eb5509ba46fcdee7 | 645fcabf3a143c8b83d6d3e6d61d23de34d33dd4 | refs/heads/master | 2020-03-08T11:33:13.046814 | 2018-06-05T17:17:08 | 2018-06-05T17:17:08 | 128,101,447 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,554 | r | Farquhar_solver.R | ####################################################
# Farquhar_solver #
# OEB203 project code, spring 2018 #
####################################################
##### The system of equations #####
### Equation 1: Farquhar Model - take minimum of light-limited vs. temp... |
56d7d6089a5a5f7ee0b97233da8859e79ce08809 | 64c60c76b22f6131ea683ee1b85abc49b1aefc96 | /Lista2/z1.R | e164ef446e313adf7fbd73e4a21fd4b9f4067600 | [] | no_license | majsylw/statistical-methods-in-biology | 870166e16269186449f645428f81e03513e01246 | 5f74b634fe6e57fd97093c03d149220d5ca27deb | refs/heads/master | 2020-12-10T00:16:20.443423 | 2020-01-12T20:46:21 | 2020-01-12T20:46:21 | 233,455,417 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,271 | r | z1.R | # Zadanie1
set.seed(10) # sianie nasionka
n1 = 5
n2 = 10
s1 = 1
s2 = 5
u1 = 0
u2 = 0
Welch <- function(a,n1,n2,u1,u2,s1,s2){
symNum = 10000 #ilosc powtorzen eksperymentu
Xe=matrix(rnorm(n1*symNum,u1,s1),n1,symNum)
Ye=matrix(rnorm(n2*symNum,u2,s2),n2,symNum)
Xme=apply(Xe,2,mean)
Xs=c(1:symNum)
for (i in 1... |
b2477a00c379efbd2cd1ae70e00b6e0edf961e45 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610383365-test.R | 1456c22a4d3a07261e9bb1dc2e73221a5221d516 | [] | 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 | 316 | r | 1610383365-test.R | testlist <- list(rates = numeric(0), thresholds = numeric(0), x = c(-2.87893513927628e-63, 8.74079907220133e-313, NaN, NaN, NaN, NaN, NaN, 2.23764539047744e-310, NaN, NaN, NaN, NaN, -5.17495827121042e+245, NaN, NaN, 1.39769620676628e-309, 0, 0, 0, 0, 0))
result <- do.call(grattan::IncomeTax,testlist)
str(result) |
b93269d9b14e37f551b54a49c6cb41be346ab697 | de9d448132f90f073d29add688de2fcf72527a89 | /man/scoreStem.Rd | a159d5e9239ee3168a1610c5ced21960c438f94a | [
"MIT"
] | permissive | NMikolajewicz/scMiko | 33f137e9e3a6318fb0386506ac4666a3822463f0 | bd00724889db265817fc54d0d50b14647d32438d | refs/heads/master | 2023-06-09T05:51:30.199131 | 2023-06-04T20:23:51 | 2023-06-04T20:23:51 | 249,496,034 | 20 | 4 | null | null | null | null | UTF-8 | R | false | true | 1,197 | rd | scoreStem.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/analysis_functions.R
\name{scoreStem}
\alias{scoreStem}
\title{Calculate stem index}
\usage{
scoreStem(
object,
method = c("CCAT", "StemSC", "CytoTRACE"),
min.pct = 0,
assay = DefaultAssay(object),
batch = NULL,
verbose = T
)
}
\a... |
a1297a9777817d31417241c877ba6546e7a44e27 | a71fcfc790356fd50c355c50a4f6dd6442c51d54 | /R/predict.spacious.R | 4a8e31260dc410e0149b6fbfaa4e8c12c1c3ca91 | [] | no_license | jarad/spacious | 75a550abe0e22a227bfc78974576515f900e5cc1 | 5f63a204664ee12c7d1f5dcced3b935f2233593b | refs/heads/master | 2016-09-06T11:33:57.882695 | 2014-03-04T23:50:52 | 2014-03-04T23:50:52 | 3,471,933 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,456 | r | predict.spacious.R | # predict values at new sites using fit from spacious block composite model
"predict.spacious" <- function(object, newdata, newS, newB, D,
opts = list(type="block"),
interval = "none", level = 0.95,
nthreads = 1, gpu=FALSE,
engine, # use the C or R implementation?
...) {
if (missing(newS)) {
stop("Must specify... |
95fc4b73126ae070912799929ce097ec57d07fd9 | fc06b4acacaee65445d4b633f664339da4feac16 | /unemployment_analysis.R | 4777c16e007fd7719747179c080f64b3c50ccb7c | [] | no_license | cxpeng9223/CS341Final | ebecc2d0b96fe69dfee2689a18d47d3b038117e2 | f4f4fcf1a21c015be45ceca436b46f675af95910 | refs/heads/master | 2020-03-19T15:19:34.561599 | 2018-06-15T09:25:22 | 2018-06-15T09:25:22 | 136,666,563 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,244 | r | unemployment_analysis.R | #Post hoc unemployment analysis
#This file is to generate USA Map plots of the location bias in Gallup data
library(raster)
setwd("~/Box Sync/Data_for_341/Vowpal_wabbit_files")
results_sim <- fread("predictor_ECON_sim.txt")
results_sim$V1 <- ifelse(results_sim$V1 > 0, 1, 0)
#Actual
df.test = getData("file_for_matc... |
1e8c13f6b6ac3dd58296b94e56a1c8f5dbf682f1 | cee086cf984e907a217ac0992cf9073a5a3e46a5 | /tests/testthat.R | bd6bd489b3246ecc585b2256bd0fc3a6e1921159 | [] | no_license | cran/ROCaggregator | 1c3e3ba71ef7a791d527f3b344b30a37c20c88ac | dbba3d5f06a68aa43699269e0cee22ab139e2c58 | refs/heads/master | 2023-07-08T02:51:09.893467 | 2021-08-10T08:10:14 | 2021-08-10T08:10:14 | 394,796,858 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 102 | r | testthat.R | library(testthat)
library(mockery)
library(mockr)
library(ROCaggregator)
test_check("ROCaggregator")
|
a93db9937b2af742c1f6ba3e584aa784dcbc892b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/evolqg/examples/KrzSubspace.Rd.R | 83e6ba1211ee3a3302319a82322128df5b594d35 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,053 | r | KrzSubspace.Rd.R | library(evolqg)
### Name: KrzSubspace
### Title: Krzanowski common subspaces analysis
### Aliases: KrzSubspace
### ** Examples
data(dentus)
dentus.matrices = dlply(dentus, .(species), function(x) cov(x[-5]))
KrzSubspace(dentus.matrices, k = 2)
# The method in Aguirre et al. 2014 can de implemented usign this funct... |
90ef8308c430a861bfd7b7bb0447867066a0d166 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/photobiology/examples/expanse.Rd.R | 70d3cfa52b8a88dd37377d5ebc6e2fba8c598edf | [] | 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 | 292 | r | expanse.Rd.R | library(photobiology)
### Name: spread
### Title: Expanse
### Aliases: spread wl_expanse expanse expanse.default expanse.numeric
### expanse.waveband expanse.generic_spct expanse.generic_mspct
### ** Examples
expanse(10:20)
expanse(sun.spct)
wl_expanse(sun.spct)
expanse(sun.spct)
|
94186100629a8113c4ee41153b1782115f3ffdd6 | f0b08a058676e4b1ce0c1436bfe022aee9989326 | /target/res/iPatBSA.r | 4d65c6df5d25480ba1c98419551728c21eae2dad | [] | no_license | Poissonfish/iPat | 1535c0bc7055a572edd8e035d6f946fdefd149f9 | 7e6c3acbb7bcc5e44385c875f6dc5c2fe312674f | refs/heads/master | 2022-08-10T17:44:04.145533 | 2020-09-09T15:57:18 | 2020-09-09T15:57:18 | 59,730,270 | 17 | 2 | null | 2019-04-20T02:51:11 | 2016-05-26T07:40:57 | Java | UTF-8 | R | false | false | 3,024 | r | iPatBSA.r | # Input arguments
args = commandArgs(trailingOnly=TRUE)
GM.path = args[1]
GD.path = args[2]
W = as.numeric(args[3])
project = args[4]
wd = args[5]
lib = args[6]
arg_length = 6
# GM.path= "/Users/Poissonfish/Dropbox/MeetingSlides/iPat/Demo_data/BSA/data.map"
# GD.path= "/Users/Poissonfish/Dropbox/MeetingSlides/iPat/Dem... |
c1e686456aee208625b77e2313c98703bd1e4ad9 | 00057700ab765bec2038840bfc5462ee06c3b3c5 | /rankhospital(correcion).R | 4d954655b842807b3abed29e1cf81e087a3daeda | [] | no_license | ChristianPerezCastillo/Programacion_Actuarial_III | e912e67a1616d5655da9117b64d133b9567d7415 | 36fb00c332a5aa652e8ffca3400c7ba714458f6f | refs/heads/master | 2021-01-09T09:38:53.525422 | 2017-06-02T17:23:41 | 2017-06-02T17:23:41 | 81,164,853 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,398 | r | rankhospital(correcion).R | rankhospital<- function(estado, resultado, num= "mejor"){
setwd("~/GitHub/Programacion_Actuarial_III/Caso 2")
outcome <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
y <- levels(factor(levels(factor(outcome$State)) == estado))
x <- is.na(y[2]) || as.logical(y[1])
if(x == TRUE){... |
20a48cf5995dc4ce27c61fbc47b9768dc51a86a8 | 722594cdf49f51ff0af655cd34b6079bd43fdaa4 | /R/filters.R | 3a73426c01cefff1b4c0b219e07090e3b38b0ffa | [
"MIT"
] | permissive | mdlincoln/fugger | c1b2071c8176cd48e17211c51156e5b15e017c75 | 5bdc03704a0ffd05a0e3cef008e6cf849ea01535 | refs/heads/master | 2020-12-25T00:50:50.267661 | 2016-04-19T20:34:19 | 2016-04-19T20:34:19 | 56,629,931 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,412 | r | filters.R | #' Grayscale filter
#'
#' Run a grayscale filter on a plot
#'
#' @param plot An object or expression that evaluates as a plot.
#' @export
fug_gs <- function(p) {
raster_plot <- rasterize(p)
gs_raster <- imager::grayscale(raster_plot)
try(dev.off(), silent = TRUE)
plot(gs_raster, xaxt = "n", yaxt = "n", ann = FA... |
99f07b45868b8eea2b348ab3bf6a9c19cc4025c8 | 94eac0978570c5c33e8bbc1f588b81fae98bcca7 | /R/useful.R | f60666ca710b18e34611b53c8277d289ae6b1e58 | [
"MIT"
] | permissive | fdrennan/initr | ca8c4ba7ecdfdcd831e3528d47ca1a80758a1f78 | 1d4b73076e33ff2edf5096d5ecd21f596adbd28f | refs/heads/master | 2022-12-22T10:08:24.990650 | 2020-09-28T16:25:43 | 2020-09-28T16:25:43 | 298,953,900 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 156 | r | useful.R | #' glue_message
#' @importFrom glue glue
#' @param string A string
#' @export glue_message
glue_message <- function(string, ...) message(glue(string, ...))
|
73734d94f215f02a2150bc4127a17163efe9b583 | 0cc53564d31bf69182a1c17ef188139d78519852 | /macierz_odwrotna.R | ea225647a9c077bd752eae543eb4df2133a97c4b | [] | no_license | KrzysztofKsiazek/Operacje_na_macierzach_w_R | efb9fc312f97b8b1ad3384b2b55900fef0f6e20d | bb179bd9202ecf69276ee0e97ea13c1304341fc8 | refs/heads/master | 2021-04-13T12:16:07.633480 | 2020-03-28T14:53:25 | 2020-03-28T14:53:25 | 249,162,008 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,373 | r | macierz_odwrotna.R | funkcja <- function(A)
{
if(class(A)!='matrix')
{
print('A must to be a Matrix')
}
else
{
cat('\\documentclass[10pt,a4paper]{article}
\\usepackage[utf8]{inputenc}
\\usepackage{amsmath}
\\usepackage{amsfonts}
\\usepackage{amssymb}
\\usepackage[T1]{fontenc}
\\begin{docum... |
bcf91e1d9b07f1e58cae97a0395f376be8039818 | 62275a1dde11833b7f9148cc720875c591d0fa1d | /jumpin2.R | e0266ebb7892d5346b502a6ff16ac1a53a8c4dfe | [] | no_license | jimhester/dashboard | 4256cde1b94728156a4aff2b780d47131023dccf | 11571007c517362a74b77f8c6fbb58bd621774f5 | refs/heads/master | 2020-03-13T14:45:12.541273 | 2018-04-26T16:25:51 | 2018-04-26T16:25:51 | 131,164,697 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,315 | r | jumpin2.R |
library(dashboard)
package <- c("alm","AntWeb","bmc","bold","clifro","dependencies",
"ecoengine","ecoretriever","elastic","elife","floras",
"fulltext","geonames","gistr", "jekyll-knitr","mocker",
"neotoma","plotly","rAltmetric","rAvis","rbhl","rbison",
"rcrossref","rdat... |
288ad3b4dff187df56f35564c3cdf30b987223f3 | c78d8465d47ae60f6f5aa0fbb2dad8f479fa6ad7 | /R/swaleFunctions.R | 20302e1de0c879192e773c4bf47396e4e453166d | [] | no_license | wdweeda/swale | 9ca563a537c59963752e2cc2054b242de8a04f14 | e293937273e3de7f7f75ad4196ad2dc92411bfb0 | refs/heads/master | 2023-04-05T07:02:10.007323 | 2023-03-20T12:18:11 | 2023-03-20T12:18:11 | 224,168,280 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,233 | r | swaleFunctions.R | #############################################
# Basis function FUNCTIONS #
# simultaneous waveform and amplitude #
# Copyright(c) 2009 Wouter D. Weeda #
# University of Amsterdam #
#############################################
#CONTAINS
#estimate.f
#average.f
#split.f.window
#split.f.fix
#estimate.ab
#m... |
699f696b1304a4464d91dd0edcdcfa8b2d2c73d6 | 156bf3896664187be3e56b33f908a0d865f01b7d | /chigcrim/man/community_bounds.Rd | b5cbe239578295f20af37180cc61f676119fc975 | [] | no_license | shannon-wms/chicago-crime | 76d317be53ea491266cf66c804b4c0e8a58f0edc | 5c5bad65df41385f3a481d9b95654ed29fdf8bb6 | refs/heads/main | 2023-05-01T19:45:00.856379 | 2021-01-25T14:30:17 | 2021-01-25T14:30:17 | 316,237,665 | 0 | 1 | null | 2021-05-24T16:17:18 | 2020-11-26T13:21:57 | R | UTF-8 | R | false | true | 591 | rd | community_bounds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{community_bounds}
\alias{community_bounds}
\title{Community area boundaries
City of Chicago community area boundaries.}
\format{
An object of class \code{sf} (inherits from \code{data.frame}) with 77 rows and 10 co... |
ddab9e2c3ba4b7ab55b20494cfc2ee52bf693298 | b040a32bdf134e214179481ac5ef4a0de6f5aa40 | /11_Stargazer/tabular.R | a9e673d31b6e1d856cfaaee621b7e526f1bf5b60 | [] | no_license | khbae/r-project-lecture | 1de3bd032264dd9a59888dc1aba6451b82695efc | eb62c2ff90a80473c487e3ef808d912471a96e4a | refs/heads/main | 2023-03-27T14:18:06.283030 | 2021-03-09T13:47:45 | 2021-03-09T13:47:45 | 320,273,518 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 263 | r | tabular.R | library(dplyr)
library(stargazer)
out = stargazer(iris)
is(out)
tabular <- function(stargazer.out,file.name){
out = head(stargazer.out[-1:-6],-1)
cat(paste(out, collapse="\n"),sep="\n",file = file.name)
}
iris %>%
stargazer(.) %>%
tabular(.,"fn.tex")
|
d59001cc674d2412d87e4fd4ed72fb2718f06127 | e91c5f8da9291cb2dfb9436bd9934054df6940cf | /Today_Flat_Systems.R | 675a38c38045f4f2f50976b09010d06d108a060c | [] | no_license | melgj/UKHR | 671ee8307f2146f44c753aef8ade03eda68e4021 | 5653ff75aeddc6657503bfe171b9e6a3ce493b0a | refs/heads/master | 2020-03-27T14:34:17.238033 | 2019-04-29T18:38:28 | 2019-04-29T18:38:28 | 105,633,141 | 0 | 0 | null | 2017-10-03T09:27:40 | 2017-10-03T09:12:01 | null | UTF-8 | R | false | false | 4,179 | r | Today_Flat_Systems.R | # filter Flat turf races only
ukFlat <- filter(ukhr_master_BF, RaceType == "FLAT")
ukFlat$Dist_Range <- as.factor(ifelse(ukFlat$Furlongs < 8, "Sprint",
ifelse(ukFlat$Furlongs < 14,"Middle", "Long")))
ukFlat$Dist_Range_Split <- as.factor(ifelse(ukFlat$Furlongs < 8, "Sprint",
... |
b2a2726abd95150ed53a3260cb1ab22f1c9902cf | c3105f7d7a422ba31d5d3db002db0c1c71c7fbf6 | /finalCode.R | f3e7e3f0774496cc34bd0bb5cd9f2b2729891caf | [] | no_license | hjgoldma/Math189HW3 | c033687c200fa6003ca879545ea27f0bbcb9277c | 692a2befaeca5723abee216e589f996814308e50 | refs/heads/master | 2021-01-18T05:43:14.737489 | 2017-03-08T06:34:38 | 2017-03-08T06:34:38 | 84,281,787 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 7,974 | r | finalCode.R | # Filename: finalCode
#Authors: Himanshu Makhija, Hanna Goldman, Amey Paranjape, Shagun Gupta
#Class: MATH 189 -- Winter, 2017
#Date: 3/7/2017
data <- read.table("gauge.txt", header=TRUE)
gain <- data$gain
density <- data$density
plot(x=gain, y=density)
# Least Squares Fit
fit <- lm(density~gain, data)
fit
abline(fit,... |
f2b69a59df8cb50cd6a1c2532ad62a4558d6139d | cd4a2798eed1c32779c205aedefbfca78d54b752 | /R/g2l.proc.R | c4e0c24953c5be14378e8929002a8b81fd6f2259 | [] | no_license | cran/LPRelevance | 2d0a2c7deb6e5bef991d5eca08a6aad80192786f | 1e3fb4acc10d04bd07e6897c466b773440e81597 | refs/heads/master | 2022-06-03T14:48:47.471853 | 2022-05-18T05:20:02 | 2022-05-18T05:20:02 | 206,745,613 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,971 | r | g2l.proc.R | g2l.proc <-
function(X,z,X.target=NULL,z.target=NULL,m=c(4,6),alpha=.1,nbag=NULL,nsample=length(z),
lp.reg.method='lm', null.scale='QQ',
approx.method="direct",ngrid=2000,centering=TRUE, coef.smooth='BIC',
fdr.method='locfdr', plot=TRUE, rel.null='custom',
locfdr.df=10... |
63042a07c922ed0531d45543c05881eeae556be5 | 46c1cdb91955b383ea6176d108f2d67fd0cd5a8d | /ISCAM2/R/iscambinom.R | 53268a67baadce4d12174c185b5ed65ac4f1ed7c | [] | no_license | shannonpileggi/SP--Pablo--RProgramming | 0f1a6621847d013e0c445059894e5bad5a940086 | ad60dc509b077dd9657f7e97f587809251e19c18 | refs/heads/master | 2018-10-22T19:21:27.375766 | 2018-07-21T07:01:43 | 2018-07-21T07:01:43 | 114,397,446 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 761 | r | iscambinom.R | #' iscambinom Function
#'
#' This function calculates either a tail probability or the inverse cumulative
#' probability depending on whether k or prob is passed a question mark.
#' @param k number of successes
#' @param prob probability of interest
#' @param n number of trials (zero or more)
#' @param pi probability ... |
25be212940685117e8bcb473c7dc9d9acef0b073 | 1b97386c886c413e845954cadc86726dfb91ce12 | /R/error_proc.R | 24a992a163644b3f0d647b85d2669dfcf230a0b0 | [] | no_license | alveraboquet/krakenTools | be31c84ed91a05cec7d75df5196685674200e910 | 27945c44634dd41c5b47423aa1b486a2b41b314f | refs/heads/master | 2023-03-23T14:58:25.424749 | 2021-03-05T13:05:25 | 2021-03-05T13:05:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,495 | r | error_proc.R | #'@title process the errors from check_long_df
#'@description Convert data downloaded from kraken to long dataframe
NOT_USED_error_proc_fun <- function(curr_he_in,
kraken_root_dir_in) {
print("=======================")
print(curr_he_in)
curr_dat_prod_dir <- file.path(kra... |
0246b73c2ef6e1d3487623d11134b8a3218740ef | 25cc04f448e132072f62cae1f027bb8dbbdfdc61 | /inst/develo/combineDataSetsPrototype.R | 8afdeab929e4754103c9856bbaa570cd051d324f | [] | no_license | C3BI-pasteur-fr/UTechSCB-SCHNAPPs | c04c4aa8601b10dfd9d39dda9e0e449b89facb3d | a1ba962ad7d831876dba1458c9d8fd53b9660deb | refs/heads/master | 2023-07-10T06:49:49.615792 | 2023-07-04T19:27:56 | 2023-07-04T19:27:56 | 181,477,991 | 28 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,121 | r | combineDataSetsPrototype.R | cp = load("/Volumes/LaCie2022/scData/scEx.51e3d27df0e E13,5.RData")
cp
scEx2 = scEx$scEx
cp = load("/Volumes/LaCie2022/scData/scEx.51e7382b945 E16,5.RData")
cp
scEx= scEx$scEx
allCols = union(colnames(colData(scEx2)), colnames(colData(scEx)))
colData(scEx2)[,setdiff(allCols,colnames(colData(scEx2)) )] = NA
colData(scEx... |
93bb25631759280ad8d8bf6dd3e6bdfdff4b1626 | 085c1f0d348b6be6eef1917e74cfde2247853d84 | /man/random_coefmats2.Rd | 44259fbd4a1ae49e01cc9ff41510fe5c2a72d3ba | [] | no_license | saviviro/gmvarkit | 657691acd9577c5aacefe01778bb53d8746613c2 | ad17dd159d0dfa816dcdf9f3ff8be8d633e3b0ef | refs/heads/master | 2023-07-11T19:48:43.851308 | 2023-06-26T08:18:28 | 2023-06-26T08:18:28 | 193,906,969 | 6 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,325 | rd | random_coefmats2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generateParams.R
\name{random_coefmats2}
\alias{random_coefmats2}
\title{Create random stationary VAR model \eqn{(dxd)} coefficient matrices \eqn{A}.}
\usage{
random_coefmats2(p, d, ar_scale = 1)
}
\arguments{
\item{p}{a positive integer spec... |
dec3bcf131706039a4955eb25e8b004e603ec441 | f382948bb9a0bfd84861a5a9cde044dc94c2f481 | /cachematrix.R | af1e3297a5cd901ef4ff304a99b84c13a8de974d | [] | no_license | Lelli0/ProgrammingAssignment2 | cfd0e30df8c4d53604cd8f763a023f30385c8334 | 5cbe16185bde848ec4218707dd9559d45c57e4ce | refs/heads/master | 2020-12-26T04:16:06.341297 | 2016-08-28T21:52:39 | 2016-08-28T21:52:39 | 66,757,567 | 0 | 0 | null | 2016-08-28T08:20:16 | 2016-08-28T08:20:16 | null | UTF-8 | R | false | false | 1,081 | r | cachematrix.R | ## run defined, invertible matrix through function to add the ability to
## cache the inverse once it has been solved
## For example: x<-matrix(rnorm(1:9),3,3)
## z<-makeCacheMatrix(x)
##
##
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) {
x <<- y
m <<- NULL
}
... |
51876ecd373b0680e81394ad88ad0cde84e174c7 | 8407b09535288144309c207492d9bece0af3a8d0 | /man/returnBaseEndPoint.Rd | 8e14bb2f10cec62bdea25b0cc3e9be85cdd41157 | [
"BSD-3-Clause"
] | permissive | d3b-center/RDiseaseXpress | faefbef79269ea0791fc2bcc485a6989a667568f | 1bc2fde12d6a3bc1c29823232f39de9efa43fc6b | refs/heads/master | 2021-06-25T22:03:49.590134 | 2020-06-13T18:33:40 | 2020-06-13T18:33:40 | 99,952,653 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 331 | rd | returnBaseEndPoint.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RDE_AggMergeVis.R
\name{returnBaseEndPoint}
\alias{returnBaseEndPoint}
\title{Get API base URL}
\usage{
returnBaseEndPoint()
}
\value{
character string representing the base url.
}
\description{
Returns api base url
}
\examples{
returnBaseEnd... |
87f431856e80d8ea8a65035378a348d700b82247 | 0c871ec77d671bdf60ba7e968d65f73536e76f92 | /wincustomize.R | 1a10d19970ca46f0329ad8ed67a73003c12b489f | [] | no_license | kenkenlin/emailWebscrape | 93e4efd9c87801284f7ceeb72fd967b9f9d9bc7c | 8e0a18d048f9c8ec3b935fca7033fd978307ac80 | refs/heads/master | 2020-06-17T07:40:25.689679 | 2019-07-16T12:08:05 | 2019-07-16T12:08:05 | 195,848,711 | 0 | 1 | null | 2019-07-13T15:58:00 | 2019-07-08T16:22:43 | Python | UTF-8 | R | false | false | 733 | r | wincustomize.R | library(rvest)
library(dplyr)
##
PTT<-"https://www.wincustomize.com"
PTT1<-"https://www.wincustomize.com/explore/start_buttons"
underline1<-NULL
underlineUrl1<-NULL
for (a in 1:30) {
httml<-read_html(PTT1)%>%html_nodes("a.pnext")%>%html_attr("href")
PTT1<-paste0(PTT,httml[1])
PTT1
underline<-MediaReport%>% h... |
1f56b429f4db6ed2a8615d22f5aa293f4738b808 | 7be7f8542482852dca98b5152b97123b1798fc90 | /R/RemoteReference.R | 728c45515e1e7563d460a982ee7d94304b1c5ddd | [
"MIT"
] | permissive | jmanitz/riskmetric | 6dee3e2be0b147b507266cf8dd91d7b059cef135 | 099873289b9fb2e2d84febf9f27b28073eea0970 | refs/heads/master | 2020-08-06T07:43:37.393604 | 2020-07-29T15:31:26 | 2020-07-29T15:31:26 | 212,895,679 | 0 | 0 | NOASSERTION | 2019-10-04T20:16:15 | 2019-10-04T20:16:15 | null | UTF-8 | R | false | false | 4,649 | r | RemoteReference.R | #
# Commenting out until we're ready to roll in source downloading
#
#
# # Removing these as exports while aiming for initial release - can revisit
# # once a solid foundation is built.
#
# #' Remote reference to package sources
# #'
# #' @param x package/repo name
# #' @param type "cran" or "github"
# #' @param versio... |
dddc20fa48342081638ad8269e4bcf1438d61460 | 87d71d69451feb49902c07c0696734da72d6046a | /man/fpl_get_player_detailed.Rd | ece1f0ba1a0516be5ff62050173ef2926f527b5a | [
"Apache-2.0"
] | permissive | baklouti1994/Fantasyplr | 31da309ae8899aec7ac0136cf0d66390e6374edf | fd715c2564b3b02cf6ce153a20a239b9530fd134 | refs/heads/master | 2020-04-11T05:31:44.368643 | 2018-12-12T22:57:05 | 2018-12-12T22:57:05 | 161,552,173 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 638 | rd | fpl_get_player_detailed.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/players.R
\name{fpl_get_player_detailed}
\alias{fpl_get_player_detailed}
\title{Retrieve detailed data for a player in the current FPL season}
\usage{
fpl_get_player_detailed(player_id)
}
\arguments{
\item{player_id}{\code{id} field ... |
2aada3889e210394233441e82b617a4af289b742 | 76a3033de0150c3c5323fc686ff472e5202415aa | /Programs/R/TimeSeries/time_series_analysis.R | a5df1b4eb2a5b875ab01b2e8b7caa0397dcc0577 | [] | no_license | chellawabac/BMTC | a0c6d9985c3d7e7a0eb4b43b11831a437ed936be | 558be1aa26a58f1876b23db114a19ce95202e531 | refs/heads/master | 2021-01-13T04:28:26.125131 | 2017-05-12T07:15:21 | 2017-05-12T07:15:21 | 79,935,999 | 0 | 3 | null | 2017-05-12T07:01:00 | 2017-01-24T17:34:56 | R | UTF-8 | R | false | false | 1,734 | r | time_series_analysis.R | library(timeSeries)
library(readxl)
library(utils)
bunch_ts <- read_excel('segmented_bunching_data.xlsx', sheet = "d3_d4", col_names=TRUE)
plot(bunch_ts, type = 'o', main = "Before Detrending")
fit = lm(bunch_ts$X2~bunch_ts$time)
plot(bunch_ts$time, resid(fit), type = 'o', main = "Detrended using line fit")
first_di... |
df284c3d8c70ecc137937b9ed06e5740aee8d6ff | 0853134802bde59234f5b0bd49735b9b39042cfb | /Rsite/source/Rd-man-files/mx.nd.random.negative.binomial.Rd | a901cf1f2047d26b8bb02343298156ca24806660 | [] | no_license | mli/new-docs | 2e19847787cc84ced61319d36e9d72ba5e811e8a | 5230b9c951fad5122e8f5219c4187ba18bfaf28f | refs/heads/master | 2020-04-02T03:10:47.474992 | 2019-06-27T00:59:05 | 2019-06-27T00:59:05 | 153,949,703 | 13 | 15 | null | 2019-07-25T21:33:13 | 2018-10-20T21:24:57 | R | UTF-8 | R | false | true | 1,270 | rd | mx.nd.random.negative.binomial.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mxnet_generated.R
\name{mx.nd.random.negative.binomial}
\alias{mx.nd.random.negative.binomial}
\title{Draw random samples from a negative binomial distribution.}
\arguments{
\item{k}{int, optional, default='1'
Limit of unsuccessful experiment... |
66659747c990d8eae8f16394b3b5c570d88b56fd | 2893762bd05f76e15b9c0bc61acdca323a355618 | /man/peguy.Rd | 790f22ede3c88b4328681620a618e8be4b5882df | [] | no_license | ECO2ZTS/ClimClass | b184fdeb68f376185e1fe2d63aa1cd830bc1b340 | b149ec6f4eb6a27a10379374570d46f66fca4395 | refs/heads/master | 2021-06-01T01:41:46.321867 | 2016-08-04T21:43:32 | 2016-08-04T21:43:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,308 | rd | peguy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/peguy.R
\name{peguy}
\alias{peguy}
\title{Peguy Climograph}
\usage{
peguy(data = NULL, TemperatureTriangleCoords = c(0, 23.4, 15),
PrecipitationTriangleCoords = c(0, 40, 200), ylab = "Precipitation[mm]",
xlab = "Mean Temperature [degC]", ... |
b3053d29cbed68f12530811eca12d44aa9e079c8 | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/sulphenone.R | dc293ce6cf7acd54587d83e5a1faf545a4ba6b3e | [
"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 | 216 | r | sulphenone.R | library("knitr")
library("rgl")
#knit("sulphenone.Rmd")
#markdownToHTML('sulphenone.md', 'sulphenone.html', options=c("use_xhml"))
#system("pandoc -s sulphenone.html -o sulphenone.pdf")
knit2html('sulphenone.Rmd')
|
657f25e1f41a1c0014b8e12da2824595f5433991 | 0938510c4a6736c5043c31530627375ea742b7c1 | /rprog%2Fdata%2FProgAssignment3-data/best.R | 2b4b6a460f25dba3e14167fee1e3089d872ccedc | [] | no_license | letyndr/datasciencecoursera | fdf7f9ba39ab127c6f02c7c0ff9b900029e8346c | f3e6ced8b6095a7b02b42a93d87648e9aa67082a | refs/heads/master | 2020-05-25T02:34:52.500057 | 2017-10-05T20:15:20 | 2017-10-05T20:15:20 | 84,902,121 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,039 | r | best.R | # Return hospital name in that state with lowest 30-day death
# Call example: best("TX", "heart attack")
best <- function(state, outcome) {
# Read outcome data
data_outcome <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
# Check that state and outcome are valid
if (!is.element(state... |
36c717dc446ebbab65af4458b6be394ce0bc5be0 | f7cd9023746b8bdd29b90731ec389ad9ccf626d1 | /paper_validation/selecting_potential_pathogenic_cases_FMR1_EHv2.5.5.R | b6c98a9252645e7f229a6ec7a366b0ffa901f71e | [] | no_license | kibanez/analysing_STRs | 1a498f121763d7cb411e3b66b25ec22eea608244 | b922ab7d2b9668dc8add9e73f1d4e44a0aac1fd4 | refs/heads/master | 2022-02-25T05:28:43.480585 | 2022-02-04T10:29:30 | 2022-02-04T10:29:30 | 218,277,677 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,898 | r | selecting_potential_pathogenic_cases_FMR1_EHv2.5.5.R | # Objective: from EHv2.5.5 summer batch select genomes with the following selection criteria (and compare with Arianna's numbers):
# both from GRCH37 and GRCH38:
# proband only
# specific disease == intellectual disability
# Arianna's numbers are the following:
# 5783 probands recruited under ID and also kabuki (!!)
# ... |
bdbdf5c70cb72a3cee58c7ba92b5782f5d356f12 | 58691c7e1dd0c241de7ec2898ea66b5d2e5f5f4a | /man/compBagplot.Rd | ea4723ed1665154079ea3641b8a7a8dc9c4a3bc1 | [] | no_license | PSegaert/mrfDepth | b7fefd1bc3e897c9b095fac0e0f4c2cf9b3ad45a | a1118ddeef1997c72aedbc65dc83b48deda807e3 | refs/heads/master | 2021-01-18T22:23:13.435472 | 2018-10-12T08:55:47 | 2018-10-12T08:55:47 | 87,052,317 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 8,236 | rd | compBagplot.Rd | \name{compBagplot}
\alias{compBagplot}
\title{Location estimate based on the halfspace depth}
\description{
Computes all elements of the bagplot, a generalisation
of the univariate boxplot to bivariate data. The bagplot can be
computed based on halfspace depth, projection depth or skewness-adjusted projection depth. To... |
e11e501421fcfa8323dbd19cc17f0b5021c9624f | 5ff2a3097691efac719ac50e3be4eca3627e860e | /R/crossref.R | 2bc9cc5116e082cae1396257aef73fc5ff2d1c53 | [] | no_license | AlgoSkyNet/rj | c0f991041446aee9a00a97a451ab1b09091b7c0e | 6e000df51ea1ceab28c4e6d78b8ad40d9acb5e7e | refs/heads/master | 2021-04-24T04:23:29.281090 | 2020-03-09T03:05:13 | 2020-03-09T03:05:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,780 | r | crossref.R | ## code to create XML file to submit an issue
## code hevaily based on jss tools for DOI submission
##
## install.packages("jss", repos="http://R-Forge.R-project.org")
##
## Main function is rj:::upload_dois_from_issue()
## EIC will need login credentials in SOPS-editor.md
## Constants
doi_prefix = "10.32614"
rjourn... |
80781d4d5f7cc446fb0d6ef249b4ebd5473d5145 | 1d85ea0fd495bbb892175f20676ae38f61baa475 | /man/miucs2latlon.Rd | 678f8c89470718f18173400d1fe5291f268c95b6 | [] | no_license | steingod/R-mipolsat | e6a3ddedd31f0eaf26f6f56bb5b30219cc63968a | a19c0c34557cb81faa4f9297c44413af8e59488b | refs/heads/master | 2021-01-19T20:29:57.560832 | 2013-05-28T20:33:58 | 2013-05-28T20:33:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,067 | rd | miucs2latlon.Rd |
\name{miucs2latlon}
\alias{miucs2latlon}
\title{Convert between UCS and geographical coordinates}
\description{
Coordinates within the Cartesian User Coordinate System, northings and
eastings are converted to geographical latitude and longitude using a
spherical Earth and an Earth radius of 6371. km. This is a very ... |
0917232e140230269bf04a2d583d7b3b3892da1a | 6902bceeb0dfdf1a0fe7fe2da9c92b9bf3bf1a65 | /man/phnorm.Rd | 680e7d0b9e905a5d4cc07d30445437d43e3db34c | [] | no_license | cran/publipha | af504bc1af5bb3e7321dc7b32f03cfbf0a6f74fa | 934b3c701d87a4eae80f92ec736c569dc3f92275 | refs/heads/master | 2023-04-15T04:50:57.508020 | 2023-04-04T15:10:06 | 2023-04-04T15:10:06 | 236,876,044 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,813 | rd | phnorm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/densities-phnorm.R
\name{phnorm}
\alias{phnorm}
\alias{dphnorm}
\alias{rphnorm}
\alias{pphnorm}
\title{p-hacking Meta-analysis Model}
\usage{
dphnorm(x, theta, sigma, alpha = c(0, 0.025, 0.05, 1), eta, log = FALSE)
rphnorm(n, thet... |
b7e087a4498360d6eb50a54fdc4ae1631ec00460 | 0f93f5aa525b40ad2fb69891f0edb510d2d771c4 | /maricultura-app/scripts/footer.R | c7cb00425644cb4809bd6e528e9242ee10917d79 | [] | no_license | sandrafogg/maricultura-app_practice | e67d133f6f6e7f2c6f8145308ff71a14a31ded4c | 17946efc461738945838546ed178a039251ef042 | refs/heads/master | 2023-03-15T09:36:20.336838 | 2020-10-13T00:29:12 | 2020-10-13T00:29:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 656 | r | footer.R | footer <- div( style = "background-color: #c5dbeb; padding: 15px; text-align: center;",
tags$footer("Developed with",
tags$span(style = "font-family: 'Source Code Pro', monospace; font-size: 25px;" ,"Shiny"),
"from",
img(src... |
f5eb05357c99f0118061f757d04c278e674593b5 | d843965659ffab99d2dfcf923da8de0450958c8b | /Predictive_Modeling/7_NonlinearRegressionModels/7_Answers3.R | 0930ef43848bbe3c4bf3a00be36627f292f07168 | [] | no_license | LataniaReece/R_Scripts | 160d4c8424fb1797a147952cbd85b5f7fd73b8e2 | 44dba10b69db94e82273fc9f52834ac11f283edd | refs/heads/master | 2022-02-01T05:29:20.226590 | 2019-04-29T23:15:40 | 2019-04-29T23:15:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,882 | r | 7_Answers3.R | #7.3 Answers
library(caret)
set.seed(0)
data(tecator)
fat = endpoints[,2] # what we want to predict
absorp = data.frame(absorp)
zero_cols = nearZeroVar( absorp ) # look for highly correlated predictors ... none found ...
zero_cols
# Split this data into training and testing sets:
#
training = createDataPartiti... |
39e169953044b0a9023af09700e9d48dff46f0e6 | afbcc28818986180ecfd94465071511940365ee5 | /init.r | 7ff71aed8ec2db3f1906e4aed4209f635fa1b686 | [
"MIT"
] | permissive | matthewgthomas/witch-stats | 50784cf739f4f9623f113821f6a754cf18a81cad | 2d32f9d64ec420da12a1b75c9823c6c85da03aad | refs/heads/master | 2021-05-15T20:42:44.336077 | 2018-01-18T21:18:26 | 2018-01-18T21:18:26 | 107,792,387 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 668 | r | init.r | ##
## load Mosuo data
##
library(tidyverse)
source("init plots.r")
# where stuff is
data.dir = "data"
plots.dir = "plots"
models.dir = "models"
results.dir = "results"
# create folders if needed (except data folder: if that's missing, you can't do much more here)
if (!dir.exists(plots.dir)) # plots
dir.create(p... |
d0fd0e5b54a90df9794ee037980f3c3c6e4dc503 | 642015754f6334c883d87fc35d4ab83e3e1f2f5c | /metacell/scrdb/R/reduce.r | dd4f892bd47c7c865334822ff3df1198d79bc043 | [] | no_license | tanaylab/hematopoiesis2018 | 343d226e56842e0ccac088c9ced77a0e4a843e7e | 5b83d8e5addbc827a39b85d12bdc5d03d5e97673 | refs/heads/master | 2020-07-17T14:08:29.587073 | 2018-06-19T07:18:38 | 2018-06-19T07:18:38 | 206,033,624 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 931 | r | reduce.r | #' Dimensionality reduction for gene expression
#'
#' Reduce a single cell matrix over a gene set, or through various dimensionality reduction strategies.
#'
#' @param Object .
#' @param type .
#' @param d_n .
#'
#' @export
#'
setGeneric("tgscm_reduce",
function(.Object, type, d_n, ...) stnadrdGeneric("tgscm_reduce"))... |
62a6d4736c236e3e04e4c79cfe1885bfa5067cab | 154454a26186cc9f89245a9bd25295796999ae85 | /04-26-2019.R | 7c32cab846c8f836a24dce123dad536e73f5e4ea | [] | no_license | ryanpeiffer/538_riddler | aeef9fba008b5ea97a555720deb447568e4497f8 | 368b3b8619ff936531a51695bf50a0985c53c83d | refs/heads/master | 2023-09-02T17:30:32.793716 | 2023-08-18T15:32:43 | 2023-08-18T15:32:43 | 178,730,235 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,680 | r | 04-26-2019.R | # 538 Riddler - 04/26/2019
# Thanos, the all-powerful supervillain, can snap his fingers and destroy half of all the beings in the universe.
#
# But what if there were 63 Thanoses, each snapping his fingers one after the other?
# Out of 7.5 billion people on Earth, how many can we expect would survive?
#
# If t... |
ee15bc42b8e8cbe1adf35662bd2aef7523fafa4c | a3c78700a65f10714471a0d307ab984e8a71644d | /base/db/R/derive.trait.R | 7abc5b9cc6428fe3de720093c2a75f8554ccb4ca | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | PecanProject/pecan | e42a8a6a0fc9c0bb624e0743ab891f6cf131ed3f | ce327b92bf14498fa32fcf4ef500a7a5db5c9c6c | refs/heads/develop | 2023-08-31T23:30:32.388665 | 2023-08-28T13:53:32 | 2023-08-28T13:53:32 | 6,857,384 | 187 | 217 | NOASSERTION | 2023-09-14T01:40:24 | 2012-11-25T23:48:26 | R | UTF-8 | R | false | false | 2,450 | r | derive.trait.R | #-------------------------------------------------------------------------------
# Copyright (c) 2012 University of Illinois, NCSA.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the
# University of Illinois/NCSA Open Source License
# which accompanies this di... |
ea5fb5a607e49d2a0c3824d4c30b0e96ae6ee7af | 0392e3ed22ce0e014c04634f2adb018325c0025b | /man/pipe.Rd | e0771bbd3503cdaf31661086c90d496c1866adee | [] | no_license | swang87/fc | cff78468ac1cdb1ed2922f94a29fd2e4eb682c92 | f031539b06b26016560f47303ebef28dec90808d | refs/heads/master | 2021-03-27T14:53:00.290061 | 2019-10-20T22:53:12 | 2019-10-20T22:53:12 | 114,667,105 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,039 | rd | pipe.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pipe.r
\name{\%>\%}
\alias{\%>\%}
\title{Forward-pipe Operator Using Standard Evaluation}
\usage{
lhs \%>\% rhs
}
\arguments{
\item{lhs}{the function that will be applied second to an input.}
\item{rhs}{the function that will be applied firs... |
90982b28b5a5e6b7b13c0b85739653cba71d7705 | 4e867cca2e7e628d9966b4de1d19bc1a46014b6f | /Rscripts/2_cometh_sensitivity_specificity_10-30-2018.R | 2414ee74bdfd4e327ece8e0a12d5302f658028eb | [] | no_license | lissettegomez/coMethDMRPaper | 34657bd51a027b3bca5cdf7d0b81be3938f8316c | 912ea71c5f3cc8c4a606d1d639a9455da16b57c8 | refs/heads/master | 2020-04-26T19:15:43.013322 | 2019-06-07T17:52:25 | 2019-06-07T17:52:25 | 173,768,548 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,784 | r | 2_cometh_sensitivity_specificity_10-30-2018.R |
source ("./functions/contiguous_regions_noCpGsortByLocation.R")
source ("./functions/ComethCpgEval_SeSp.R")
source ("./functions/CpGsInRegion.R")
library(psych)
library(bumphunter)
library(coMethDMR)
# compute sensitivity and specificity for cometh selected cpg probes
locationFile <- readRDS ("./data/cpg.locations.... |
e09d5cea5c9626149d220938736b5ed5a21f5c2e | 665c32727f3920aaaa8e2535f66d8df09d55944a | /inst/doc/multivariate.R | d05d23f676c6ebabfce11b3b214b940c24e4bef4 | [] | no_license | cran/survivalAnalysis | 5dd6ad5938641467b41655c955416422ca078d7a | ea726a3265120f159a15cede3191b892bc79bf73 | refs/heads/master | 2022-02-23T03:34:21.388556 | 2022-02-11T13:00:02 | 2022-02-11T13:00:02 | 147,193,710 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,538 | r | multivariate.R | ## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ---- echo=FALSE, results='asis'----------------------------------------------
knitr::kable(head(survival::lung, 10))
## ---- warning=FALSE, message=FALSE--------------------... |
11a9755fd6d47f38c64474dd9d6346692e27163b | 76cb61dc6f0d84ac84627a2beecdb3cc6f4a851f | /r_scripts/join_sentiments.R | 3e4f016fce3bd53c361ecaa51b9b498f42cd2ed0 | [] | no_license | serrat839/INFO-474-group-six-lol | 8b01a99c5c9fbc89b8ec5b9b4d9753084e987652 | 1f2af9822b70d8641e17ee838de0944b18f3940f | refs/heads/main | 2023-01-10T09:06:30.524112 | 2020-11-17T01:50:22 | 2020-11-17T01:50:22 | 308,190,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 734 | r | join_sentiments.R | library(tidytext)
library(stringr)
library(dplyr)
song_data <- read.csv(paste0("./clean_data/album_song_lyric_data.csv"))
lyrics <- song_data %>%
select(album_ids, album, artist, track_id, lyrics)
lyric_tokens <- lyrics %>%
unnest_tokens(word, lyrics)
data(stop_words)
write.csv(stop_words, "./clean_data/stop... |
e3790d571c825247ccbb7309af32bc48e1561942 | 93ea3056aeca80141c2380d732c520391c8aa1ea | /BMAPack/R/summaryBMA.R | 49b38b43515679b5db6458e97298f264c5a7f89e | [] | no_license | karlosmantilla/midterm | 22e0fab6480c6dc3c7a17845ef2434df7a032bd1 | b949ae1988b676d59874030d8ffdd2144d64a7d1 | refs/heads/master | 2020-12-11T07:20:50.143098 | 2014-03-21T05:32:51 | 2014-03-21T05:32:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,879 | r | summaryBMA.R | #' Provides descriptive summary statistics for either the posterior expected values or the posterior probability that coefficients are non-zero
#'
#' Provides summary statistics for posterior expected values or posterior probability that coefficients are non-zero
#'
#' @param M a matrix of observations for the covari... |
ad3d34f85fc2b0bb1d1ca5e9a97fae3d2c04670b | 29585dff702209dd446c0ab52ceea046c58e384e | /genpathmox/R/class5_node.reg.R | 28022775ca83e61835597a84fc5f8c98a5953248 | [] | 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 | 291 | r | class5_node.reg.R | #' node.reg class
#'
#' info.pls is a S4 class that contains element of the node class
#'
#' @name node.reg_class
#' @rdname node.reg_class
setClass("node.reg",representation(
id = "numeric",
elements = "numeric",
father = "numeric",
childs = "numeric",
info = "info.reg"
))
|
f33ba8d422e5a4b4c837bb79f0ce508793b08803 | b4853df8052fea8a830cef05805fdbb5afe2f6f9 | /R/statistics.R | 38348838e82f4fab674b28890033058b9798cfb9 | [
"Apache-2.0"
] | permissive | SilentSpringInstitute/RStateCancerProfiles | a18b61c15f593fecd33fd977b93025084164b03e | 64edbc7cad3e2be028389e2006e2314f37804753 | refs/heads/master | 2020-06-10T22:36:52.409978 | 2017-01-03T22:33:11 | 2017-01-03T22:56:10 | 75,855,593 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,006 | r | statistics.R |
query_args <- function(l) {
paste(names(l), l, sep="=", collapse = "&")
}
#' @import maps
statistic_form_values <- function(by, state, cancer, race, sex, age) {
ret <- list()
if(by == "county" && (is.null(state) || state == "all")) {
ret$state = "99"
}
else if(by == "county" && !is.null(state)) {
st... |
a4a08740f928f6d4457c5aaf4d6c2cd0cf019ea3 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/4279_15/rinput.R | 38eeb1030c97477b48ce5b7495b788ae3783c5a1 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("4279_15.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="4279_15_unrooted.txt") |
f071214cc345a5612b672c233db293297c11b3da | b8ee42e013830b212f437290aae9e871e040bcfb | /Source Code/R Part/DeepLearning.R | 58b43773d9138e96b146c4fd64fc48895177ecaa | [] | no_license | AlenUbuntu/handwritten-digit-recognition | 3d89d4ae01140f372c54dbd20f675c567b618099 | 419f7fef48a224ece36ed7fa257fe9e645186baf | refs/heads/master | 2016-09-14T09:26:00.811450 | 2016-05-12T22:16:56 | 2016-05-12T22:16:56 | 58,679,764 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,390 | r | DeepLearning.R | install.packages("h2o")
library(h2o)
setwd("E:/Number Recognition")
#import training data
mnistPath <- 'E:/Number Recognition/train-small.csv'
mnist.hex <- h2o.importFile(path = mnistPath, destination_frame = "mnist.hex")
train <- as.data.frame(mnist.hex)
train$label <- as.factor(train$label)
train_h2o <- a... |
3cb8b14a1b06e934c58ce9a512efa5f6079a6f57 | 87f16d2eb5d898c9eabe604b7beefaa824bdde2e | /pp.sst/scripts/03.side.05.univariate.rk.histo.R | cbb430f0eb7fa1e542d74e346754667bc5e312ea | [
"MIT"
] | permissive | jasa-acs/Multivariate-Postprocessing-Methods-for-High-Dimensional-Seasonal-Weather-Forecasts | 733cd54f189ecaee995f221023dfea7d41a85ff1 | f27b25ac475128ddf3020d1c4e77fb513fbc2d46 | refs/heads/master | 2023-02-09T02:53:43.656133 | 2021-01-04T16:52:32 | 2021-01-04T16:52:32 | 325,870,622 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,524 | r | 03.side.05.univariate.rk.histo.R | #############################################################################
############# side script 3.5 - univariate rank histograms ################
#############################################################################
# This script generates univariate rank histogram plots (not shown in the paper).
... |
befa70452de3d93aa49610ae8b1c3c7aed11372e | 3e2ef5d8d37072c54e4fd4bc5f09e797bcabbb17 | /src/script_01_load_tidy_data.R | 42d14bdff3587d884b7fbb70a1464333b6d1297a | [] | no_license | UBC-MDS/DSCI_522_Income_Prediction | 8a0b5f86f578afce1ad30b93ca5aa7a5c2dee617 | 4d7d0f278e98759bfe03d1e7099a03c9c4342a58 | refs/heads/master | 2020-04-07T03:30:16.974167 | 2018-12-09T00:32:09 | 2018-12-09T00:32:09 | 158,018,782 | 0 | 9 | null | 2018-12-09T00:32:10 | 2018-11-17T19:44:23 | R | UTF-8 | R | false | false | 3,443 | r | script_01_load_tidy_data.R | #! /usr/bin/env Rscript
# script_01_load_tidy_data.R
# Olivia Lin, Mani Kohli Nov 22 2018
# This script takes in the original data set and returns a cleaned data set for our project.
# This script should be run under the root folder.
# Usage: Rscript src/script_01_load_tidy_data.R arg1 arg2 arg3
# Description: arg... |
63b6977e7ee65ce18e88445645b581d649855189 | 9e98d6c50c13b4f8baa09de949cf6092bb27ec9f | /煤炭/coal0807.r | dbd4f4b888d9b4fa0dd9f8de03d2b1e2b17fd33d | [] | no_license | DanieljcFan/genial-flow-model | 620e8d048a12db3ed6a6c5a1bbbe22a34efbbbf3 | 6d464c6c5ed50fb44cbeb101e4598b040d85dc69 | refs/heads/master | 2021-01-19T23:20:54.933071 | 2017-08-31T09:27:50 | 2017-08-31T09:27:50 | 101,262,811 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 9,805 | r | coal0807.r | library(ggplot2)
library(corrplot)
setwd("I:/work/genial-flow/煤炭/")
coal <- read.csv('煤炭开采行业财务数据.csv')
coal$报告期 <- as.POSIXlt(coal$报告期, format='%Y/%m/%d')
coal$year <- as.numeric(format(coal$报告期, format='%Y'))
str(coal)
#report_clean 函数处理公司季报,计算各季度财务指标的变化。对于季报残缺不齐的用平均法补齐
#默认报告期为每季度末,输出后会将所有31号改为30号
#函数输入 name 公司名 tim... |
3443a1c541dc0c6ac2112f8de9186853b13940b7 | 3fe1a27ecb52798609e99b5c7a2af1b95166c03d | /man/raster.kmeans.Rd | 9ce4926e7ba3bc0ee45ffe5d4f0086bb01c396e0 | [] | no_license | mbedward/ecbtools | 6cbbfbe3c18734b75c42f0bd292aeab69f7bee69 | 16c5df2857f83fadfaac35447e21388daa69bfdb | refs/heads/master | 2023-02-16T19:29:39.773238 | 2021-01-17T20:26:25 | 2021-01-17T20:26:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,967 | rd | raster.kmeans.Rd | \name{raster.kmeans}
\alias{raster.kmeans}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
K-means Classification on a RasterStack
}
\description{
This function performs a k-means unsupervised classification of a stack of rasters. Number of clusters can be specified, as well as number of iterati... |
d44017ab86dd67a63e87d5ae718274fb9ef024cb | 41178f6b6b2e386393a0d5bc2b8128a89ec185a5 | /R/permutation_functions.R | 3980215f2bd37650a3625cb9a430c45c37eee0fe | [] | no_license | kferris10/Kwproj | 0b374d518db772942d6df1bf31058cc808b0692f | 55f634dd6bb5000f6037ff203701f45a11200ce7 | refs/heads/master | 2021-01-19T17:22:34.723221 | 2015-04-06T03:52:16 | 2015-04-06T03:52:16 | 31,190,834 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,534 | r | permutation_functions.R | #' Difference in Densities
#'
#' Calculates the difference in pitch density when pitchers are responsible for
#' the men on based and when they are not responsible. Densities are calculated
#' using the \code{\link{kde2d}} function in the \code{\link{MASS}} package.
#' @param npoints the number of grid points in each ... |
c34341c6eed48567ec82fc136df2a9061b8198c0 | f58a1c8b5043afb99cfcb386dbddc30fb43becf5 | /man/gatherData.Rd | 89e1a632a98c6a75fed509461413b6dd0c373000 | [] | no_license | MassBank/RMassBank | b00fe69f7c0026c13b7fe337522ceaa469ee8340 | 3b61006a1a4bac9c94e780ad82834a1dae9ce417 | refs/heads/main | 2023-08-16T18:02:42.074467 | 2023-05-04T09:51:53 | 2023-05-04T09:51:53 | 9,348,686 | 12 | 15 | null | 2023-07-28T09:20:16 | 2013-04-10T15:01:01 | R | UTF-8 | R | false | true | 1,822 | rd | gatherData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/createMassBank.R
\name{gatherData}
\alias{gatherData}
\title{Retrieve annotation data}
\usage{
gatherData(id)
}
\arguments{
\item{id}{The compound ID.}
}
\value{
Returns a list of type \code{list(id= \var{compoundID}, ...,
'ACCES... |
b2fdeaa0b5d9b28b9985f7660cb0dad0999eeca7 | ef86e9a140f9c234e37849399ce5d8aeb7d727f1 | /R/VisualizeVariable.R | d9a31b4558d5e6386ec019e8ccef86626f70ed47 | [
"MIT"
] | permissive | MartinLBarron/CodebookGenerator | 926d7f47f3323a3393182926ac1e5462a4b394db | 03d3f7cece9bac3595545e8fb28c346dceefcbc1 | refs/heads/master | 2021-04-06T10:44:03.499843 | 2019-03-31T02:22:07 | 2019-03-31T02:22:07 | 124,551,406 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,368 | r | VisualizeVariable.R | # build a string that is the code that will be run to produce visual
VisualizeVariable_string <- function(var, varName){
varClass <- class(var)
numUnique <- length(unique(var))
#if there are fewer than 10 levels or it's a character/factor, we'll use a bar
if (numUnique<=10 | varClass %in% c("factor","charact... |
62c563d62c644c33cb558fd2740538b83ecfb0aa | 004752a3f8ab357fd3c5ca0332955f94bdd25957 | /RScripts/Data processing/Prior to reconditioning 2020/Define fleets.R | 63ae80a2c5b3d54d4314d14a20e0f5fd4640ecc4 | [] | no_license | pl202/abft-mse | 29a6b7da92e7606a771a12fa8c3305474a2e4f37 | 7fb761b53aff271f0bd19b77659a16255b67b6b9 | refs/heads/master | 2022-09-20T07:09:04.432760 | 2022-08-02T22:45:22 | 2022-08-02T22:45:22 | 97,934,118 | 0 | 0 | null | 2017-07-21T10:04:33 | 2017-07-21T10:04:33 | null | UTF-8 | R | false | false | 1,795 | r | Define fleets.R | # Define fleets.r
# August 2016
# R Script for defining fleets for this operating model
Fleets<-new('list') # note you must put ALL flag types ahead of specific fleet types of same gear - sequential fleet assignment
Fleets$name<-c("LLOTH","LLJPN","BBold_E","BBold_SE","BBnew","PSMedRec","PSMedLOld","PSMedSOld","TPOld",... |
6506aa30f7720a2386539e4d78eeff90d8796b21 | 3b4b9d957c2b6b7624e2ed1d0925667dc24b0150 | /plot1.R | f04ff95223ce83ba443ae431ff478d94257ea9cb | [] | no_license | santoshgsk/ExData_Plotting1 | 3993f5e66d1426e555c09cd0d74c67884928b580 | dadb662fcd2dd344182056e8009dcc733f79acb0 | refs/heads/master | 2020-07-10T00:04:41.228795 | 2014-05-10T20:54:27 | 2014-05-10T20:54:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,217 | r | plot1.R |
# Reading only the subset data for Feb 1st, Feb 2nd of 2007
subsetData <- read.csv("household_power_consumption.txt", sep=";", skip=66637, nrow=2880, na.strings=c("?"), colClasses=c(rep("character",2), rep("numeric", 7)))
# To associate the column names, reading the header line into a temporary data frame
forColNames... |
787222b528dda33260d662408abf2e09f3ba2ec6 | 54619814c48f9f41c427ced3da8159c47316e601 | /exploring_FISH.R | 5e49bb4db4743f668431248cd1433f2de081eb93 | [] | no_license | amarseg/RNA_seq | f40f11d97c3a64a18ba9e413bbdaec3453214c53 | 3d07eb8b77e0f03a6c8ef610798f3af3a434c03e | refs/heads/master | 2021-05-04T10:56:34.146765 | 2017-08-14T09:39:11 | 2017-08-14T09:39:11 | 36,794,988 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,199 | r | exploring_FISH.R | ##Processing FISH QUANT data
library('plyr')
library('lattice')
par(mfrow = c(1,1))
probe_list <- read.delim('C:/Users/am4613/OneDrive/Summaries_as_timecourses/Probe_list.txt', header = T, strings = F)
setwd('C:/Users/am4613/Documents/FISH_QUANT/Results_mature/Collated_results/')
file_list <- dir()
file_list <- fil... |
87ce7d97da526dffce2ade55c506de18fd3d9cc3 | 3b9cf7794cd1a906f028536c399538b002fbcff0 | /man/doF3Test.Rd | 149a3a52544c4aa1996a25e8ec169544c94921d3 | [] | no_license | martinsikora/admixr | d46029ff534591e8eee625fbe05c1e559bd8b8a3 | e14f63bc44c5b88be085ea2652174541cb2857ee | refs/heads/master | 2020-12-30T14:56:37.288491 | 2015-05-15T17:34:40 | 2015-05-15T17:34:40 | 35,686,620 | 16 | 4 | null | null | null | null | UTF-8 | R | false | false | 883 | rd | doF3Test.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/fstats.R
\name{doF3Test}
\alias{doF3Test}
\title{F3 test}
\usage{
doF3Test(p, idxM, blockIdx)
}
\arguments{
\item{p}{allele counts array, dimensions SNPs x individuals x 2}
\item{idxM}{matrix of dimensions 1 x 3 with population label... |
948bec1973acc19cdca565a85a83e353f1bcce85 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/drgee/man/drgee.Rd | dec78b882c05780d2408994516c3979c88f6cb61 | [] | 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 | ISO-8859-1 | R | false | false | 13,870 | rd | drgee.Rd | \encoding{latin1}
\name{drgee}
\alias{drgee}
\alias{coef.drgee}
\alias{vcov.drgee}
\alias{print.drgee}
\alias{summary.drgee}
\alias{print.summary.drgee}
%\alias{naiveVcov.drgee}
\alias{clusterRobustVcov.drgee}
\title{Doubly Robust Generalized Estimating Equations}
\description{
\code{drgee} is used to est... |
0937a027a05b2dc830e300d74114fbc3b16d91bb | 9a5cd516300be561dc627ebb3fc07ead2707b502 | /man/exportr.Rd | 5c5fff4ea7b48ca8c07f04230d7e467de7ff93a7 | [] | no_license | cran/incadata | 11535f59e08977e5cb0dca961ea16f5e723e4b2e | a80e811b5d22ae44d39231b5ed1994653dc01d27 | refs/heads/master | 2021-05-23T02:43:52.314286 | 2020-04-09T07:20:02 | 2020-04-09T07:20:02 | 82,063,922 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,353 | rd | exportr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/exportr.R
\name{exportr}
\alias{exportr}
\title{Dump script together with functions from required packages}
\usage{
exportr(
script = NULL,
packages,
recursive = TRUE,
outfile = "./generated_r_script.R",
force = FALSE
)
... |
d6a829dc170f3b26ebda2a98801a2b67a3c3cbc5 | 6baba64a7bdb5879768da2302a23608be28cf3ee | /FormerLabMembers/ChrisBarbour/somalogic_msdss_modeling/scripts/msdss/msdss_ratios_forest.R | b366d85c41f5507ca0c930464f7221eced724ac5 | [] | no_license | bielekovaLab/Bielekova-Lab-Code | 8db78141b6bebb0bbc08ea923655a676479992fa | 369db2455344660e4012b605a4dc47c653a5c588 | refs/heads/master | 2023-04-20T01:01:50.556717 | 2021-05-04T12:44:37 | 2021-05-04T12:44:37 | 261,584,751 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,075 | r | msdss_ratios_forest.R | source("./scripts/0-functions.R")
source("./scripts/0-package-funs.R")
data <- read_csv("./data/CLEANED_soma_untreated_20190508.csv")
soma_dt <- readRDS("./data/soma_adjusted_ratios_20190626.rds")
data <- data %>%
filter(model_cohort=="training") %>%
select(sampleid,msdss) %>%
as.data.table()
som... |
49a71502be7e76daca6f88bd9e3dd2de88c184f2 | 35da33a02f5e37cc4c860059dc969597e97ef800 | /DecidingTree/Rfile/DecidingTreeTest.R | dc2f7804547224e319b3392f793f0da0a2e91626 | [] | no_license | yuanqingye/R_Projects | f36c176b6295818defb1429859b9faa3dac8862d | dc460dc56cb6a36b4bd7aeffeb1fb70e6791b1ec | refs/heads/master | 2020-03-11T06:46:14.832080 | 2018-05-18T06:33:05 | 2018-05-18T06:33:05 | 129,839,300 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,336 | r | DecidingTreeTest.R | library(rpart.plot)
data("bodyfat", package = "TH.data")
dim(bodyfat)
attributes(bodyfat)
bodyfat[1:5,]
set.seed(1234)
ind <- sample(2, nrow(bodyfat), replace=TRUE, prob=c(0.7, 0.3))
bodyfat.train <- bodyfat[ind==1,]
bodyfat.test <- bodyfat[ind==2,]
library(rpart)
myFormula <- DEXfat ~ age + waistcirc + hipcirc + el... |
949a3c20a696a8ceeee67e4f41983112c8c5fb14 | 6782bf87aa03c99aab044004cdb4cc1577e5f0f1 | /PhenStat/PhenStatSource/R/RRFramework.R | 36d99ec2b26ce3c850befb7fa0288cefceaaf08a | [
"Apache-2.0"
] | permissive | jmason-ebi/stats_working_group | 177c1aebe0747bda41f4c807d37702e740272ec3 | 41bb896421927c1e0bbdfd35e5b1a6fcfe98d579 | refs/heads/master | 2021-01-17T22:07:19.380155 | 2014-01-29T15:43:42 | 2014-01-29T15:43:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,844 | r | RRFramework.R | ## Copyright © 2011-2013 EMBL - European Bioinformatics Institute
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless require... |
0801d2ab0ad5a6e524623889f4756483e168bff4 | 3a42630716521b58a20d5a9445fd3eb1007188aa | /man/font.Rd | 5cb60dd080dfa3ad5b96b2ef11bf10c3db0e4ae5 | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | mslegrand/svgR | 2a8addde6b1348db34dee3e5145af976008bf8f0 | e781c9c0929a0892e4bc6e23e7194fb252833e8c | refs/heads/master | 2020-05-22T01:22:16.991851 | 2020-01-18T03:16:30 | 2020-01-18T03:16:30 | 28,827,655 | 10 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,696 | rd | font.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/doc_ElePages.R
\name{font}
\alias{font}
\title{An element which specifies the font.}
\description{
The font element defines a font to be used for text layout.
}
\section{Available Attributes (Named Parameters)}{
\describe{
\item{\emph{Comple... |
678e4b3d6ffe0ee66e9e169d70b4a50fb1c99003 | 5138db926647742e4b39a6b58f8c8a992b2578c3 | /setting/simulation_targets.R | 1dc62f0dba0e0fe9a20c0691cbc97a98cab096ed | [] | no_license | helenecharlotte/grfCausalSearch | 9863f4a1009832b9b8f1aa03bb2f2f9e2c820e5f | e14badd8f15dfc4e1067b2198de0f945b5cb3fd8 | refs/heads/master | 2023-01-20T04:59:30.175316 | 2023-01-10T10:55:42 | 2023-01-10T10:55:42 | 217,540,473 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,288 | r | simulation_targets.R | ### simulation_targets.R ---
#----------------------------------------------------------------------
## Author: Thomas Alexander Gerds
## Created: May 5 2022 (11:08)
## Version:
## Last-Updated: Jan 10 2023 (09:56)
## By: Thomas Alexander Gerds
## Update #: 200
#--------------------------------------... |
61cf1dd58e5d40d78c3d236249ac5e0bb2a00209 | e0d76b276a1666f7ed7a3f3c03fc5470ff8166fc | /tests/testthat/test.misclassificationPenalties.R | 9db2bdf1f464c98107d2b342136849e33a2365f2 | [] | no_license | damirpolat/llama | dee1808f400a62e0d47430c042228653af6569a1 | a5e1d5d4ca591e5558bb610baef9cff36f792ef4 | refs/heads/master | 2020-06-23T17:31:32.277154 | 2019-07-28T00:13:03 | 2019-07-28T00:13:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,125 | r | test.misclassificationPenalties.R | test_that("misclassificationPenalties returns penalties", {
expect_equal(sum(misclassificationPenalties(dmeas, modelameas)), 10)
expect_equal(sum(misclassificationPenalties(dmeas, modelbmeas)), 0)
})
test_that("misclassificationPenalties works without test split", {
fold = data.frame(id=1:10, a=rep.int(1, ... |
478ae004c267da20db3280346a79022d4e78901c | c94dda9aef39aa193f7660311d971508d0b3c940 | /ch2/sqsolve.R | 85c116dd4ddd1dd3cb93fa367c30cb6632320e60 | [] | no_license | ml-playground/nonlinear_opt_r | 7cc123b8b1aff3a616b87a0ed5dc6ee5fd3a9fd9 | 67d209ed1df1f5d0b2f53fdbfd820d5a842178a3 | refs/heads/master | 2016-09-12T16:35:28.864114 | 2016-04-15T16:46:58 | 2016-04-15T16:46:58 | 56,057,960 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 122 | r | sqsolve.R | x <- c(0.1, 0.8)
source("sqfn.R")
source("steepdesc.R")
asqsd <- stdesc(x, sq.f, sq.g, control=list(trace=1))
print(asqsd) |
1d3987b4c253eb77b783cbf7fcce9facaa2de256 | f7fe5eea9a5aa93d94b5682fc1ba5b1efb303c69 | /man/conf_renderer.Rd | b1498fad662a1e8a1e5b1affbe7958b32ee31e7a | [
"MIT"
] | permissive | JohnCoene/g2r | 056080dbbec46b2b47210922dffac664aa355961 | 3062b102e3095c2e3e9be4c6b24b17bf28737598 | refs/heads/master | 2021-06-18T23:13:24.645610 | 2021-02-27T19:54:45 | 2021-02-27T19:54:45 | 182,956,100 | 160 | 12 | NOASSERTION | 2019-05-15T12:43:30 | 2019-04-23T07:12:19 | R | UTF-8 | R | false | true | 424 | rd | conf_renderer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/style.R
\name{conf_renderer}
\alias{conf_renderer}
\title{Renderer}
\usage{
conf_renderer(g2, renderer = c("svg", "canvas"))
}
\arguments{
\item{g2}{An object of class \code{g2r} as returned by \code{\link{g2r}}.}
\item{renderer}{Renderer, \... |
7944ac341b1ae23858350d19b941f32c3b6ac839 | c9dd079840c9e9d2158557a1fd67196643bdde3c | /binomial/tests/testthat/test-binomial.R | 8e42b46d9ae050ba07637310e51547e0d6592769 | [] | no_license | stat133-sp19/hw-stat133-aditya234123 | c5d3593ffd5cfc13a4f74a5fc61978497c1d79f4 | 0a3829d3c464fc94536eed40d482ad0691605c42 | refs/heads/master | 2020-04-28T03:51:35.310624 | 2019-04-26T22:46:33 | 2019-04-26T22:46:33 | 174,954,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,558 | r | test-binomial.R | context("Testing binomial functions")
test_that("Testing bin_choose()", {
expect_equal(bin_choose(5,2), 10)
expect_equal(bin_choose(c(5,2), c(2, 1)), c(10, 2))
expect_equal(length(bin_choose(c(5,2, 20), c(2, 1, 10))), 3)
expect_error(bin_choose(2,5))
})
test_that("Testing bin_probability()", {
expect_equal(... |
ef41d50f92e893b380a0276d4339a9d5594c7879 | a83e80443e3b31d5f66c8f07fa83fbe7b9396424 | /R/fsd.perm.R | 41ec636f39d84d60ca581771c631d71e10d6cb10 | [] | no_license | kuenzer/fsd | 70432829172c0c21b1d6b178a5657ef6c07a9c8d | b09f30fdf2591094bdb1017c49594b583c1edf6e | refs/heads/master | 2022-11-14T07:23:11.825765 | 2020-07-14T11:19:18 | 2020-07-14T11:19:18 | 201,284,254 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 927 | r | fsd.perm.R | #' Permute the dimensions of a Functional Spatial Data Grid
#'
#' This function is used to permute the order of the dimensions of the spatial
#' grid of some functional spatial data.
#' @param fsdobj the functional spatial data.
#' @param perm the subscript permutation vector, i.e. a permutation of the
#' integers 1:... |
effd007c0f58a1033ed492057247cbc917d290e4 | 154b48b9f4063797871af647f1d14b5cff7c6e81 | /R/bacisCheckDIC.R | d1c6e583987bef4763bd1abba1278b0f4ff23257 | [] | no_license | cran/bacistool | 0bacc13f50d02b98cfa7e2b08521c343d08b393e | a7a336e0ee17189c6962392491b861017d7cf890 | refs/heads/master | 2021-06-05T23:02:34.730292 | 2020-06-05T21:00:05 | 2020-06-05T21:00:05 | 145,900,892 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,021 | r | bacisCheckDIC.R |
bacisCheckDIC<- function(numGroup = 5,
tau1 = NA,
tau2 = .001,
phi1 = 0.1,
phi2 = 0.3,
MCNum = 50000,
nDat = c(25, 25, 25, 25, 25),
xDat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.