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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
97edf77131d3c4cfbe98281093ecc71ce648f7ea | 6cfd36128f7021bca42efd9cc9b6ff6d0830883e | /plot4.R | 9cb0d8c1dc8c56733c8b27935fe47fca706ec180 | [] | no_license | BartvBekkum/ExData_Plotting1 | a9599a0eadd9bb013554c15a34664e16aeec6816 | 061d4f12a8c181f4b6f3b3647e36f897aa4993e7 | refs/heads/master | 2021-09-01T14:34:44.196835 | 2017-12-27T13:48:03 | 2017-12-27T13:48:03 | 115,285,777 | 0 | 0 | null | 2017-12-24T20:32:02 | 2017-12-24T20:32:01 | null | UTF-8 | R | false | false | 1,455 | r | plot4.R | ## use library
library(data.table)
library(dplyr)
library(sqldf)
## read file
setwd("C:/Users/bart/Documents/Coursera/4_Expl/Data/")
mydat <- read.csv.sql("household_power_consumption.txt",
sql = "select * from file where Date in ('1/2/2007','2/2/2007')",
header = T... |
c4f8614fc79ffac5f23c9b30a8fe45c8128e8e6b | 0a906cf8b1b7da2aea87de958e3662870df49727 | /ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1609955644-test.R | bdbe4f09703adaebb25b401724b584ed1cf0957d | [] | 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 | 1,157 | r | 1609955644-test.R | testlist <- list(id = integer(0), x = c(1.90359856625529e+185, NaN, NaN, NaN, NaN, NaN, NaN, -5.48612930076931e+303, 2.78134231924851e-309, 0, 0, 0, 0, 9.61276249044187e+281, 0, 0, 9.61275984016214e+281, 2.35665862120477e-306, 6.65351697366701e-310, 2.11370674490681e-314, 7.50953090787226e-310, 0, 0, -2.06228041419... |
a33b9a2ca6f89626cb5d33484c3d61da330d50c7 | f4b3a5a762e0d3cdf4f8a32d8927289df9643148 | /ui.R | aa662cdf30848364312659e9f4ddbde6ba18757c | [] | no_license | samchow/DevelopingDataProducts | eea176fbf4a357a843a1db81f547d78c77d5318e | 81bb3e3a8c77c9cee17a65399d60a81342a8eb45 | refs/heads/master | 2021-01-10T19:31:28.190255 | 2015-02-23T00:14:39 | 2015-02-23T00:14:39 | 31,157,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 400 | r | ui.R | library(shiny)
library(ggplot2) # diamonds dataset
dataset <- diamonds
shinyUI(pageWithSidebar(
headerPanel("Estimate Diamond Prices for all cuts and colors"),
sidebarPanel(
sliderInput('carat', 'Diamond size (carat)', min=0, max=10,
value=3, step=0.1),
helpText('Use the slider ... |
c15b9498afe3da7c98fac773e272acdbb1ade52f | 83d318c52ba68542677dfc854144863d5a25afc8 | /R/movr.r | 6827ce5ac9ae26a4de1dad6dc24d2479cc489be6 | [] | no_license | caesar0301/movr | bfec07420ee8d9bb3103b27ccd1a320337147533 | 4a5326a144911c26902021b5c185ecfa87b36f7e | refs/heads/master | 2022-07-04T17:44:06.635669 | 2022-06-15T12:20:32 | 2022-06-15T12:20:32 | 28,908,047 | 9 | 3 | null | null | null | null | UTF-8 | R | false | false | 281 | r | movr.r | #' movr: inspecting human mobility with R
#'
#' A package targeting at analyzing, modeling, and visualizing
#' human mobility from temporal and spatial perspectives.
#'
#' @name movr
#' @docType package
#' @useDynLib libmovr
#' @import dplyr tidyr data.table geosphere deldir
NULL
|
1a18df52ac15a76595567720b07481312a77a14b | 85b01c6070393f012bdd4bf8d6bc36832375434a | /tests/testthat/test-goodness.of.fit.R | 2c5981d4b7cd9a620e8f500dfe2ccc8fafad5c26 | [] | no_license | AEBilgrau/GMCM | 4f0aef2910389e18d461edc2a18a9f3e0e2eebc0 | dce017d7be16c9cdf26565f78162e7dbe0619c73 | refs/heads/master | 2021-11-24T08:48:22.631145 | 2021-11-04T22:28:46 | 2021-11-04T22:28:46 | 15,970,417 | 12 | 2 | null | 2020-01-27T19:25:32 | 2014-01-16T14:41:13 | R | UTF-8 | R | false | false | 456 | r | test-goodness.of.fit.R | context("Check goodness.of.fit function")
theta <- rtheta()
u <- Uhat(SimulateGMCMData(theta = theta)$u)
test_that("goodness.of.fit is working as intended", {
goodness.of.fit(theta, u) %>%
expect_length(1) %>%
expect_type("double")
goodness.of.fit(theta, u, method = "AIC", k = 3) %>%
expect_length(1... |
4a62dda12336e90332136a39a2cac2627de1aaa2 | c1f1c1d80d2ed66c782856655662b8ccd2f5eb95 | /rsWriteSPSS.R | fe584811445b9d6933675a1ea0fa490099f39b08 | [
"MIT"
] | permissive | BurninLeo/R-helpers | 7eb6b3f38fe54c5c5fa68434b21e88c8dc5a644e | 44a87582db435d5a4f150cb277640c663ef5316c | refs/heads/master | 2021-01-23T03:12:08.826889 | 2017-03-27T19:42:34 | 2017-03-27T19:42:34 | 86,055,346 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,202 | r | rsWriteSPSS.R | writeForeignMySPSS = function (df, datafile, codefile, varnames = NULL, len = 32767) {
adQuote <- function (x) paste("\"", x, "\"", sep = "")
# Last variable must not be empty for DATA LIST
if (any(is.na(df[[length(df)]]))) {
df$END_CASE = 0
}
# http://stackoverflow.com/qu... |
ac61ddc68cc2382a62b7a241d87c198cc1b9ced5 | 391ad5a8f32ea0d0076f63885b995fb25603e2ad | /man/venn_plot.Rd | 160d5a4d359bf37580e1e00e1be84042567c23de | [] | no_license | cran/metan | a0d951dff5a151bd5a8b0b7a0a699fde0dddb50c | b3637d40a2fc9d955b928120d61399ba1bf6e11d | refs/heads/master | 2023-03-20T17:17:24.469173 | 2023-03-05T21:00:15 | 2023-03-05T21:00:15 | 236,625,199 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,829 | rd | venn_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/venn_plot.R
\name{venn_plot}
\alias{venn_plot}
\title{Draw Venn diagrams}
\usage{
venn_plot(
...,
names = NULL,
show_elements = FALSE,
show_sets = FALSE,
fill = ggplot_color(4),
alpha = 0.5,
stroke_color = "white",
stroke_alph... |
aaf9678b1665d1662210f39e729e15715f8d24b9 | 3cc21e7c4a4d6ae4a1b6f6117594e52594d47edb | /R/pdrf.R | 74e9bed953a66c62e22dec5c4502ae33d812bd1d | [
"MIT"
] | permissive | AllanCameron/PDFR | abbf377c26cccadf65200df112512471a7b317fb | 955c122cd0efa0ed4c0924e1ec8ec6340207d151 | refs/heads/master | 2023-05-23T20:56:44.545742 | 2023-05-05T14:43:52 | 2023-05-05T14:43:52 | 159,937,563 | 33 | 4 | NOASSERTION | 2023-04-06T01:59:14 | 2018-12-01T11:25:38 | C++ | UTF-8 | R | false | false | 14,639 | r | pdrf.R | ##---------------------------------------------------------------------------##
#' pdfpage
#'
#' Returns contents of a pdf page
#'
#' @param pdf a valid pdf file location
#' @param page the page number to be extracted
#' @param atomic a boolean - should each letter treated individually?
#' @param table_only a boolean -... |
08870f5f0ae457ebed200e916fd3da415a70d110 | 1459bb32324b7018862d770110aff5f9e8a4e03c | /man/seade.Rd | 4e1774a113cbe1c8453ff40c44a19c880854d5c3 | [] | no_license | rdurl0/spcrimr | 8d6818a750f3daccddb7326351feecf1ba61f5d9 | 848bab7aaad3076c1ae957cccd076e89ca5f616d | refs/heads/master | 2020-06-05T11:59:45.345746 | 2020-06-01T00:10:18 | 2020-06-01T00:10:18 | 142,907,795 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 425 | rd | seade.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dados.R
\docType{data}
\name{seade}
\alias{seade}
\title{Fundacao Seade}
\format{a `tibble` with 40 rows and 2 colums
\describe{
\item{ano}{years from 1980 to 2017}
\item{data}{a vector os \code{lists} with nested data}
}}
\usage{
seade
}... |
a5cc7c52e745f2e30ee32084880a301425ab9d0e | 17a39baa2862be00463075c9b039c361dc137b3b | /2016_09/IntroductionToBigDataAnalysis/Quiz/Quiz_2/Quiz_2.R | b41d61e26abdaf341889b3346211da9de38b4701 | [] | no_license | tnfsh810124/Courses | 76d50bdfa35de60dfef7a80818c835856a5c0443 | 65d62fc13977622905decb30ddc16a6bbbdddaa2 | refs/heads/master | 2021-06-27T00:47:56.552817 | 2017-09-15T05:44:31 | 2017-09-15T05:44:31 | 103,616,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,357 | r | Quiz_2.R | library(MASS)
df <- read.csv("train_u6lujuX_CVtuZ9i.csv", header = T, sep = ",")
sapply(1:dim(df)[2], function(x) c(names(df)[x], levels(df[, x])))
nafactor <-
sapply(c(1:6, 12,13), function(x){
sapply(1:dim(df)[1], function(n){
ifelse(df[n, x] == "", NA, as.character.factor(df[n, x]))
})
})
nafacto... |
0fa32333661914c5cb404bcff9342bbb1c946942 | f0ba683353c4e3faf242e56c84defda4972686e1 | /R/model_all_json.R | ae3dc975a937108aba2419f5f9f7497e3fd24738 | [
"MIT"
] | permissive | epongpipat/eepR | bf567c666eef0417b0dece4088ec95697f02cdba | 970c4699db1e005cabd282e903706239033c7b02 | refs/heads/main | 2023-04-01T22:44:23.247733 | 2023-03-28T17:42:07 | 2023-03-28T17:42:07 | 205,262,495 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 604 | r | model_all_json.R | model_all_json_list <- function(x_path, y_path, model_path, out_path) {
n_pad <- 3
x_path <- "/Volumes/eep/"
model_path <- "/Volumes/eep/kaggle/trends-assessment-prediction/models_list.json"
stop_if_dne(x_path)
x <- read.csv(x_path)
stop_if_dne(y_path)
y <- read.csv(y_path)
stop_if_dne(model_path)
m... |
2feb45a48f6b0e8c82dffb4e1e8fcb52ae8dc29d | 9bca1a47407e07d5b29c0094947d11f05fee4529 | /20210215_Dashboard_Shiny_MOOC.R | 404ce9f41c3c06ff411627c22a68cfeeb71f7e2e | [] | no_license | Cesarp27/Projet_7_Mooc_Alexia_Jerome_Cesar | 820107d052c66e2c3586ef647acdeaeaf1531837 | 72b86e68dbb3a890fedc5f571b34025ec73b9a88 | refs/heads/main | 2023-03-07T05:01:17.112704 | 2021-02-20T12:39:38 | 2021-02-20T12:39:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,628 | r | 20210215_Dashboard_Shiny_MOOC.R | # fbrisadelamontaña()
library(mongolite)
library(syuzhet)
library(shiny)
library(shinydashboard)
library(shinydashboardPlus)
library(shinyWidgets)
library(tidyverse)
library(plotly)
library(dplyr)
library(NLP)
library(tm)
library(wordcloud)
library(wordcloud2)
library(RColorBrewer)
library(fresh)
mytheme <- create_th... |
123bba70fbc295ec0c7a3db4f0dbf3b70d6f8c20 | e12bfe3d525047b48e656a9de4e95dce3fff092e | /man/plothomol.Rd | 8fdb664de4913bdf3352141c614b5fcb6fe38b30 | [] | no_license | cran/nontarget | b3b2123169554ff1bc22b971ed52528837e5293d | 2ff45421e57ebca83edf99d66b8297112647dde4 | refs/heads/master | 2021-01-15T15:47:38.391313 | 2016-09-27T16:39:53 | 2016-09-27T16:39:53 | 17,697,934 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,551 | rd | plothomol.Rd | \name{plothomol}
\alias{plothomol}
\title{
Marks homologue series peaks in a scatterplot of retention time (RT) vs. m/z
}
\description{
Given results from \code{\link[nontarget]{homol.search}}, a scatterplot of peaks within m/z and RT is generated with homologue series marked.
Herein, homologue series receive a ... |
93b9e3cb291626d8dd39e963cce86e42f92ae6cd | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MCPMod/examples/planMM.Rd.R | 8cfecfc0cd498af04905a7c4df0fe8dd1310f1f0 | [] | 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 | 846 | r | planMM.Rd.R | library(MCPMod)
### Name: planMM
### Title: Calculate planning quantities for MCPMod
### Aliases: planMM print.planMM
### Keywords: design
### ** Examples
# Example from JBS paper
doses <- c(0,10,25,50,100,150)
models <- list(linear = NULL, emax = 25,
logistic = c(50, 1... |
68727849f3973a324efb363428562dafe35409be | 1e7fa4b25807299f732c68fb5560f661151fc34c | /R/update_all.R | 88ce8db3dc32c97ef31717dbaa8b4e62bc1c0448 | [] | no_license | gaospecial/rvcheck | 7cb4b0da40ca91bd8a6cab6f0b44ef6a7bfd6be6 | 151bd5756dd8f53670ebb42c0997a67848598924 | refs/heads/master | 2020-04-05T00:16:36.293757 | 2019-10-10T09:43:51 | 2019-10-10T09:43:51 | 156,390,608 | 0 | 0 | null | 2019-10-10T09:24:11 | 2018-11-06T13:49:12 | R | UTF-8 | R | false | false | 3,877 | r | update_all.R | ##' update all packages
##'
##'
##' @title update_all
##' @param check_R whether check R version
##' @param which repo (CRAN, BioC, github) to update
##' @return NULL
##' @importFrom utils update.packages
##' @importFrom utils remove.packages
##' @export
##' @examples
##' \dontrun{
##' library(rvcheck)
##' update_all()... |
797761a0df4c6f3bb8ccf059ca3b05092c9425e3 | 4b4558c6cbc3cf2a5c0517a9d388572aa5a216ec | /Statistics/Statistical Software and Lab/0326.R | a0349c6252b2efcb87922e315abcb26d488a2c39 | [] | no_license | cow-coding/School-Project | 15269e3f7078521381453871c88ed36ff1008cff | 1e8fa3347da14f381cb73f2cd59d3ea144612bf8 | refs/heads/master | 2022-06-22T01:22:42.025813 | 2022-06-08T18:32:21 | 2022-06-08T18:32:21 | 247,887,355 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 430 | r | 0326.R | x <- c(1,2,3, 1); y <- c(1,2,3,4)
v <- 2 * x + y + 1
print(v)
3 ^ 2 %% 4
3 * 2 %% 4
log(exp(1))
range(x)
sum(x)
prod(x)
var(x)
vari <- sum((x-mean(x))^2)/(length(x)-1)
print(vari)
complex(real=-17,imaginary = 0)
complex(3,1)
complex(3,10,-2)
#practice2
#1
x <- c("0","21","12","16")
#2
x <- as.integer(x)
sort(x)
#... |
447d70f0cc581772556c1494666bc2da98a181f2 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Miller-Marin/trafficlight-controller/tlc01-nonuniform-depth-68/tlc01-nonuniform-depth-68.R | 9ce3836d65be4ef09043a60fc92da717e78979fe | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 78 | r | tlc01-nonuniform-depth-68.R | c1c6068afad7e1fb0c7cda18727fff3c tlc01-nonuniform-depth-68.qdimacs 24220 64770 |
e2e2125d4375b03b38573d887e11acc36f690bb8 | 575c4f1be3540cdea2e66c5aa295ca0d9b88fca7 | /Assignment1/Scripts/case1/ForcastInputData.R | 37640463619e388c5af3da908fa2c65dad26c03f | [] | no_license | wenjin-cao/INFO7390-AdvancesDataScience | a270746343724996b6e05e59f2dbf2a2f9a17845 | 27007380aa99d5b1a8fca61be8f84edc0d09dcfc | refs/heads/master | 2021-06-08T16:49:54.928572 | 2016-12-14T16:55:23 | 2016-12-14T16:55:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,371 | r | ForcastInputData.R |
data<-read.csv("/Users/ling/Documents/INFO 7390 Data Science/Assignment/Assignment 1/forecastData.csv",header=T)
date = data[,1]
hour = data[,2]
temperature = data[,3]
month = gsub("/[0-9]*/[0-9]*","",date)
month = as.numeric(monthL)
data = cbind(data[,1],month,data[,2:3])
day = gsub("/[0-9][0-9][0-9][0-9]","",dat... |
5e0c1c8c5da008e31ee3df54bd94bf70bb2fc1a1 | eb471a25a9174128700b648696c759be24ece0a2 | /주제분석2주차_통원/주제분석2주차_통원_newdata_Datahandling2.R | 11048126e003f964b46a0a56f9eea829be3184a6 | [] | no_license | wjddn803/PSAT | a57790255069c0f5156873e51e201c1615916f1d | 940cae1df3a0dbc57b1983c0decef1ae43f65c9b | refs/heads/master | 2020-05-03T12:01:26.671101 | 2019-03-30T21:42:04 | 2019-03-30T21:42:04 | 178,614,300 | 0 | 0 | null | null | null | null | UHC | R | false | false | 12,105 | r | 주제분석2주차_통원_newdata_Datahandling2.R | getwd()
setwd("C:/Users/Jungwoo Lim/Documents/2018년 과제/PSAT/통원팀/Data2")
final_total_data<-read.csv("final_total_data.csv",header=T)
final_via0_data<-read.csv("final_via0_data.csv",header=T)
final_via1_data<-read.csv("final_via1_data.csv",header=T)
final_via2_data<-read.csv("final_via2_data.csv",header=T)
final_via3_d... |
09c94039970c12088fe4af9081b8084c23275151 | 2fda626e4c9d843c222aa550e5fa07ea621bde8f | /ChIPseq/heatmaps/plot_heatmaps_differential.R | a1c833aba06bb8dd9f89fcc85d76660fe6c4daa3 | [
"MIT"
] | permissive | hodgeslab/workflows | 3419be8398bbceb51cf0507c29698a9b478e28db | 88929670fb5b19d143d8aebab6fd59410b567edc | refs/heads/master | 2022-11-04T04:30:08.470156 | 2022-10-07T17:41:34 | 2022-10-07T17:41:34 | 65,153,657 | 3 | 6 | null | null | null | null | UTF-8 | R | false | false | 3,637 | r | plot_heatmaps_differential.R | #!/usr/bin/env Rscript
# File to make peak heatmaps based on a matrix of read densities across peaks
# output from bwtool. If you use this code, please cite the following:
# Hodges et al., Nat Struct Mol Biol 25(1): 61-72 (2018), PMID: 29323272.
#
# Always ensure that tile_size and max_dist match those used in the mat... |
dd7c022d21652d01011d6616bdfada961ebb868a | 736d35dfbe750b872865ff123a863529b07ccf98 | /tests/testthat/test-stations.R | aca0b3018a60d6c6640c772aaa4ca1c304988beb | [] | no_license | seananderson/glmmfields | 27e9dc767c8fd128ec986e52007b49e73defa501 | 92b44f1499834e5815823bde243183967990f1c1 | refs/heads/master | 2023-03-21T23:27:11.484397 | 2023-03-10T19:43:54 | 2023-03-10T19:43:54 | 73,511,815 | 42 | 10 | null | 2023-09-08T21:53:53 | 2016-11-11T21:12:07 | R | UTF-8 | R | false | false | 2,536 | r | test-stations.R | set.seed(42)
s <- sim_glmmfields(
df = 1000, n_draws = 2, gp_theta = 1.5,
gp_sigma = 0.3, sd_obs = 0.1, n_knots = 8, n_data_points = 30
)
test_that("Stations in second time slice can be in different order from first time slice", {
skip_on_cran()
skip_on_travis()
skip_on_appveyor()
d <- s$dat
d$ID <- se... |
2b6770240d246c87619a1f4f345d844886cf9f56 | 30365be9723f65eff45bab5bb936fd289158310a | /man/MakeGuideTablePlots.Rd | 395e954a2b484e739e4d5a71718a0a8104c78a8b | [] | no_license | pginart/SNPFISHAnalysis | 188f1ada11a62f31efdadc22db0d892432105b41 | b19c0bfc42934abf7d55f622fa1a44dfccb0de05 | refs/heads/master | 2021-01-10T05:35:15.860439 | 2016-03-31T21:05:47 | 2016-03-31T21:05:47 | 55,182,985 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 509 | rd | MakeGuideTablePlots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MakeGuideTablePlots.R
\name{MakeGuideTablePlots}
\alias{MakeGuideTablePlots}
\title{Makes a standard set of graphs for guide table}
\usage{
MakeGuideTablePlots(exp.data, guide.table, outdir)
}
\arguments{
\item{guide.table}{SNP Table for guid... |
c292ac71f9b9069fb6aabe6e033b85da45238952 | 62869f3fcec8a6e08a4a1e290f7fa1399d17fb35 | /cor.test_byID.R | 41d9d14ac046ee87f1cd108cb54d59d65ecea11a | [] | no_license | Bwarule/Data-Exploration | abe2a8b8ccc52184df7ff87dd7602c472a6411d0 | 9936fc582a3ab374cc6663205c6af9decccbc674 | refs/heads/master | 2020-05-15T04:01:10.150284 | 2018-05-17T06:41:54 | 2018-05-17T06:41:54 | 41,899,672 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 478 | r | cor.test_byID.R | ## still need convert into function
selectD <- unique(iris$Species)
for(j in 1:length(selectD)){
selectD_val <- as.character(selectD[j])
p_value <- cor.test(iris[which(iris$Species %in% selectD_val),c("Sepal.Length")],
iris[which(iris$Species %in% selectD_val),c("Sepal.Width")])$"p.value"
data_o... |
e63c8a5a6659828db8425bcb2b8f1372374ec6a2 | 79716a2b60c5567933b631ff11f67ef42f266d65 | /demo1.R | c8fda691191d11e2e5393072845ed9b82bf25866 | [] | no_license | Thossakrai/MLCourse | c49eee29bf7e1b1127269b736a41db7d19840224 | 549514e4ce52461702b0121d625a20a1b38acba0 | refs/heads/master | 2020-11-27T21:00:08.159341 | 2019-12-22T02:37:52 | 2019-12-22T02:37:52 | 229,599,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,568 | r | demo1.R | # subject_name <- c("John Doe", "Jane Doe", "Steve Graves")
# temperature <- c(98.1, 98.6, 101.4)
# flu_status <- c(FALSE, FALSE, TRUE)
#
# typeof(flu_status[1])
#
# cat("Hello world")
# print something onthe console
# hello <- function() cat("Hello!!!")
# hello()
# elasticband <- data.frame(stretch=c(46,54,48,50,4... |
a2ed70948ad3c820a5d8db141e42b7b24768a6eb | d5d199df5d5d1d9196bceb9711696ebcd77299df | /Programming Coursework/R Coursework(UMD)/Lab 5 Q2 - R code.R | cc0bf99cfdd3b04c29f72a4b00703cc558258002 | [] | no_license | JulioClaros321/JulioClaros321.github.io | c42d576a7544b32906e35e7cab4ae7cff0d00486 | ad6a03fedcc943a23ddeaa7a63b8cb436ef166c7 | refs/heads/master | 2023-08-08T00:28:44.990148 | 2023-07-24T15:33:23 | 2023-07-24T15:33:23 | 237,238,959 | 2 | 2 | null | 2023-03-07T23:54:52 | 2020-01-30T15:08:46 | Python | UTF-8 | R | false | false | 887 | r | Lab 5 Q2 - R code.R | ##
## simulate tire mileage 500 times for mean of 36500 and standard deviation of 5000 miles
## Calculate payoff of $1 per 100 miles that is less than 30000 miles
## Mean of that payoff would be the expected cost of promotion per tire
#
set.seed(105)
sim <- as.integer (rnorm (1000, mean = 36500, sd = 5000))
sim2 = as... |
0bfbcc167a4500318175cb292ee3ae764f78200d | 7a91b2ef3a5157e9ddf115be9eac0ff06e787108 | /man/GO_hs_1.Rd | 381210d67156c1845e8c0372748e292b41055513 | [] | no_license | SHerresthal/DESeqtools | 5980491993158fc7df4dc5c39a45feac2d8f3033 | 5b52b6c996c4347f40825c586f9ad43ac0430242 | refs/heads/master | 2020-04-22T00:45:31.437119 | 2019-09-27T12:17:35 | 2019-09-27T12:17:35 | 169,991,773 | 3 | 1 | null | 2019-09-20T15:09:20 | 2019-02-10T15:18:59 | HTML | UTF-8 | R | false | true | 712 | rd | GO_hs_1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{GO_hs_1}
\alias{GO_hs_1}
\title{List of GO terms (human) - Part 1}
\format{A data frame
\describe{
\item{GENEID}{Ontology term}
\item{SYMBOL}{Entrez ID}
\item{TERM}{GO term description}
\item{DEFINITION}{G... |
a4f4544778f582e83511a4a9b27a1762f32329f5 | 688185e8e8df9b6e3c4a31fc2d43064f460665f1 | /R/emuR-create_DBconfigFromTextGrid.R | 16e57592f7053ca733a751b6f1731cdcab6635c5 | [] | no_license | IPS-LMU/emuR | 4b084971c56e4fed9032e40999eeeacfeb4896e8 | eb703f23c8295c76952aa786d149c67a7b2df9b2 | refs/heads/master | 2023-06-09T03:51:37.328416 | 2023-05-26T11:17:13 | 2023-05-26T11:17:13 | 21,941,175 | 17 | 22 | null | 2023-05-29T12:35:55 | 2014-07-17T12:32:58 | R | UTF-8 | R | false | false | 3,363 | r | emuR-create_DBconfigFromTextGrid.R | ## Create emuDB DBconfig object from a TextGrid file
##
## @param tgPath path to TextGrid file
## @param dbName name of the database
## @param basePath project base path
## @param tierNames character vector containing names of tiers to extract and convert. If NULL (the default) all
## tiers are converted.
## @return o... |
618e7612ed6e8945a2fdb0c6d65a64b88d325e4c | 6d0a2dae1fdaf0cbab6e5cb38819f24b4f1d616f | /data/caret_models/LogitBoost.R | ec959bea3cdb9278ed38e53ef923f2d65dc9e322 | [
"MIT"
] | permissive | BTopcuoglu/code_review | 38e89878828c93fc3f6456384652363d4eec822e | 6092b77b623a21129936ab5f421839b20ad3f7e3 | refs/heads/master | 2020-04-23T04:36:52.320488 | 2019-02-27T14:37:25 | 2019-02-27T14:37:25 | 170,912,886 | 0 | 6 | MIT | 2019-02-27T14:14:58 | 2019-02-15T18:51:16 | R | UTF-8 | R | false | false | 4,688 | r | LogitBoost.R | modelInfo <- list(label = "Boosted Logistic Regression",
library = "caTools",
loop = function(grid) {
## Get the largest value of ncomp to fit the "full" model
loop <- grid[which.max(grid$nIter),,drop = FALSE]
... |
7168eb2854c6643e5aa5e00f8f0b905454ca47a1 | ad6ca1838f4edcc3925bd5a7aa77f8a1744b46c8 | /man/pgsm.Rd | f489cab874226678b3d10757c09c098dedeb092e | [] | no_license | cran/ForestFit | 74482a6a2aee5979f0b3cde9ca837afbe7df2f6a | a23d6772bb45572effce397be551851050a33f72 | refs/heads/master | 2023-03-11T18:18:42.583265 | 2023-02-28T04:02:29 | 2023-02-28T04:02:29 | 207,810,340 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,559 | rd | pgsm.Rd | \name{pgsm}
\alias{pgsm}
\title{Computing cumulative distribution function of the gamma shape mixture model}
\description{Computes cumulative distribution function (cdf) of the gamma shape mixture (GSM) model. The general form for the cdf of the GSM model is given by
\deqn{F(x,{\Theta}) = \sum_{j=1}^{K}\omega_j F(x... |
53e5b80de32850f6ea0ce638794526f049b3c3f5 | a8d781d3c638037542b62135421f2ffeed3a58f0 | /Vorjahresklausur-sport-blut.R | ee6b817a109e2553a2540f14964b910b778ffc0d | [] | no_license | paulzwoelfer/AKIT2 | ffc90ca6001d42fef20ccfdacbb6e8e99a47842d | a587822c1ed9176cd077d9a36879ae80762fcf2b | refs/heads/master | 2022-01-16T21:03:35.944779 | 2019-06-26T17:56:28 | 2019-06-26T17:56:28 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 13,127 | r | Vorjahresklausur-sport-blut.R | # AKIT2 SS18, Hauptklausur, 15.6.2018
library(ggplot2)
library(car)
library(corrplot)
library(effects)
library(pwr)
library(ROCR)
library(runjags)
library(coda)
rjags::load.module("glm")
library(akit2)
df <- read.csv('C:\\Users\\Dominik\\Downloads\\sport-blut.csv')
# Wir haben Daten von über 200 SportlerInnen erhoben... |
c2fbc2a20c922f4f63f122829ae50cb51731fd22 | ffbee4997633add5acd7ff18dde63bdfbb79639f | /cat.r | e0baeee937b26d9c57e290a9b293255e3d699990 | [
"MIT"
] | permissive | ozjimbob/aaqfx-render | 0835a63c5c5f7f74bdaa73af664ae5d13e8e3db4 | eebad98fe176d2abaa28b6c043a0c7852deb518d | refs/heads/master | 2021-07-13T06:49:30.959138 | 2018-10-30T23:12:37 | 2018-10-30T23:12:37 | 126,103,666 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,349 | r | cat.r | #!/usr/bin/Rscript
library(tidyverse)
library(rjson)
fl = list.files("tiles")
of = list()
rad_tab=data.frame(rad=c("02","49"),time=c(6,10))
rdr = fl[substr(fl,1,3)=="rad"]
idx = 1
for(i in rdr){
time = substr(i,5,16)
site = substr(i,18,19)
interval = rad_tab[rad_tab$rad==as.character(site),]$time
filename = ... |
57ade4c21f881cbb267a402349015bf23c8450bf | 8fbfade7dc137150a897611100dde49944fd0cb6 | /Plot1.R | e263de284f026c4decf786bb7b6d60312cb0ff88 | [] | no_license | jrajkamal/exp2 | 2c153637428d10ddc45ca3a8a472c4245b8ccc97 | c1a58670aed83ace045e9f969484b0d93ced5f1e | refs/heads/master | 2020-05-25T10:21:57.770071 | 2014-08-24T18:46:30 | 2014-08-24T18:46:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 508 | r | Plot1.R |
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
Emissions <- aggregate(NEI[, 'Emissions'], by=list(NEI$year), FUN=sum)
Emissions$PM <- round(Emissions[,2]/1000,2)
# total emissions from PM2.5 decreased in the United States from 1999 to 2008?
png(filename='plot1.png')
barp... |
5478091c140676103a07d0735b9905e991f836a1 | d576e398ebc2ba1cfadb21237b0cf0de8ddde491 | /R/RExam/Exam_Level3_sol.R | 10eec23c41f573484efd4f5cbf690eb68c44f9f5 | [] | no_license | nobel861017/R_course_2018 | 8527fc94a12d354268f6e9c01d228b96e84d2502 | a6378bcd2bb56dd524f1c033fe3b8879217393fe | refs/heads/master | 2020-03-23T11:33:16.821773 | 2018-07-19T01:44:33 | 2018-07-19T01:44:33 | 141,509,916 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 514 | r | Exam_Level3_sol.R | # 1. 請載入 dplyr, 與 head(airquality) 5%
library(dplyr)
head(airquality)
# 2. 使用 filter 過濾出 airquality$Temp > 90 的資料 5%
airquality <- filter(airquality, Temp > 90)
# 3. 請利用 summarise, group_by,
# 列出以相同 Month 做 Wind 平均的資料 10%
summarise(group_by(airquality, Month), Wind_mean = mean(Wind))
# 4. 請透過 %>% 將第二題與第三... |
27e022ae163a98d4b2f2d291850033c44b6f84bb | 0443357f09d74ef05cb479eae3447ecaf5fff67a | /HartigEtAl-PLOSone2014/R-Code-FiguresAndCalculations/Fig.2-6-AnalyticalPIPs/fig6.R | 581cf23bcc275c3a9059068ea9fb57d88dd1cfbb | [] | no_license | florianhartig/EvolutionOfRelativeNonlinearity | ba30a6ea6dec18d8903f0f5ff2088a0b7f41f7fd | 6c0e4b799dc8bae4993c05bbc82c0748b135d516 | refs/heads/master | 2021-01-13T01:36:40.448450 | 2015-10-03T10:06:38 | 2015-10-03T10:06:38 | 18,670,116 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,097 | r | fig6.R | ################################################################################
#
# http://florianhartig.wordpress.com/
################################################################################
rm(list=ls(all=TRUE))
setwd("/Users/Florian/Home/Projekte/Papers_published/14-HartigEtAl-PLOSone-SympatricEvolution... |
48325a030a440ad448ed62d959a7f1563ddff4b2 | 0100e7895e366970d60609e5160e8315fd9f6c36 | /man/NeticaNode-class.Rd | 2ac6d8f7ccfe199413f6af7e52e3086956e0640f | [
"Artistic-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ralmond/RNetica | 1f79bdab40d06287dbfd4d85424a794461e0043c | 1a822b70a03ac2be587322c58a4cdf247f60381a | refs/heads/master | 2023-07-21T03:42:29.750254 | 2023-07-17T20:34:27 | 2023-07-17T20:34:27 | 239,856,123 | 2 | 2 | NOASSERTION | 2023-04-12T00:00:03 | 2020-02-11T20:19:09 | C | UTF-8 | R | false | false | 7,869 | rd | NeticaNode-class.Rd | \name{NeticaNode-class}
\Rdversion{1.1}
\docType{class}
\alias{NeticaNode-class}
\alias{Compare,NeticaNode,ANY-method}
\alias{print,NeticaNode-method}
\alias{toString,NeticaNode-method}
\alias{as.character,NeticaNode-method}
\alias{is.element,NeticaNode,list-method}
\title{Class \code{"NeticaNode"}}
\description{
Th... |
167f205a218dbdcc868f2e259918a1493e6ad60b | 74e7b6122fb9b6f12ee0f91778d9558e157b093c | /man/ipolate.Rd | 0b32134ab702749c69868ead9f00e2e84ffc38a7 | [] | no_license | ckhead/HeadR | 3072ca2b9fe3166c1be41d3c86d50305f2c910e2 | ea0233831f7c38356866268b4ddd5e61968c2349 | refs/heads/main | 2023-08-21T21:16:38.601165 | 2021-05-28T21:25:52 | 2021-05-28T21:25:52 | 339,247,597 | 0 | 1 | null | 2023-08-08T03:45:37 | 2021-02-16T00:44:36 | R | UTF-8 | R | false | true | 433 | rd | ipolate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ipolate.R
\name{ipolate}
\alias{ipolate}
\title{Linear interpolation of missing data}
\usage{
ipolate(xvar, yvar)
}
\arguments{
\item{xvar}{the variable to interpolate using (usually year)}
\item{yvar}{the name of the variable with missing d... |
be59c9009eb39bd1857a20d6248504e09c780ca8 | 6d7d91556d188b8786475d7a22064058fe33fe28 | /R/calc_climate_index.R | 992b80f4891d6487ff509d64bc40207f966d9828 | [] | no_license | ditianETH/leafnp | 22ff49bb84417b4fffa27eb4285cbfa6802ce4b3 | 9192c2a2e8e7c35c768b6d2a9e063a1cac289586 | refs/heads/main | 2023-06-20T04:28:30.881917 | 2021-07-14T07:23:13 | 2021-07-14T07:23:13 | 388,098,627 | 0 | 0 | null | 2021-07-21T11:45:21 | 2021-07-21T11:45:21 | null | UTF-8 | R | false | false | 3,228 | r | calc_climate_index.R | ## mean annual temperature
calc_climate_index_mat <- function(df, ...){
df %>%
summarise(mat = mean(temp, ...)) %>%
pull(mat)
}
## mean temperature during growing season
calc_climate_index_matgs <- function(df, temp_base = 5.0, ...){
df %>%
dplyr::filter(temp >= temp_base) %>%
summarise(matgs =... |
e6ce4150c59e7c6b1b3385d4434c726839fe6a5d | 0bd59749f0e9cf9011c72ddc87c380cb5150db77 | /FIGSHARE_Code_Fahrrad_Berlin/Praezision/Praezision.R | 14e4012b957c384d97f848ad3fb2a375aa4f1a96 | [] | no_license | LiliaMilo/GPS | b8efee5eee47fdb3ef416f4d43e92a1beac8c36e | 167dc01de319ce121fc8401881d0018deaf0fd0f | refs/heads/main | 2022-12-30T18:03:16.399537 | 2020-10-22T10:26:17 | 2020-10-22T10:26:17 | 306,300,432 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,501 | r | Praezision.R | ########################################################################
### library
########################################################################
library(XML)
library(OpenStreetMap)
library(lubridate)
library(ggmap)
library(ggplot2)
library(raster)
library(sp)
#####################################... |
1b89c470cd87f0ab71af6e26a0b94ad3d2752e6d | 0f64ac5e3d3cf43124dcb4917a4154829e7bb535 | /utils/abbrevList.R | 9c15713790971c185afe6f7aa7173a649553f37d | [] | no_license | wactbprot/r4vl | 8e1d6b920dfd91d22a01c8e270d8810f02cea27c | a34b1fa9951926796186189202750c71e7883f8d | refs/heads/master | 2016-09-11T02:22:39.828280 | 2014-10-07T14:37:55 | 2014-10-07T14:37:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,329 | r | abbrevList.R | abbrevList <- function(ccc){
## die functions checkSetList()
## wartet auf Verwendung
a <- list()
a$dataAvailable <- FALSE
a$c <- ccc$Calibration
a$cs <- a$c$Standard
a$ct <- a$c$Type
a$cy <- a$c$Year
a$csi <- a$c$Sign
a$cp <- a$c$Presettings
a$cpt <- a$c... |
5f1e5e39de96e70cbba220a24c123e292086f52f | c5448803c6435f5ced328f1d3bc30fc56a4e70a3 | /Documents/Big Data Analytics/DA and E/jupyter/fma/man/copper1.Rd | a891e6b99900e735e65134054e6fad7856202784 | [] | no_license | JohannesKokozela/Research_Project | 0028dc0531e68d80b0ad2bee7b2e0f3a7f7596ba | a1b462d3f77ae6437d3648ab3f45fd76ce72ebbe | refs/heads/master | 2021-07-13T01:25:59.689912 | 2017-10-14T13:41:07 | 2017-10-14T13:41:07 | 106,183,621 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 382 | rd | copper1.Rd | \name{copper1}
\alias{copper1}
\title{Copper prices}
\description{Monthly copper prices for 28 consecutive months (in constant 1997 dollars).}
\usage{copper1}
\format{Time series data}
\source{Makridakis, Wheelwright and Hyndman (1998) \emph{Forecasting: methods and applications}, John Wiley & Sons: New York.
C... |
71de68775ac144e031bc7a16adbee8088c467108 | 7b93f65c8d36750afdd5add6b6676b1523e818ec | /R/DiscoveringStatUsingR/chap03/3_6.R | c2a39a579689cb73da922a164b12771bab06f111 | [] | no_license | DaisukeYamato/book | 9cbb3620e5f297832a7c0dc4b35f38b61a6395ea | 0308106dedf8a23b491aada942f781d2ab000b69 | refs/heads/master | 2021-01-22T13:13:02.365196 | 2015-08-26T00:12:56 | 2015-08-26T00:12:56 | 40,760,927 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 72 | r | 3_6.R | # chap 3.6
install.packages("Rcmdr", dependencies = TRUE)
library(Rcmdr) |
c6176af26fcce784e75f8fee79e4087f6032ad68 | 75380f9c27f6f8d3726f1f9aade2b32dba726035 | /naive_b.R | 289bcbd2fb7d850a1d7c7d7674903cf690975a38 | [] | no_license | v7t-codes/ML_assignment | 311d41613183a6f2bc62dcb62648ae45e021d9f9 | 105a3b233d3097dae6aba0a2a71c404329746634 | refs/heads/master | 2023-05-26T07:49:04.524788 | 2017-07-11T15:05:05 | 2017-07-11T15:05:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 684 | r | naive_b.R | library(MASS)
library(klaR)
library("e1071")
library("caret")
train_<- iris[-c(41:50,91:100, 141:150),] ## splitting the data set by removing the test data
test<- iris[-c(1:40, 50:90, 100:140),] ## same as before but by removing the training data from iris
##the above method preserves the data frame
## sep... |
d8b3b92a86d820ddfc23f79c0a36c989df04f342 | f49e4098e3c70fe664c17958f7fddaede5927f49 | /Assignment3/rankall.r | f9743c1c209bd0a4dae31006e22b02fa5936a267 | [] | no_license | rizwandel/Coursera-R-Programming-Assignment1 | e9e90440912801dacd26b936ca8c826c5a6cd87e | 331189e7494132a8c09e403d24d1def214547c52 | refs/heads/master | 2020-03-19T10:21:24.463925 | 2014-09-02T03:22:18 | 2014-09-02T03:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,799 | r | rankall.r | rankall <- function(outcome, num = "best") {
setwd("d:/r programming")
options(stringsAsFactors=FALSE)
data <- read.csv("outcome-of-care-measures.csv",na.strings= "Not Available", colClasses = "character")
valid_outcome=list("heart attack","heart failure", "pneumonia")
if (! outcome %in% valid_outcome){
s... |
5c5aa492dc639c296f88273f6e2d92e94a3da94a | ccb1bef7728e7886ea0b8a5cf0729973f50f2021 | /man/GeomHurricane.Rd | beaa0ebc58756b5d8213fd5d30baff32e253a0fa | [] | no_license | DYZI/Hurricane | 5e6f0f89798cba76805d384be97ff046272b3786 | 54b97c84fd6765b8f738098b6b8230194accc586 | refs/heads/master | 2020-05-02T20:44:15.500523 | 2019-03-31T01:07:50 | 2019-03-31T01:07:50 | 178,200,234 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 549 | rd | GeomHurricane.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geom_hurricane.R
\docType{data}
\name{GeomHurricane}
\alias{GeomHurricane}
\title{GeomHurricane}
\format{An object of class \code{GeomHurricane} (inherits from \code{GeomPolygon}, \code{Geom}, \code{ggproto}) of length 4.}
\usage{
GeomHurrica... |
dbf3467e77067f8542929d6449854fa0b8795206 | 625803c3ef1f7dcbae875823c3e53e6338d64880 | /Build_Ranger.R | 5c2ceb0d3012224be26944e54dbe76422aa29e18 | [] | no_license | Anderson-Lab/capstone-spring-2018-team-2 | 6201ce70448ac8070907a6d049cd8fdb21e76ad4 | f0f9be5afd814c73deb1096ef37fafb4d0f85f84 | refs/heads/master | 2021-03-24T13:51:17.292772 | 2018-05-06T14:11:06 | 2018-05-06T14:11:06 | 119,429,367 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,275 | r | Build_Ranger.R | library(ranger)
library(caret)
library(dplyr)
source("Join_Data.R")
source('baseline.R')
load('meta.rda')
# Get data
meps <- Join_MEPS()
meps.p <- meps[meps$PHOLDER == 1,]
#mepsPublic<-Public_Filter(meps.p)
mepsPrivate<-Private_Filter(meps.p)
# Get vars
mepsPrivate <- mepsPrivate[mepsPrivate$AGE15X > 40,]
mepsPrivate... |
610c77fa72bdce881c4318824f0a0f1feab2ce12 | 5ece49c446470c728ba11b66edd8c15604e81f3d | /man/remove_weak_snvs.Rd | 548d66c4055ed4f5762ed5a697ce5829a99c230e | [] | no_license | Romualdi-Lab/rbrewerix | 654d8593ed0d34a4153481d8bfd8177433862b3b | 7f01405b014c57b32a7fdb0508fd42c6215f40b1 | refs/heads/master | 2023-04-17T13:12:13.385876 | 2020-05-25T09:25:06 | 2020-05-25T09:25:06 | 266,130,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 461 | rd | remove_weak_snvs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/remove_weak_snvs.R
\name{remove_weak_snvs}
\alias{remove_weak_snvs}
\title{Remove weak SNVs}
\usage{
remove_weak_snvs(LOI, thr = 0.2, odepth = 20, min_ac = 3)
}
\arguments{
\item{LOI}{a object obtained by read_guess_loi_tavle_v3}
\item{thr}{... |
8a21c08ed84033980f4759330e3ad3620aced80a | e0876c92bc406d0140748838f35a2aee63460e4e | /r-basics/assessment_2.R | 5c2c28da8cedc9da59dd12102fe1e5c6db278cbf | [] | no_license | orsdanilo/harvardx-ds | 84d1aa10f9f487ae9bd71eb893fa7db70466d0dd | 742a0afbf5ba2339c0c4c408a99552655c9c26bc | refs/heads/master | 2022-12-03T21:11:41.546768 | 2020-08-02T16:57:15 | 2020-08-02T16:57:15 | 256,887,722 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 359 | r | assessment_2.R | # Question 1
x <- c(2, 43, 27, 96, 18)
sort(x)
order(x)
rank(x)
# Question 2
min(x)
which.min(x)
max(x)
which.max(x)
# Question 3
name <- c("Mandi", "Amy", "Nicole", "Olivia")
distance <- c(0.8, 3.1, 2.8, 4.0)
time <- c(10, 30, 40, 50)
time <- time/60
speed <- distance/time
runner_df <- data.frame(name = name, ... |
bcc357b6080cd4cd78788960f26075cf315ff426 | d9935521bc28411edf083b422a70a0e42cad0e9b | /source/cptac_processing.R | 1f1b238fbf52b4a8d3e89c423e81df32ecfd22c4 | [] | no_license | NicolasHousset/FocusHydrophil | cc0d5d77470c11087b55eabbb5b3da660e8d2894 | 8784f09a9c5a373cbba871b3e223e1b9c2c06491 | refs/heads/master | 2016-09-01T19:44:20.937676 | 2014-03-18T13:26:14 | 2014-03-18T13:26:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,191 | r | cptac_processing.R | # First part of the R code generating the graphs of the BBC 2013 poster
# This part handles the processing of the different text files
# The CPTAC data is made of 3 laboratories running in triplicate 7 samples
# QC1 containing only UPS protein we discard it. QC2 contains only yeast so it's interesting to keep it
# Sam... |
84208c06937ec9553436ffabdede54b1a52d28c5 | 9952bbc11691a7c0c505bba4a4513610d8a542ad | /man/linf.Rd | bae95aba2ec7e7de0cdc18e9c08b5c9e743571ef | [] | no_license | benjilu/balancer | 9a6cbc24f4a4f87d2c9053791f0ce6befab09bd4 | 8af3cd9151c3d5156b6ee44b1252f86e16d489d9 | refs/heads/master | 2022-12-03T02:55:10.339926 | 2020-08-08T05:10:48 | 2020-08-08T05:10:48 | 274,989,853 | 0 | 0 | null | 2020-06-25T18:39:35 | 2020-06-25T18:39:34 | null | UTF-8 | R | false | true | 189 | rd | linf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/balance_funcs.R
\name{linf}
\alias{linf}
\title{Infinity norm}
\usage{
linf(x)
}
\description{
Infinity norm
}
|
e104eb1f831ac9c384bf5499405995869b781cbb | effe14a2cd10c729731f08b501fdb9ff0b065791 | /cran/paws.customer.engagement/man/connect_update_user_security_profiles.Rd | af3b554d551bb5be1a637607888ddfe12966c72e | [
"Apache-2.0"
] | permissive | peoplecure/paws | 8fccc08d40093bb25e2fdf66dd5e38820f6d335a | 89f044704ef832a85a71249ce008f01821b1cf88 | refs/heads/master | 2020-06-02T16:00:40.294628 | 2019-06-08T23:00:39 | 2019-06-08T23:00:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,265 | rd | connect_update_user_security_profiles.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/connect_operations.R
\name{connect_update_user_security_profiles}
\alias{connect_update_user_security_profiles}
\title{Updates the security profiles assigned to the user}
\usage{
connect_update_user_security_profiles(SecurityProfileIds, UserI... |
1ec0aae114a2f8f7bf9a207ccad981276525e083 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mathgraph/examples/getpath.Rd.R | 063de5a2713e16c21d43ec871131dc194c78f7cb | [] | 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 | 398 | r | getpath.Rd.R | library(mathgraph)
### Name: getpath
### Title: Find a Path in a Mathematical Graph
### Aliases: getpath getpath.mathgraph getpath.incidmat getpath.adjamat
### getpath.default
### Keywords: math
### ** Examples
getpath(mathgraph(~ 1:3 / 3:5), 1, 5) # returns a path
getpath(mathgraph(~ 1:3 / 3:5), 1, 4) # no path,... |
76631748b1c93a1c2d56def676e9e9ae04106c52 | 52bbf633b0060e54570ef30d787d33e315375aeb | /man/update_price_info.Rd | 08a4ab06e7b29eefe7f513fbda51d088166eb299 | [] | no_license | shawnlinxl/ptdash | c8553bb480032ddb7e59cd2effb8b95b2d50075b | ab1b8c7f6f8c6fe7705a85b1ff43c23441cd0268 | refs/heads/master | 2021-01-01T16:14:24.715024 | 2017-08-24T02:10:56 | 2017-08-24T02:10:56 | 97,790,210 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 470 | rd | update_price_info.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/update_price_info.R
\name{update_price_info}
\alias{update_price_info}
\title{Create a daily return series.}
\usage{
update_price_info(dir_log_file = NULL)
}
\arguments{
\item{dir_log_file}{directory of the log file. If not provided, look for... |
9961887f8dedf096ca8982719d59cc5b378ebb77 | 704684551a7be001763bb41b16d410ea952a49df | /plot2.R | bd1d68c7b48580678eaea282596d995aba44565d | [] | no_license | sarahpenir/ExData_Plotting1 | 564d5fb8e6ef244300f9446a8acb517d4d0d01ad | bec66f1f7667357428567a4e408e1f67251b5019 | refs/heads/master | 2021-01-23T23:53:16.390428 | 2018-02-25T03:53:22 | 2018-02-25T03:53:22 | 122,743,081 | 0 | 0 | null | 2018-02-24T13:31:56 | 2018-02-24T13:31:56 | null | UTF-8 | R | false | false | 754 | r | plot2.R | ## Exploratory Data Analysis - Week 1
## Plot 2
# Load the data
table <- read.table("./household_power_consumption.txt", header = TRUE,
sep = ";", stringsAsFactors = FALSE,
colClasses=c("character","character", rep("numeric",7)), na.strings=c('?'))
# Fix date and time... |
9189f7aa5c7e014baa8e5c03231c9c3aa628e2b6 | 1eed97c0cc56a10d720a61ad0d208518a8e96568 | /post_processing/plotting_functions.R | f56e8efca956fb1c211bfd2ed0f7cb570a428224 | [] | no_license | llavin13/dispatch_RA_model | 846da29f6321c928bdca7b5a492c1dab1d43846a | 23a460c47ba7fe6a42e7888f8f1074bb7e780983 | refs/heads/master | 2021-07-13T13:43:58.198635 | 2020-03-19T13:45:30 | 2020-03-19T13:45:30 | 188,279,480 | 0 | 0 | null | 2020-07-30T18:08:17 | 2019-05-23T17:36:11 | Python | UTF-8 | R | false | false | 18,390 | r | plotting_functions.R | # Created on Thu Apr 18 08:46:48 2019
# @author: bsergi
library(ggplot2)
library(openxlsx)
library(plyr)
library(reshape2)
## Working directory and inputs ####
#baseWD <- "/Users/Cartographer/GAMS/dispatch_RA-master"
baseWD <- "C:/Users/llavi/Desktop/research/dispatch_RA-master"
setwd(paste(baseWD, "post_p... |
b186f38798478387d03f99377bb4a483593b1f6b | 1d960c31be6bd0f629ebb41cbaa834ba3a2a93d7 | /man/reduceNbTimes.Rd | 937e0e62463efcc93575ab96e2979a77d0f10c08 | [] | no_license | cran/kmlShape | 04c89c8ab9160f9a171885bb013d4ab37fc4b7bd | 821047dcd8ddd8309736ec9d6a9c14c8605bee25 | refs/heads/master | 2021-01-10T13:17:09.852222 | 2016-03-05T00:22:43 | 2016-03-05T00:22:43 | 53,172,084 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,658 | rd | reduceNbTimes.Rd | \name{reduceNbTimes}
\alias{reduceNbTimes}
\title{
~ Function: reduceNbTimes ~
}
\description{
\code{reduceNbTimes} simplify some trajectories (in long format) by reducing their number of points.
}
\usage{
reduceNbTimes(trajLong, nbPoints, spar=NA)
}
\arguments{
\item{trajLong}{[\code{data.fra... |
86acecb5cd4012795aacf6b75226ff374fd0442f | 9ba6209679be367a8342419a0f58c85a7e7795a0 | /bak/1480894522.R | cca60f993f48142f90b1f721f216596a617cd22e | [] | no_license | sulaxd/data4course | c88eaa6793a40535df02620094c702f249ff9393 | 793da50f804f11be699bd9cc6f861fa3c4cc5912 | refs/heads/master | 2020-06-16T14:46:34.085007 | 2019-07-17T13:56:22 | 2019-07-17T13:56:22 | 195,613,181 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 219 | r | 1480894522.R | fit_pam1 <- pam(newiris, 3)
table(iris$Species, fit_pam1$cluster)
plot(newiris[c("Sepal.Length", "Sepal.Width")], col=fit_pam1$cluster)
points(fit_pam1$medoids[,c("Sepal.Length", "Sepal.Width")], col=1:3, pch=8, cex=2)
|
761ad4793bc05460a0fb34494994a1b8993b6b83 | 2477d74e904cd1e64e8a4108082957ee4d733132 | /R/distance_parser.R | 8d2ea48a3ad8a07c0be0c4140398d20c03212fe7 | [] | no_license | joranE/fispdfparsr | 9a9e6a8f9bc67ea7c335a98c34799a42b6bb7171 | 45c2dbc7f0b4879b7d1d5e0958ef54b4da9cdb01 | refs/heads/master | 2021-09-09T01:21:20.457795 | 2021-09-03T18:05:18 | 2021-09-03T18:05:18 | 75,509,565 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,754 | r | distance_parser.R | #' Parse Distance Race PDFs
#'
#' Convert FIS distance result PDFs into a format more
#' suitable for analysis. All times are converted to seconds.
#'
#' @result A data.frame; specifically a \code[dplyr]{\link{tbl_df}}
#'
#' @param file file path to PDF of distance results
#' @param race_distance numeric; race distance... |
ce586e85f13668875e3f9fa77a85277f3f01c67b | 42a2ec53d27a7856122ffc079634174f01dffcd3 | /creating_boundness_metric.R | 2b1a7d38f77fe1f5ad36332ef9df1a57ef3e4dfd | [
"CC-BY-4.0"
] | permissive | OlenaShcherbakova/Sociodemographic_factors_complexity | 84481c368369e4882951321164b363670797c074 | 559f590633699ae8f4c926d4da43d8d1a4eb7716 | refs/heads/main | 2023-06-23T23:39:26.516716 | 2023-06-15T07:05:39 | 2023-06-15T07:05:39 | 552,730,271 | 1 | 0 | CC-BY-4.0 | 2023-06-13T08:17:36 | 2022-10-17T06:23:59 | R | UTF-8 | R | false | false | 1,495 | r | creating_boundness_metric.R | #boundness/fusion
#Script was written by Hedvig Skirgård
source("requirements.R")
OUTPUTDIR1 <- file.path('.', "output", "Bound_morph")
# create output dir if it does not exist.
if (!dir.exists(OUTPUTDIR1)) {
dir.create(OUTPUTDIR1)
}
if (!file.exists(here(OUTPUTDIR1, "bound_morph_score.tsv"))) {
GB_wide <-
... |
9691519e85b5b89cbf63316a87dadbed6dfec34a | 4f5c3e1f7e1ee109e2346d953c00d24b3992e9f9 | /concord_GUI.R | 51caf273e55df431c0a41dd0a6ff78c9c44fabce | [] | no_license | dependency-injection/NLP | adf7656a31adb4e4cf8a96223d6499ef0d21f011 | 3ec3263d533a56d1129a5165073b0ccea3312d10 | refs/heads/master | 2021-01-19T16:51:15.964491 | 2015-04-01T17:45:14 | 2015-04-01T17:45:14 | 33,262,281 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 586 | r | concord_GUI.R | window<-gwindow("Providing the context of a word")
mainwindow<-ggroup(horizontal=FALSE,container=window)
windowgroup1<-ggroup(horizontal=TRUE,container=mainwindow)
label1<-glabel("Text to traverse ",container=windowgroup1)
text1<-gedit(container=windowgroup1)
windowgroup2<-ggroup(horizontal=TRUE,container=mainwindow)... |
2740acfbe9e199a31aacd77bccfd577484ec6d9b | 6b7eb9e5757a9f5208f8783b552de4dd31647637 | /man/cancer.Rd | e8a25688339f8150c3fcac77a87e8fa2d699bf37 | [] | no_license | cran/PairViz | 03ccc39bd477f25a716ced15334efb91e6b529db | a82c3fc5e3bbdee4f7d50b7cc0fb6f6c00767925 | refs/heads/master | 2023-04-13T19:26:36.396111 | 2022-08-12T14:00:05 | 2022-08-12T14:00:05 | 17,681,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 992 | rd | cancer.Rd | \name{cancer}
\alias{cancer}
\docType{data}
\title{Cancer Survival data}
\description{
Patients with advanced cancers of the stomach, bronchus, colon, ovary or breast were treated with ascorbate. The purpose of the study was to determine if the survival times differ with respect to the organ affected by the cancer.
}
\... |
598df3000e065ec3acab7e93299f0536a5ba2f14 | ba8b66796420d7943610661838d8a047ad293e8f | /task12 (L1-regularization).r | be7143a67d027e28d2313d25c3b9f05726431690 | [] | no_license | ktrndy/home_task_applied_statistics | 20fe4b7a78154c92b8c953e6bbc9772b5ea2320b | 366b2480d0156eadb779500b8ece167baabcddd1 | refs/heads/main | 2023-06-07T21:57:36.592873 | 2021-06-27T09:37:57 | 2021-06-27T09:37:57 | 369,649,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,461 | r | task12 (L1-regularization).r | library(glmnet)
#ЗАДАНИЕ 1
#Сделайте предыдущее дз с L1-штрафом.
set.seed(7) #фиксируем случайную генерацию
X=rnorm(200)
Z=rnorm(200)
Y=Z+X^2+2*sin(3*X) #настоящая зависимость
data_matrix=cbind(poly(X,degree = 10, raw = T)) #предполагаем, что Y - полином 10й степени от X
#L1-регуляризация
cross_validation=cv.glmnet... |
dccd5fa8944975d42ea5e014864a0f2117c2d787 | 093af3a4b9c72bf4444040d8416176026c967ebb | /part2.r | b8e9b6248d7449c1bb7ffb4b127a48d15319926d | [] | no_license | Nathan-Lovell/DataScience-Nathan-Lovell | a5dddc6b2af39635061cd6079a5677a610091eb8 | 433dea45b3ebd9eb955af41f93fbcdad2834428a | refs/heads/master | 2020-08-11T09:12:27.196613 | 2019-12-19T23:01:27 | 2019-12-19T23:01:27 | 214,536,018 | 0 | 0 | null | 2019-10-11T22:06:08 | 2019-10-11T22:06:08 | null | UTF-8 | R | false | false | 2,220 | r | part2.r | ## ----echo=FALSE, message=FALSE, error=FALSE, warning=FALSE, results='hide'----
include <- function(library_name){
if( !(library_name %in% installed.packages()) )
install.packages(library_name)
library(library_name, character.only=TRUE)
}
include("tidyverse")
include("knitr")
include("jsonlite")
purl("https:/... |
6ac3ec33143f5fee2024fd0e43da5e471490d313 | 75ee2ae5008e27c56633dd177d3a486fb65d2c33 | /Multi Linear Model for 50 startups.R | fb572df8c6f97ddb47246fba027c41e973bfd229 | [] | no_license | anilkrishna1000/Multi-Linear-regression-alagarithm-EXCELR-data-set-In-Python-and-R-Languages | dd36e96e169b65cc0f837c0cf3f9c9e2347bfa7e | 7f293e70bd57a5e828b0e10de79608e62a1e5bc6 | refs/heads/master | 2022-12-06T00:21:30.188384 | 2020-08-18T05:26:27 | 2020-08-18T05:26:27 | 288,362,462 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,944 | r | Multi Linear Model for 50 startups.R |
View(startup_50)
install.packages("data.table")
library(data.table)
summary(startup_50)
# find out the variance of each department
var(startup_50$R.D.Spend)
var(startup_50$Administration)
var(startup_50$Marketing.Spend)
var(startup_50$Profit)
# find out the standard deviation
sd(startup_50$R.D.Spend)
sd(s... |
547f274d422f45dfecb2cf8b0c138df592a22e5f | c39292d8414028bb7c3b4ead6b90aac5546a5fda | /man/compare_runtimes.Rd | 3e6696335cfe024f1743f2e0e00bcc0e96633f8c | [] | no_license | GenomicsNX/CellTypeSpecificMethylationAnalysis | c4c3653b57dd511a8bc18090f6e4e2b0f1a23eea | b6a47a63bdd9f9c4f089b24e3c5c9afb63d407fe | refs/heads/master | 2023-03-04T06:48:05.263427 | 2021-02-13T04:49:05 | 2021-02-13T04:49:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,517 | rd | compare_runtimes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/runtime_comparison.r
\name{compare_runtimes}
\alias{compare_runtimes}
\title{Compare method runtimes across various input sizes}
\usage{
compare_runtimes(
sample.sizes,
number.sites,
methods,
method.names,
number.replications,
num... |
aa49dd6d9d2b21f8d2576c760061bd2c926709c9 | 4d36492368e067bdc821b2ee8bc5a9d524458c9a | /man/filter_rules.Rd | a22ba6f8143868b53a719e4368ef3b4c4d365814 | [] | no_license | cran/processcheckR | 27e177bb799cb9ebfe4708ea56c9bb99cbd1685f | bb4e4523ae7b65f4f37adcf3eb1380735f8887a3 | refs/heads/master | 2022-10-15T01:29:09.022611 | 2022-10-03T08:40:08 | 2022-10-03T08:40:08 | 152,093,595 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,635 | rd | filter_rules.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filter_rules.R
\name{filter_rules}
\alias{filter_rules}
\alias{filter_rules.log}
\title{Filter Using Declarative Rules}
\usage{
filter_rules(log, ..., eventlog = deprecated())
\method{filter_rules}{log}(log, ..., eventlog = deprecat... |
74214ff00ee6c7f07d1961de13b60ea5ea554f6a | 739f77c7e3952bf827d4a1c4e36b9610e57045b4 | /sesame-lvl3betas.R | f0cd7d99febd208f511270e6c38f5ca5d889c193 | [] | no_license | dmiller15/sesame-docker | ed00a5280692a31c34cf752c4909a2a09166da3e | ff4536a80748b445f24ae1267ff4b9e69aa537a9 | refs/heads/master | 2020-03-10T14:46:13.659391 | 2018-10-24T21:56:32 | 2018-10-24T21:56:32 | 129,434,549 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 637 | r | sesame-lvl3betas.R | #!/usr/bin/env Rscript
library(sesame)
# Take a folder and IDAT R/G basename from command line and return the beta values
# @param argv[0]: the folder containing the R&G IDAT files
# @param argv[1]: the basename for the R&G IDAT files
# @return file containing the beta values
args = commandArgs(trailingO... |
4441cf209fdd2ef8d354b393c217cdc66d8bb2b2 | fde86e5c9d878baef1d85fe684dd6738f23163e9 | /functions2.R | 4fbb63e1c5df6bd096416481f4d8a18cf43e4afb | [] | no_license | tsoleary/season_adapt | 3c203dba2d76776601a9c485c07da14498fb1d69 | 429be6ac2982869455455b7e9e3d818f44a28854 | refs/heads/master | 2020-08-29T18:29:40.497647 | 2019-12-13T20:43:51 | 2019-12-13T20:43:51 | 218,127,805 | 1 | 0 | null | 2019-11-22T19:36:25 | 2019-10-28T19:22:59 | R | UTF-8 | R | false | false | 14,054 | r | functions2.R | # Seasonal adaptation model functions ------------------------------------------
# Function to initialise population --------------------------------------------
init_pop <- function(L, pop_size, prob_0 = 0.5, prob_1 = 0.5) {
# initialize diploid chromosomes with a random population
genome <- matrix(sample(0:1, 2*... |
c4c8aa639f384a4e9002190db6c3e6dba06361c0 | b5eb2352d35fbd125b47a39e00774b73576cfb03 | /R/airport_delay.R | 2169cc4ad66af0ec81cbab95e37607798f8ee94c | [] | no_license | joshu107/732A94_Lab7 | a1dcb0d0be076df863d68d9dd216c81dd7519a78 | 68949a6486a5b1c109c56957175d8b851c53689c | refs/heads/master | 2021-01-11T01:32:10.905567 | 2016-10-12T10:03:28 | 2016-10-12T10:03:28 | 70,693,421 | 0 | 1 | null | 2016-10-12T11:31:24 | 2016-10-12T11:31:23 | null | UTF-8 | R | false | false | 1,139 | r | airport_delay.R | library(dplyr)
library(nycflights13)
library(maps)
# Prepare airport data for join
airport <- nycflights13::airports %>%
mutate(ID = faa) %>%
select(-faa, -alt, -tz, -dst)
# calculate mean values for each departure
dep <- nycflights13::flights %>%
group_by(origin) %>%
summarise(avg_dep_delay = mean(dep_delay,... |
16bc20dfd52c566242eb91ded55637a51d010336 | 446373433355171cdb65266ac3b24d03e884bb5d | /man/qgis_scatter3dplot.Rd | 7e0212ca27b1803c1d32e5572b687e85c6d2ea50 | [
"MIT"
] | permissive | VB6Hobbyst7/r_package_qgis | 233a49cbdb590ebc5b38d197cd38441888c8a6f3 | 8a5130ad98c4405085a09913b535a94b4a2a4fc3 | refs/heads/master | 2023-06-27T11:52:21.538634 | 2021-08-01T01:05:01 | 2021-08-01T01:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,508 | rd | qgis_scatter3dplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/qgis_scatter3dplot.R
\name{qgis_scatter3dplot}
\alias{qgis_scatter3dplot}
\title{QGIS algorithm Vector layer scatterplot 3D}
\usage{
qgis_scatter3dplot(
INPUT = qgisprocess::qgis_default_value(),
XFIELD = qgisprocess::qgis_default_value()... |
cca618df2b5536818ede754fac17bdb8adc0a763 | 843202ff6b26a57d4975d58b123340ab44a1ab41 | /Bagging, RF _ Boosting after PCA.R | 19aff05f0e63931263221fe0234a757200a94f4e | [] | no_license | weiyaom/R-Predicted-returning-rate-of-patients | ecc81a8ac4fc1c89148511da8533d9a46e3d3e1a | a57e5973d44623c6b06b0ae113b0b1b0d6960bb6 | refs/heads/master | 2020-07-22T11:31:05.554809 | 2020-01-25T22:00:23 | 2020-01-25T22:00:23 | 207,185,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,221 | r | Bagging, RF _ Boosting after PCA.R | library(readr)
#na.strings argument is for substitution within the body of the file, that is, matching strings that should be replaced with NA
Hospital_Train<-read.csv("5.3_Hospitals_train_cleaned.csv",na.strings = c('#N/A',' ','','#VALUE!'))
Hospital_Test<-read.csv("5.3_Hospitals_test_cleaned.csv",na.strings = c('#N/A... |
c199b6f233fde729b1f0734ec3dbc85da9a5294b | 4a9747c24015dd65a3bf460a62d01109a8058c43 | /R/hhcartr_export_predict.R | 0045a82f67d885ef136427bded7398825d2a1e4c | [] | no_license | cran/hhcartr | 76b301038254e80ed795316949aa9163b686b20c | 55a061c1fe0ce90e8298372f39c40d6e5d8cc1fb | refs/heads/master | 2023-06-07T04:26:11.104290 | 2021-07-02T06:00:08 | 2021-07-02T06:00:08 | 382,391,912 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,791 | r | hhcartr_export_predict.R | # source: hhcartr_export_predict.R
#################################################################################################
#'
#' predict - Create generic S3method to make predictions via predict.hhcartr.
#' Needs export entry in the NAMESPACE file.
#'
#' This function creates a generic S3method predict which... |
d251187e87dcdfee6c7c9ef4b089e493aa27f682 | b4638dd481c4e17e2b01f1d28a06e6fb9ca5ccbe | /switch_to_av/av_share_plot.R | 38e3d8d751bc0580cfa87326aa4d39ba93611749 | [] | no_license | cllorca1/land_use_transport_analysis | d3f81ae1c0acc656b92ea6617df1b2fef00e2036 | 7f1b3a619484caef2733f6f9c02e9862892c649f | refs/heads/master | 2021-06-04T20:29:47.073581 | 2021-05-27T08:38:37 | 2021-05-27T08:38:37 | 142,977,282 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 402 | r | av_share_plot.R |
av_ownership = read_csv("c:/models/silo/muc/scenOutput/AVA_none/siloResults/avOwnership.csv")
ggplot(av_ownership, aes(x = year, y= avs/autos)) + geom_line(size = 2) +
ylab("Share of autonomous vehicles") + xlab("Year") +
theme_bw() + theme(axis.text.x = element_text(angle = 90))
ggsave("C:/projects/Papers/... |
54591beba464976688774c775ecb8c2185c3a776 | 93d3f810a4169d7bd993641e6f776af1616dd79e | /MCPcounter/workflow/docker/mcpcounter/bin/mcpcounter.R | 49fee8aeb4b62fc52286aeb3a37a61f074afd2cc | [] | no_license | CRI-iAtlas/iatlas-workflows | 699c3b897e580a391e9700b48b91b64e2a03eb55 | d94151d3aaadee96b52f27e4ce84692c0366fe75 | refs/heads/develop | 2023-05-24T11:08:56.155005 | 2023-05-23T15:21:58 | 2023-05-23T15:21:58 | 156,773,901 | 2 | 4 | null | 2023-05-22T21:19:12 | 2018-11-08T21:54:27 | Common Workflow Language | UTF-8 | R | false | false | 2,277 | r | mcpcounter.R | library(MCPcounter)
library(argparse)
library(readr)
library(tibble)
library(magrittr)
parser = ArgumentParser(description = "Deconvolute tumor samples with MCPcounter")
parser$add_argument(
"--input_expression_file",
type = "character",
required = TRUE,
help = "Path to input matrix of microarray exp... |
34ecdd3ecb7c480d1d0b8f509559cd374b520aed | 6fdbd78c7eddcbc9093226af7a7bd513da3f97bf | /Rscripts/Ivan_vowpal_wabbit.R | e7f697e5493f0a5c2b28d97ff5bd19c37bfe6a7e | [] | no_license | enfeizhan/Melbourne_Datathon_2015_Kaggle | a904c3679ad384ccd085dcfc9fc3b17ec5745c53 | a60676e19313b3e6fe3947a1531cde7542c9b9c5 | refs/heads/master | 2020-12-31T02:23:27.564502 | 2015-12-10T11:48:13 | 2015-12-10T11:48:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,176 | r | Ivan_vowpal_wabbit.R | # install.packages("devtools")
# devtools::install_github("JohnLangford/vowpal_wabbit", subdir = "R/r.vw")
setwd('/Users/ivanliu/Google Drive/Melbourne Datathon/Melbourne_Datathon_2015_Kaggle/vowpal_wabbit')
rm(list=ls()); gc()
require(data.table);library(r.vw);library(ggplot2);library(pROC)
load('../data/9_train_valid... |
279951810c9db5145ebc6966972729cc48525b4a | 9044cb01fd36302a17c4aa21d5887a75bfb55331 | /arules.R | 36ec01f203872372b0f621d38ad6897259c34b57 | [] | no_license | scarlettswerdlow/open_payments | 30a1dad8e141965f66d6e09302cfc2e47daf7d99 | 3d7da4c1af08bd65904bdf17ed70c1333c5a42b2 | refs/heads/master | 2021-01-10T04:03:09.007139 | 2015-05-31T20:43:52 | 2015-05-31T20:43:52 | 36,332,008 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,962 | r | arules.R | ###############################################################################
# #
# Big Data #
# Project: Association rules #
... |
4eb3c284372f1e514f52c1dcffe77e0e16dcd479 | 9a05161b8cdfe1d6226501b167ee467ea93e4642 | /Shiny_app/FA_model.R | fd963c1203e1c28167b729cb3abba81e4419c216 | [] | no_license | Philipp-Neubauer/AdaptiveActivityModel | 21142922b81de0e3b8c1284e93d4b6e4b6da8a5a | e790c52c65d42a6011d26aebdcba1a876312b82b | refs/heads/master | 2020-09-27T11:45:22.394394 | 2019-05-20T10:23:13 | 2019-05-20T10:23:13 | 66,080,774 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,683 | r | FA_model.R | require(dplyr)
require(purrr)
require(tidyr)
require(ggplot2)
require(cowplot)
lw <- function(w) (w/0.01)^(1/3)
wl <- function(l) 0.01*l^3
sc <- function(x) x/max(x)
logit <- function(p) log(p/(1-p))
inv_logit3 <- function(m,mstar,a,b,c) {
z = (m-mstar)*cos(atan(b))-a*sin(atan(b))
1/(1+exp(-(c*z)))
}
# Activity m... |
e5b2b539c9acfe746a031c778ca2c13bef3199f9 | f89c621ea18f70f6ac2462eae1c43122b9a26d28 | /drill/swirl_ggplot2_extras.R | 116878d7e827de3f036231a33f9dd845adbe3979 | [] | no_license | smstaneva/datasciencecoursera | 5c828ac4467ffa76286eafd0709edca2d842ea52 | 5a74432696ee41e543f9e04faa59b9b0503d44ef | refs/heads/master | 2021-09-11T19:32:07.391859 | 2018-04-11T14:39:46 | 2018-04-11T14:39:46 | 75,734,746 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,162 | r | swirl_ggplot2_extras.R | str(diamonds)
qplot(price, data = diamonds)
range(diamonds$price)
qplot(price, data = diamonds, binwidth = 18497/30)
brk
counts
qplot(price, data = diamonds, binwidth = 18497/30, fill = cut)
qplot(price, data = diamonds, geom = "density")
qplot(price, data = diamonds, geom = "density", color = cut)
qplot(carat... |
636453efd08089c64b4ab489a8343bb1711fd13e | 70ceafccb7ed3005e64521551eae6657385118e5 | /R-Portable/library/survival/tests/detail.R | 3b1f6b788bc96eafc5f8c4051620bcaa62b06920 | [
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain",
"CC0-1.0"
] | permissive | ksasso/Electron_ShinyApp_Deployment | 6e63686b27bc38607bca1e5b50ed7cd58f6a4a3b | 1402f4d6bbb4a415bce07ebfddc8b76704f11f97 | refs/heads/master | 2023-07-06T11:48:21.413305 | 2020-04-30T12:53:11 | 2020-04-30T12:53:11 | 120,221,429 | 100 | 24 | CC0-1.0 | 2023-06-25T03:17:43 | 2018-02-04T20:42:11 | HTML | UTF-8 | R | false | false | 2,665 | r | detail.R | # A short test on coxph.detail, to ensure that the computed hazard is
# equal to the theoretical value
library(survival)
aeq <- function(a,b) all.equal(as.vector(a), as.vector(b))
# taken from book4.R
test2 <- data.frame(start=c(1, 2, 5, 2, 1, 7, 3, 4, 8, 8),
stop =c(2, 3, 6, 7, 8, 9, 9, 9,14,17),... |
90ec2e535e5a2ff8796469d00c6a87789978671f | c51347680754745733293e00aacf7b633334c1fc | /man/turtle.Rd | fa69caedf883471e9d4db51d8c5d1e19a9c08d04 | [] | no_license | cran/YplantQMC | 771c341d00e410a0e61dbdadc02af8866d5cd198 | dc62bfc247ba9d6dd92498e8afa00d511a36e00e | refs/heads/master | 2021-01-21T21:47:33.241377 | 2016-05-23T06:34:50 | 2016-05-23T06:34:50 | 17,694,152 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 473 | rd | turtle.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/yplantqmc-package.R
\docType{data}
\name{turtle}
\alias{turtle}
\title{A turtle sky with 58 points}
\format{A data frame with 59 observations on the following 2 variables.
\describe{ \item{altitude}{a numeric vector}
\item{azimuth}{a... |
188c645aa022d84b3f710166b10cc0306e9275b7 | 5051798cfdbaacea22c0d7073bbf889e7fd192ba | /task_ggplot.R | baa27de09349d144654f24f25f95f21d8d71d9ef | [] | no_license | leticiaamarcal/Predicting-Customer-Preferences | ceafae5df9fa0974f15b64520fd446e88265e414 | ca99e1efcc4838c60cafeada43770368c3baeebe | refs/heads/master | 2020-08-08T03:08:38.169752 | 2019-10-14T10:02:52 | 2019-10-14T10:02:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 159 | r | task_ggplot.R | #ler arquivo
blackwell <- read.csv("C:/Users/letic/Desktop/Ubiqum/Blackwell_Hist_Sample.csv")
#library
library(ggplot2)
data("midwest", package = "ggplot2")
|
c86e6309c5327f7b33c0e2fd10ddfea35be14ebd | e0d35b1a16ce9451e4033042896f56ade5ce0d05 | /man/food_coded.Rd | 06e6f07a4a3f585632c5b42d13689fa0a2f51108 | [] | no_license | jnumainville/JoeNumainvilleTools | 769c1df0ff72a2babc9808bd40fb663dbd5559b9 | 4338f1d4f14d8393be8d9c189b30bd8cdba80517 | refs/heads/master | 2021-01-24T02:45:51.470895 | 2018-02-26T19:43:56 | 2018-02-26T19:43:56 | 122,859,378 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 537 | rd | food_coded.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/food_coded_info.R
\docType{data}
\name{food_coded}
\alias{food_coded}
\title{food_coded contains data on college students and their food choices}
\format{An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 125 ... |
5a8ca0eca43177f72871833f9f09e7ec6270382f | 452b64470dfd99bea03e9ff070a342c09d74b5cc | /code/experiment_5.R | 74ef833ebe7985c64973f4494eb6d1cbe2beaf9f | [] | no_license | ma-hei/thesis | a21a346352a0d010b080c52d7cb8bf0dc02204d0 | b6517e6f0f83c65905decd22bf59341ef0a44654 | refs/heads/master | 2020-04-04T05:53:42.607816 | 2016-10-19T16:01:40 | 2016-10-19T16:01:40 | 55,417,618 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,270 | r | experiment_5.R | load('../data/mix_dataset.Rda')
n_drugs = length(unique(mix_dataset[,1]))
n_targets = length(unique(mix_dataset[,2]))
drug_sim = read.table('../data/mix_dataset_drug_drug_sim.txt')
drug_sim = as.matrix(drug_sim)
target_sim = read.table('../data/mix_dataset_target_target_sim.txt')
target_adj_mat = make_adjacency_mat_... |
ad21117baa38fd33a65e0d7ac13a0b93cd83c04c | 6bd27d402982693463c41b47d47b1c94c287a2af | /data_analysis_rich.R | ba03c8ccc302dbbb03f8895a14c0eaf593d6d1de | [] | no_license | RSchwinn/fdic | 1ec8ae1972e2f8fc52fc3e49740f39a44d29fba9 | 144dd9aefba77af3f288312a7c25b0111050670a | refs/heads/master | 2020-03-25T21:14:49.356341 | 2018-11-09T18:04:51 | 2018-11-09T18:04:51 | 144,166,869 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,623 | r | data_analysis_rich.R | # Always start here (loads the data) ----
library(tidyverse)
df = readRDS("../data/fdic/working_df.RDS")
definitions = read_csv("even_better_chosen_list.csv")
# Rich's sample plot ----
df %>%
select(name, rssdhcr, fed_rssd, asset, date) %>%
arrange(desc(asset)) %>%
head()
# Use fed_rssd 852218 to filter b... |
57bfc142b9b8d87810964f94cae2e1c2c8c5b6ce | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rccmisc/tests/test-specify_missing.R | 3da8a63fbe3b9b8e9ec3d086b35a15da4e8c1352 | [] | 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 | 337 | r | test-specify_missing.R |
context("specify_missing")
test_that("specify_missing", {
expect_that(specify_missing(1:8), is_equivalent_to(1:8))
expect_that(specify_missing(1:8, 5), is_equivalent_to(c(1:4, NA, 6:8)))
expect_that(specify_missing(c(NA, "", "apa ", " ", "hej")),
is_equivalent_to(c(NA, NA, "apa ", NA... |
c8310ab60e015ec824dc0469742b57664f4d0fd0 | af0df2be1822e2ed328f8bc1fffd0410d0e954ac | /Max_Likelihood_Est.R | 02cc4cb176a6dfde978044a968117fb6661bcea0 | [] | no_license | dabaja/StatFinDat | 8a08d729595f0a77e693acfb44bd33a259c8157d | 7537bcf39d0c53aaec202d66557dd9483fe2976b | refs/heads/master | 2021-07-04T04:30:34.762642 | 2017-09-28T18:06:57 | 2017-09-28T18:06:57 | 103,696,231 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 211 | r | Max_Likelihood_Est.R | #Maximum Likelihood Estimators
#The case of a GEV
X <- rgev(500, lambda = 3.5, xi= 0.4)
gev.ml(X) # ignore warnings
#The case of a GPD
Y <- rpareto(500, lambda = 3.5, xi= 0.4)
gpd.ml(Y)$param.est
|
1a5e51d09423dc5d7b5abf479ec2653ff099d83d | c089d92398b2e8f8ab05972acf2c8028d0c5dc34 | /Bayesian1/postcoin3.R | ab27003aa85f6f882a28e4e14b3c8757f50c8229 | [] | no_license | Robbie-E/practice_R | 26038d84b120e3ef8ae894335d5c6e425b90f426 | a37c57c51432d997ee82113517fda63336ef83d3 | refs/heads/main | 2023-06-01T02:52:18.071692 | 2021-06-02T08:14:01 | 2021-06-02T08:14:01 | 357,104,520 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 836 | r | postcoin3.R | post.coin3 <- function(guess, heads, prior1, prior2, nflips=4) {
#guess is an outcome (fair, head-loaded, tail-loaded)
#heads is number of heads after nflips flips of coin
#prior1 is unconditional probability that coin is fair
#prior2 is unconditional probability that coin is hload
prob1 <- 0.5
prob2 ... |
d08480643cfdcd9c6488450ff8e1c7e46039a914 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Devore7/examples/ex13.49.Rd.R | fda320e10d0152a3c30fbd8b0f846e631d955797 | [] | 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 | 160 | r | ex13.49.Rd.R | library(Devore7)
### Name: ex13.49
### Title: R Data set: ex13.49
### Aliases: ex13.49
### Keywords: datasets
### ** Examples
data(ex13.49)
str(ex13.49)
|
0839ab39a947c1fe41ab4992ae406a25ac05142d | 5901b07a2c6bc8f2e8fb433e4388abf8bc4afd11 | /R/fsia.r | 6d1ad19f8f511d71ffc26b7fd8d46ad407cb08b2 | [] | no_license | cran/fsia | f7a3a5b6c68f08701af145ced244d996669a5614 | 766dc7451a5b00e2c9951daec0eb40b220c5e269 | refs/heads/master | 2021-01-19T08:45:08.804806 | 2017-06-23T11:55:29 | 2017-06-23T11:55:29 | 29,202,646 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,326 | r | fsia.r |
read.formscanner<-function(file,col.names=NULL,conc=NULL,id=NULL,dummy=NULL)
{
data<-read.csv2(file,as.is=TRUE,na.strings = "")
if (!is.null(col.names)) colnames(data)<-col.names #modified
if (is.numeric(conc)) {
tmp<-c()
for (i in conc) tmp<-paste(tmp,data[,i],sep="")
data[,conc[1]]<-tmp
data<-dat... |
82b1c784d0a10bf82859ab2182e5906b37f19f68 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.customer.engagement/man/connect_create_routing_profile.Rd | 53911d16d3f4022d3e2540ea10eac99c4b94a3a5 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 1,755 | rd | connect_create_routing_profile.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/connect_operations.R
\name{connect_create_routing_profile}
\alias{connect_create_routing_profile}
\title{Creates a new routing profile}
\usage{
connect_create_routing_profile(InstanceId, Name, Description,
DefaultOutboundQueueId, QueueConfi... |
57727f90420e2d3660f5721d5bb8ccdeea83a461 | b895212edafe2b1916667c2bea6683224d9b614d | /predicthigh.R | dec6acd327202d562aa4214bc6f6d94cb887c61c | [] | no_license | andrewmahurin/equityproject | 253de037c9d3bfac818a74daa5fd8b1565472d40 | 6653ce48d0335ae3802150ec64c51a17c6b88ce5 | refs/heads/master | 2021-01-15T11:48:26.212053 | 2014-05-17T19:14:44 | 2014-05-17T19:14:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,603 | r | predicthigh.R | source("~/program/getdata.r")
fitmodel = function (model = highmodel){
( model$coefficients[1] * 1 +
model$coefficients[2] * (openchange) +
model$coefficients[3] * (twodaychange) +
model$coefficients[4] * (log(close)) +
model$coefficients[5] * (close) +
model$coefficients[6] * (dailyhigh) +
... |
89875d39601f6d820f4514680feab33cfd2fb0b7 | 59ea89f1162f8048d9f7f10f6e6a3a1567c56607 | /rstudio/pam_peak_analysis.R | 7629f9f4f64d0615e191905e5f3c78d15458ac70 | [] | no_license | elshafeh/own | a9b8199efb3511aa1b30b53755be9337d572b116 | ef3c4e1a444b1231e3357c4b25b0ba1ba85267d6 | refs/heads/master | 2023-09-03T01:23:35.888318 | 2021-11-03T09:56:33 | 2021-11-03T09:56:33 | 314,668,569 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,530 | r | pam_peak_analysis.R | library(dae);library(nlme);library(effects);
library(psych);library(interplot);library(plyr);
library(devtools);library(ez);library(Rmisc);
library(wesanderson)
library(lme4);library(lsmeans);library(plotly);
library(ggplot2);library(ggpubr);library(dplyr)
library(ggthemes);library(extrafont)
library(car);library(ggplo... |
35bd8029791d591ba5b06ed3b74bf96d2a80620f | 9a46431a4ff2ccdfd963d71767e9a9365f721c51 | /mini_cygnet_rstan.R | 3f905b8e5c0b1f220fd8a5c07616986a0538ebce | [] | no_license | samcarlos/Badge_WORTH | 35f03916581c1d9fe5a9382202f9f99f62a8ba6b | 6c5411815848e7b9e67ea8d6a1e9cde2a6f296d3 | refs/heads/master | 2021-01-10T20:22:54.765402 | 2015-03-11T21:37:58 | 2015-03-11T21:37:58 | 31,980,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 979 | r | mini_cygnet_rstan.R | library(rstan)
badge_worth="
data{
real cygnet;
real iq;
real mini;
real miniR;
}
parameters{
real pcygnet;
real piq;
real pmini;
real pminiR;
real<lower=0,upper=1> beta_ratio;
}
transformed parameters{
real interior_premium;
interior_premium <- pminiR-pmini;
}
model{
pcygnet~normal(cygnet,500);
piq~normal(iq,... |
d9e44133126f71607544c414359cee86185ed999 | 2422a6753ca50c7422799abc02bc91e2bacc92b6 | /nfl team wins scraping.R | 205e3d523b0bd0a52b6070ca16247f6144889ad1 | [] | no_license | dantok18/YUSAG | a1ecb51e5fdac503b38ed585051119a284ba131e | 2e52b9566e5bab0ef0eb42abff3edf9fc687394e | refs/heads/master | 2021-05-13T19:14:40.186324 | 2018-01-10T01:35:30 | 2018-01-10T01:35:30 | 116,886,631 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 810 | r | nfl team wins scraping.R | library(XML)
library(RCurl)
i <- 2002
for(y in i:2017)
{
u <- paste0('https://www.pro-football-reference.com/years/',toString(y),'/#all_team_stats')
newu <- getURL(u)
data1 <- readHTMLTable(newu)[[1]]
data2 <- readHTMLTable(newu)[[2]]
data <- rbind(data1,data2)
data <- data[substring(data$Tm,2,3) != 'FC', ]... |
23fdf4541e4ddecf7ef95e79deb287cc2cdd57e8 | e76a2bf9abb63b93d858ea49e7f886489bc4a7e1 | /R/tirgol r 1.R | dbcf8b10b0dd64617a75aa290ff004784b992a30 | [] | no_license | DANIELH2/DataScience | d8b76816d068bb13ac3976f3bc5f5e2ebc2fcffe | 658bf2786f1c159cd6529a2592ef803cc3e22239 | refs/heads/master | 2021-06-21T05:20:24.895993 | 2021-04-21T08:14:22 | 2021-04-21T08:14:22 | 212,381,115 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 897 | r | tirgol r 1.R | df = iris
df
min(df$Sepal.Length,df$Sepal.Width,df$ngth,df$Petal.Width)
max(df$Sepal.Length)
max(df$Sepal.Width)
max(df$Petal.Length)
max(df$Petal.Width)
mean(df$Sepal.Length)
mean(df$Sepal.Width)
mean(df$Petal.Length)
mean(df$Petal.Width)
cf = mtcars
cf
sqrt(cf$mpg)
log(cf$disp)
cf$wt^3
s1<-c("age","gender","he... |
f187b37190434cdf13e11fa5f8408ccf5345c359 | e622fa6a472d3c2c3a7c23b1c6f0edbf850c242a | /cognitives.R | 015d75f17b30635784b1393a6e236788c23e52b5 | [] | no_license | hddsilva/participant_subsets | f35d5bfbe3a6f8e76150adf6566c15a4606008fd | 1ad99d26689406b8e6e630c18f72c631f20ca299 | refs/heads/main | 2023-08-17T09:25:35.679793 | 2021-10-01T19:56:12 | 2021-10-01T19:56:12 | 412,597,900 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 935 | r | cognitives.R | #Creates a dataframe of all cognitive assessments
library(dplyr)
lookup_table <- read.delim(dir("data_categories/lookup_table/",
full.names=T, pattern="^lookup_table_20"),header=TRUE, sep="\t")
data$cogtest_date <- as.Date(as.character(data$cogtest_date),"%Y-%m-%d")
#Create cognitive ... |
ccf2c0237cbd875bda5f748b5658244747d0fd58 | 9ca187e11f931f782ef2ddd8323637685ba0ce37 | /man/vdj.stats.Rd | a1431970b192217d650b5b65ffdf620b2a240808 | [] | no_license | weiliuyuan/iCellR | 320cf17970543478c6c1a0d1629fe456698da84b | d5a191957ebf1519c60bc773ed95112dca8e03ae | refs/heads/master | 2020-05-30T07:30:14.823648 | 2019-05-28T15:47:36 | 2019-05-28T15:47:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 565 | rd | vdj.stats.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/F042vdj.stats.R
\name{vdj.stats}
\alias{vdj.stats}
\title{Add CITE-seq antibody-derived tags (ADT)}
\usage{
vdj.stats(vdj.data = "VDJ_analysis_ready.tsv")
}
\arguments{
\item{x}{An object of class iCellR.}
\item{adt.data}{A data frame contai... |
a4377f9f28f5a23f4b00ce19e19e9f390ce00341 | e69d99866cb5f5267d9c71391ffcacdabf5e5806 | /man/titanicgrp.rd | 360ccd39bb993e4c888dc1d938f57c265669f3bc | [] | no_license | cran/LOGIT | b2d3d4407fe11a846a3b9e523da95148c46f074c | 9deb1d08174d6e37f228674bf8121ddb19406215 | refs/heads/master | 2016-08-11T15:20:24.938606 | 2016-02-06T11:20:21 | 2016-02-06T11:20:21 | 48,082,940 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,225 | rd | titanicgrp.rd | \name{titanicgrp}
\alias{titanicgrp}
\docType{data}
\title{titanicgrp}
\description{
The data is an grouped version of the 1912 Titanic passenger survival
log,
}
\usage{data(titanicgrp)}
\format{
A data frame with 12 observations on the following 5 variables.
\describe{
\item{\code{survive}}{number of passenger... |
570e59351a5c2a9d7d969a0f52269261b71f19a6 | cb1e1d51055460841ca024c33681cb2e30c590a7 | /R/RCPmod.R | f4561e69e61c609e126f79754056a484122b245a | [] | no_license | cran/RCPmod | fe9569983cb33b5652f7addbdcdcb1f688f62f00 | ccef326318838b8663b5a924c5de137b3436ed3c | refs/heads/master | 2022-11-11T10:44:08.599637 | 2022-10-25T20:47:47 | 2022-10-25T20:47:47 | 17,681,879 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 93,577 | r | RCPmod.R | # This is package RCPmod
".onAttach" <-
function( libname, pkgname)
{
packageStartupMessage("Welcome to RCPmod. To fit RCPmodels see ?regimix")
}
".onLoad" <-
function (libname, pkgname){
# Generic DLL loader
dll.path <- file.path( libname, pkgname, 'libs')
if( nzchar( subarch <- .Platform$r_arch))
... |
083feed2496817d6b3066facd52c9f824dc96bcb | 942d40cffac9a26fb6a195d0b535eeb4ecc9c786 | /man/format_output.Rd | c876afb70c87b0ba839ecb4c2d14542973be5b57 | [
"MIT"
] | permissive | willpearse/squire | 7652a94bd2c75e75fbe24ff3e421c87ac02fa018 | c33ff50849f2d0886423bc7887e972ac3e0f99ec | refs/heads/master | 2022-11-06T14:11:54.940845 | 2020-06-16T15:28:19 | 2020-06-16T15:28:19 | 270,962,087 | 0 | 0 | MIT | 2020-06-09T09:39:49 | 2020-06-09T09:39:48 | null | UTF-8 | R | false | true | 1,157 | rd | format_output.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/format_output.R
\name{format_output}
\alias{format_output}
\title{Format model output as data.frame}
\usage{
format_output(
x,
var_select = NULL,
reduce_age = TRUE,
combine_compartments = TRUE,
date_0 = NULL
)
}
\arguments{
\item{x}... |
57e4d8ded4f12ef112da882edda4d90321bac1e6 | 9aeff507412b57718da6db67e708bdf04aa83228 | /R/transformdata.back.R | 0f999ed2320aa30db9009bc2ed57b2aa0dad94d1 | [] | no_license | lozalojo/mem | df00ae00aa190e91d3217ddc60736eb86894f037 | e8bbdcc1df8e31cbeb036ac5037f79b7375d976c | refs/heads/master | 2023-07-03T13:44:40.371634 | 2023-06-21T06:21:11 | 2023-06-21T06:21:11 | 47,120,918 | 11 | 3 | null | 2023-06-21T06:21:12 | 2015-11-30T13:39:39 | R | UTF-8 | R | false | false | 8,298 | r | transformdata.back.R | #' @title Data transformation
#'
#' @description
#' Function \code{transformdata.back} transforms data from week,rate1,...,rateN to year,week,rate
#' format.
#'
#' @name transformdata.back
#'
#' @param i.data Data frame of input data.
#' @param i.name Name of the column that contains the values.
#' @param i.cutoff.orig... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.