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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dff56ac75624041466cf04915ebeba456747aec9 | 506baf5d25ec38e6452a40b5090bbed9ac0aa7d3 | /man/as.data.frame.prevR.Rd | 7e6da48a975f34e0b0e1eb2baca395503f845e34 | [] | no_license | cran/prevR | 71ea23479220037d8417132a167f35ed763483de | ab9dfc7467c1f80f99985717a259908e049fa5ca | refs/heads/master | 2023-05-27T08:58:21.486960 | 2023-05-15T17:50:03 | 2023-05-15T17:50:03 | 17,698,720 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,734 | rd | as.data.frame.prevR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/as.data.frame.prevR.r
\name{as.data.frame.prevR}
\alias{as.data.frame.prevR}
\alias{as.data.frame}
\title{Convert an object of class prevR into a data.frame.}
\usage{
\method{as.data.frame}{prevR}(x, ..., N = NULL, R = NULL, clusters.o... |
2f26e0bd57dc62e2c6a60c3e4a44c72332f7a94a | 94711a87720519f87688309086097b3d367d4688 | /wealthofgenerations/man/fill.data.Rd | eba478bbec190543e209356d6ed2da0768d13ff2 | [] | no_license | HughParsonage/wealthofgenerations | 73251b4c6dc6bbcd159947c3a209c38badac5069 | e3b19be111f91b66a86907f6bcc440e206a650be | refs/heads/master | 2020-05-20T01:35:26.819260 | 2015-05-20T01:09:19 | 2015-05-20T01:09:19 | 35,911,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 222 | rd | fill.data.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/fill.data.R
\name{fill.data}
\alias{fill.data}
\title{fill.data}
\usage{
fill.data(age.totals, age.labels)
}
\description{
fill.data
}
|
6c3e6e87e7f7d50972718f70983679098be814b7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mvdalab/examples/plsFit.Rd.R | 3f7a192dc2e571fb279ee317b60fe01bc9bcc8ba | [] | 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,478 | r | plsFit.Rd.R | library(mvdalab)
### Name: plsFit
### Title: Partial Least Squares Regression
### Aliases: plsFit mvdareg summary.mvdareg summary.mvdareg.default
### ** Examples
### PLS MODEL FIT WITH method = 'bidiagpls' and validation = 'oob', i.e. bootstrapping ###
data(Penta)
## Number of bootstraps set to 300 to demonstrate ... |
435228470fd663317f14f1ca9830a79fdb38f3d4 | af4fc9030892fe71052f953a4db2bcfac5126c8d | /R/checkloss.R | bff257f711df7c1c6aaa75a406205bd9733311e0 | [] | no_license | halleybrantley/detrendr | a2d9e3e58af8d1ffdb7de356a73d6ed1824b4237 | 17e3e7cc9e4bb287c6b905f951c6255560aa8f69 | refs/heads/master | 2020-05-15T08:42:30.268264 | 2019-05-09T15:16:10 | 2019-05-09T15:16:10 | 182,164,011 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 463 | r | checkloss.R | # Functions for choosing smoothing parameter
#' Evaluate checkloss function
#'
#' \code{checkloss}
#'
#' @param e argument of checkloss function
#' @param tau quantile to be used
#' @export
checkloss <- function(e, tau){
if (ncol(e) != length(tau)){
stop("Number of columns in y must be same as length of tau")
... |
fa50d2b2d2a34d53ceb96247ddccf11d0f3eaeb6 | a321e65620ad566a9d40faafce6d85e02553f484 | /loan_Project.R | cc77f0d4ea98ef63268505a23597a5b156e59bb6 | [] | no_license | flaatah/loan.Project | 8ba19e8f81e4306c6e7c251cab66a8fbbe6a1900 | a2a0d6f0ff7287b3b34b28c79d954b3d3b1fa33a | refs/heads/main | 2023-07-11T22:21:46.475448 | 2021-08-21T07:20:45 | 2021-08-21T07:20:45 | 377,734,963 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,892 | r | loan_Project.R | library(ggplot2)
library(caTools)
library(e1071)
#read_data
loan <- read.csv('loan_data.csv')
head(loan)
str(loan)
summary(loan)
#convert columns to factor
loan$inq.last.6mths <- as.factor(loan$inq.last.6mths)
loan$delinq.2yrs <- as.factor(loan$delinq.2yrs)
loan$pub.rec <- as.factor(loan$pub.rec)
loan$... |
81e703ced9c5b0982e174d3421b45bd378c8545d | 13b7f8de84d5aae930468d5364e42d4aa07ab3eb | /man/variableDesc.Rd | 9d3e58874c132f203c28ba71f3c51cd8dca5a25b | [] | no_license | cran/NMMAPSlite | 83ab72149117f5e98ba8fa4b0989da9f05ce38d5 | d25a502710ad262786a400298cbf0ebf15180ce3 | refs/heads/master | 2020-06-08T23:34:47.525892 | 2013-03-22T00:00:00 | 2013-03-22T00:00:00 | 17,717,841 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,440 | rd | variableDesc.Rd | \name{variables}
\alias{variables}
\docType{data}
\title{U.S. Cities Variable Descriptions}
\description{
Descriptions of pollutant, meteorology, and mortality variables for
U.S. cities (1987--2000).
}
\details{
The following information (and more) can be found by loading the
\code{variables} table (i.e.... |
b7230d83f8b56c6c9e2e2304bc225d3befaeba83 | ef3b06420505bb9db574b2e4179a00a1553a1f6d | /summary/server.R | 52cc3f2f8752fa5605e261613662d4ce7613bd61 | [] | no_license | Wei-LinHsiao/political-detector | 62be8484e4b97d4ab075c8397cfbaade1c8c9d5e | 6def7a1ae1149dfba833cffb3625be87e035a6ba | refs/heads/master | 2020-04-11T19:53:10.618991 | 2019-01-31T16:00:07 | 2019-01-31T16:00:07 | 162,051,349 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,485 | r | server.R | library(rsconnect)
library(shiny)
library(readr)
library(tidyverse)
library(DT)
# Import data
coef <- read.csv("coef.csv", header=FALSE)
comments <- read.csv("comments.csv")
# Add title to coefficents
colnames(coef) <- c("Phrase", "Coefficent")
# Adjust last column to UNIX timestamp column
comments <- comments %>%
... |
78decd2745d5c830482b7b7acae35ffb80993ee0 | dc012806c6a46a7ed990408e48f85b263418063e | /man/get_isothermal_model_data.Rd | 1ca8f4badf0fa95bdcc85eaca2ab3f7fed4e9ae5 | [] | no_license | albgarre/bioinactivation | becbc9814fae303dad7f8b0861fd4d88bb3286ec | 668e9d234435a2cf8a669ba0de71cdce25907829 | refs/heads/master | 2022-12-07T12:39:59.241879 | 2022-11-22T12:28:32 | 2022-11-22T12:28:32 | 146,264,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 996 | rd | get_isothermal_model_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/isothermal_fit.R
\name{get_isothermal_model_data}
\alias{get_isothermal_model_data}
\title{Isothermal Model Data}
\usage{
get_isothermal_model_data(model_name = "valids")
}
\arguments{
\item{model_name}{Optional string with the key of the mod... |
2511fd174a1fc557c5a2a181f66a3458f01de4b4 | c7b21b8da05cd2066ac45bb86adbb3266501384c | /man/compare.model.Rd | fc49cef7dd0b2a0f079535df9af8664030bd7748 | [
"MIT"
] | permissive | zhangkaicr/doRadiomics | 1d68a14408773b9e30314d65c097a6e9a11c8cb5 | 458d38aacbebf646cb8588be780ef2c6026fde0c | refs/heads/main | 2023-03-22T00:19:13.636809 | 2021-03-09T04:17:20 | 2021-03-09T04:17:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 433 | rd | compare.model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compare.R
\name{compare.model}
\alias{compare.model}
\title{Compare two model}
\usage{
compare.model(obj1, obj2, fpath)
}
\arguments{
\item{obj1}{an Radiomics.out or Nomogram.out object}
\item{obj2}{an Radiomics.out or Nomogram.out object}
... |
f81024f89464676a72786e10ecabe48feb85c201 | dc2d65262c6ba262ded597991ead46d901d520f0 | /work_in_progress/Carlin and Chib gibbs sampler for bayesian model uncertainty in meta analysis.R | 4da060a425b9f5e9103de734b408dfa5e9c7335d | [] | no_license | fanstev1/bayesian-model-uncertainty-in-meta-analysis | 10809cf66dc65d0fb26c197c6a570acea89bc41b | 13bebb6a7029d50c5749e9521cb4725e0da787fc | refs/heads/master | 2020-12-23T01:27:33.063205 | 2016-08-16T15:14:00 | 2016-08-16T15:14:00 | 65,828,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,119 | r | Carlin and Chib gibbs sampler for bayesian model uncertainty in meta analysis.R | library(MCMCpack)
library(mvtnorm)
#library(R2WinBUGS)
# Gibbs sampler for Carlin and Chib's method
# Model 1: Y_i ~ N(delta, sigma_i^2)
# Model 2: Y_i ~ N(beta + S_i, sigma_i^2) and S_i ~ N(0, sigma_s^2)
bayes.mdl.uncertainty.meta.analysis<- function(y, var_y, parm.ini,
... |
87779c557c548f63085471056e2aac6892696f9a | 99dd03c6ab460922e07412d08fcd118f50789826 | /src/prepare_bbc.R | c4307b628966aafd747a8d954d6b8c1b10db1470 | [
"MIT"
] | permissive | maqin2001/IRIS3 | 51108c5b7ab2a5e42d1ff729c5ffe168faa52053 | b5b1934b2f2056c7fa47728ac05d9504547e6062 | refs/heads/master | 2020-05-30T21:43:48.768769 | 2019-05-24T15:58:56 | 2019-05-24T15:58:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,454 | r | prepare_bbc.R | ####### Read all motif result, convert to input for BBC ##########
# remove all empty files before this
library(seqinr)
library(tidyverse)
args <- commandArgs(TRUE)
#setwd("D:/Users/flyku/Documents/IRIS3-data/test_meme_new")
#setwd("/var/www/html/iris3_test/data/20190408202315/")
#srcDir <- getwd()
#jobid <-20190408... |
5fb276de1d78ccef3fa4fad21bedd90b1824f46a | e205d4542b2f7d13bc3c1a3bba2eae4c16cfc743 | /tests/testthat/test-21-DRYWETAIR.R | 634abb1c6ec9bf0d1ebfeea78f2070163adbae89 | [
"MIT"
] | permissive | trenchproject/TrenchR | 03afe917e19b5149eae8a76d4a8e12979c2b752f | 7164ca324b67949044827b743c58196483e90360 | refs/heads/main | 2023-08-20T11:54:26.054952 | 2023-08-04T03:52:42 | 2023-08-04T03:52:42 | 78,060,371 | 8 | 8 | NOASSERTION | 2022-09-15T21:36:08 | 2017-01-04T23:09:28 | R | UTF-8 | R | false | false | 973 | r | test-21-DRYWETAIR.R | context("DRYWETAIR")
expect_similar <- function(input, expected) {
eval(bquote(expect_lt(abs(input - expected), 0.01)))
}
test_that("DRYAIR function works as expected", {
expect_equal(length(DRYAIR(db=30, bp=100*1000, alt=0)), 11)
expect_identical(class(DRYAIR(db=30, bp=100*1000, alt=0)), "list")
expect_simil... |
2a5bdb58be12d064805f1a8d99d9a5ad33912d3e | a20d5b8fc49681b708fb99ae02087f0b34cf89e3 | /R/plot_moving_averages.R | 05cd1c05865d80a41ef4673c3a86b448b36234a6 | [] | no_license | gladelephant/Nature_2021_Breast-Tumors-Maintain-a-Reservoir-of-Subclonal-Diversity-During-Expansion | 3facd8ee70e2a0d2f98514ce81bcd83efacc824c | 67e0f9bb6424cb75e0c500b6934d91024b2312d6 | refs/heads/main | 2023-05-08T07:37:32.585283 | 2021-05-06T21:42:04 | 2021-05-06T21:42:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,454 | r | plot_moving_averages.R | #' Reproduces the moving average plots
#'
#' @param chromosome Chromosome to be plotted
#' @param genes list of genes to be plotted as a boxplot.
#'
#' @return a ggplot object with the three plots using patchwork
#' @export
#'
#' @examples
#'
plot_moving_average <- function(chromosome,
g... |
88da7c6a8b23a6bc01851c1e9a7d98044b008802 | 27fd2631dd5e44ff6171a271f8bb9c0ccdc1c835 | /LearningR/ch_8_data.R | 9577b8bf68fc043cf030486f2082f492b00875cd | [] | no_license | dvjr22/Learning | 669088cb79812065be5fdd83c90782fc8108078d | af2386c6a5d7ed9f361942a4a77485a8346923bd | refs/heads/master | 2021-05-15T06:53:13.704584 | 2018-02-20T12:52:22 | 2018-02-20T12:52:22 | 113,348,984 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,026 | r | ch_8_data.R | #Chapter 8
#Topics:
# lattice package
# xyplot()
# bwplot()
# dotplot()
# histogram()
# densityplot()
# Panel Functions
rm(list = ls()) #clear environment
setwd("/home/valdeslab/Learning/LearningR") #GreenMachine
#setwd("/home/diego/Learning/LearningR") #Laptop
#Load packages
library(lattice)
library(grid)
#Mulitpa... |
bb907e2a2a0fbfaf87fcc46f2244a5c02b405797 | 56993b6bc9f7a3de1942de4933a597c6e122e010 | /man/leveneTests.Rd | 9eb82a7e21150943d39b68b346529456380d5c51 | [] | no_license | WeiAkaneDeng/Xvarhet | 694bf59af2fdbb1e6b2956ef1cf993c5915c302f | 8dc6b92131781c72d1940aa702447f21028071f3 | refs/heads/master | 2021-11-19T08:52:23.788899 | 2021-09-30T12:21:36 | 2021-09-30T12:21:36 | 124,282,954 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,331 | rd | leveneTests.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LeveneTest.R
\name{leveneTests}
\alias{leveneTests}
\title{Levene's test for variance homogeneity by SNP genotypes}
\usage{
leveneTests(GENO, SEX, PLINK = FALSE, Y, centre = "median", COV = NULL)
}
\arguments{
\item{GENO}{the genotype of a SN... |
f5a18a8064e36c4fd7db9d7b68c41a3d0e5016e0 | 5d3d1b0916535dad8a83a9dad9e23ed77b982d8e | /man/compareAgreement.Rd | 69cf1acfc8f4eede3e4cd804604114be20192e8d | [] | no_license | cran/agrmt | 3d280f0d45e7dcc141556269548296131f2c43cc | 849caf12caabffb97aba71b2b2a54d2d36d2ec4a | refs/heads/master | 2021-11-25T02:48:56.040559 | 2021-11-17T21:20:02 | 2021-11-17T21:20:02 | 17,694,324 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,336 | rd | compareAgreement.Rd | \name{compareAgreement}
\alias{compareAgreement}
\title{Compare agreement A with and without simulated coding error}
\description{Calculate agreement in ordered rating scales, and compares this to agreement with simulated coding error.}
\usage{compareAgreement(V, n=500, e=0.01, N=500, pos=FALSE)}
\arguments{
\item{V}... |
b0793ae88e032adf9a1ce6bd741ea302633c5520 | fbfcb908f975799b43a64c51c9a380701626d488 | /man/workflowTransfer.Rd | 1c475162625ed71afa655661dc9694a186f08319 | [] | no_license | BlasBenito/distantia | d29d099ae8740bfadf2a480f18ffdb4ffdbe5f41 | 0d4469f417a7e7970757ee7943ca0016c181f7ec | refs/heads/master | 2022-02-24T04:30:53.308716 | 2022-02-07T14:32:31 | 2022-02-07T14:32:31 | 187,805,264 | 7 | 4 | null | null | null | null | UTF-8 | R | false | true | 3,784 | rd | workflowTransfer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/workflowTransfer.R
\name{workflowTransfer}
\alias{workflowTransfer}
\title{Transfers an attribute (time, age, depth) from one sequence to another}
\usage{
workflowTransfer(
sequences = NULL,
grouping.column = NULL,
time.column = NULL,
... |
6cbe03b29a1510dc8dd80017f5f963fe51c696a9 | 8e797ce01d2078b48818374814d4fdc63d459a88 | /eyewit/script.R | 497bc80cef09db9e8a4af75a753a896939e76050 | [
"MIT"
] | permissive | ccp-eva/eyewit | 4aa7b0fdd92e94a3f0cc891416c76386b096a7b9 | 04473da9b1aace6aa24b7d0ad796eae31989ade5 | refs/heads/main | 2023-08-16T23:45:16.404856 | 2023-08-10T17:22:15 | 2023-08-10T17:22:15 | 254,728,991 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,702 | r | script.R | # load eyewit (for package dev load it: devtools::load_all("."))
# library(eyewit)
# install CRAN packages
# install.packages("tidyverse")
library(tidyverse)
# import user interface
source("interface.R")
# read raw data filenames
participants <- list.files(interface$raw_dir)
# take a random sample from raw folder t... |
a7ad2539a3eb9056a20db62cfab978a9f5f0712a | f9a852ac2ddadbe7cd3879473b56b4369fb9a53c | /man/pma_gettable.Rd | 1bf54d6c5520c2b5d050ade88e71c140d5ae6143 | [] | no_license | obarisk/sqltools | ab0012489b2a3623240013ee22ca793bbc81910b | edd9df3d5114b2040a0491d7604340b31162fa8a | refs/heads/master | 2021-01-19T20:36:36.298885 | 2017-04-23T11:06:25 | 2017-04-23T11:06:25 | 88,523,675 | 0 | 0 | null | 2017-04-17T15:59:43 | 2017-04-17T15:46:51 | R | UTF-8 | R | false | true | 401 | rd | pma_gettable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/phpmyadmin_webapi.R
\name{pma_gettable}
\alias{pma_gettable}
\title{show tables on phpmyadmin server}
\usage{
pma_gettable(dbname, Url, Token)
}
\arguments{
\item{dbname, }{database name}
\item{Url, }{remote server URL}
\item{Token, }{login... |
5f64d42384626e30a97105a9d38f9527b44a73cc | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/stochvol/man/specify_priors.Rd | 6832244f27c913a31cd515cd53646fc038c4f424 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,540 | rd | specify_priors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/util.R
\name{specify_priors}
\alias{specify_priors}
\title{Specify Prior Distributions for SV Models}
\usage{
specify_priors(
mu = sv_normal(mean = 0, sd = 100),
phi = sv_beta(shape1 = 5, shape2 = 1.5),
sigma2 = sv_gamma(shape = 0.5, ra... |
37ad8e86fbbe8bfbdbf41cb12c3ee0b833255209 | 5d3121e7e42bfb2cc8ae76062a83df2791a45b95 | /R/assig.R | d04cc9518fc75b0f61327fdf45ef4d5b48f160b5 | [] | no_license | neslon/dprep | 3b872a3cbfe3492a27314d4d68c427a949cd538a | bedc64837b72919f0a249d716b6cecbb23923ad0 | refs/heads/master | 2021-01-11T14:49:55.339753 | 2017-01-27T23:09:36 | 2017-01-27T23:09:36 | 80,226,293 | 0 | 0 | null | 2017-01-27T16:51:27 | 2017-01-27T16:51:26 | null | UTF-8 | R | false | false | 459 | r | assig.R | assig <-
function(x, points, nparti, n)
{
x1<-x
if(nparti==1){ x1[1:n]= 1}
for(i in 1:nparti) {
if(i==1) {
idx <- as.numeric(x<points[i])*seq(1,length(x))
x1[idx] <- 1
}
if(i==nparti) {
idx <- as.numeric(x>=points[i-1])*seq(1,length(x))
x1[idx] <- nparti
}
... |
23b9c054c171a9f6ccaa805b69ffcc9573f39354 | c7fb71ce56826e76c52b3b671c4d1edfe05bcccc | /inst/doc/files.R | b4666a072addd350a55c5e5f612f17da33549f82 | [] | no_license | cran/filesstrings | da03515790a57bb53899b67a7de3ce70ec3a446b | 983e3724aaa20682f68d82dfdb0bb3b0f12b9c19 | refs/heads/master | 2023-02-07T12:41:00.563629 | 2023-01-25T16:10:02 | 2023-01-25T16:10:02 | 82,947,823 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,315 | r | files.R | ## ----setup, include=FALSE-----------------------------------------------------
knitr::opts_chunk$set(echo = TRUE, comment = "#>")
## ----load---------------------------------------------------------------------
library(filesstrings)
## ---- remove_filename_spaces--------------------------------------------------
fi... |
396844ea602392972de87eb70135337b0657e50f | 42ee7e7f8650ac4378e477ea06407258a8e286c2 | /scripts/2004_turnout_by_state.r | 93cf587bfb90b6823ff8103abda6f664512b47b4 | [] | no_license | stoneyv/presidential_general_elections | d4000e90d13dc13eb870733728f1c7b6b10a5020 | f097810a931e0a8463ce7a2967ced0b0ea88bbf9 | refs/heads/master | 2020-06-30T09:49:30.494158 | 2017-01-03T00:14:02 | 2017-01-03T00:14:02 | 74,379,541 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,643 | r | 2004_turnout_by_state.r | library(data.table)
library(choroplethr)
library(choroplethrMaps)
library(ggplot2)
library(gsheet)
library(dplyr)
# Setting the working directory and then confirming it.
working_dir <- '/home/stoney/Desktop/presidential_elections/scripts/'
setwd(working_dir)
getwd()
#
# United States Election Project
# http://www.ele... |
a3f161295086f890e59bc13699b1976fb01836e3 | 1d5f8ab25866b9cb4898be799bb700d260ef5b62 | /man/kernel_gauss_dC.Rd | 811487b31b740766ced72802fe39b67ea9a1e375 | [] | no_license | CollinErickson/GauPro | 20537d576a5a47308840ecbe080dabb2c244b96c | c12cfa14b5ac4e1506daec1baec27f75a2253f53 | refs/heads/master | 2023-04-16T08:42:18.177784 | 2023-04-12T00:59:27 | 2023-04-12T00:59:27 | 64,254,165 | 14 | 1 | null | null | null | null | UTF-8 | R | false | true | 699 | rd | kernel_gauss_dC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{kernel_gauss_dC}
\alias{kernel_gauss_dC}
\title{Derivative of Gaussian kernel covariance matrix in C}
\usage{
kernel_gauss_dC(x, theta, C_nonug, s2_est, beta_est, lenparams_D, s2_nug)
}
\arguments{
\item{x}{Matrix x}
\ite... |
86672e157d9ff93181bce42e69f7261e69580398 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Luminescence/examples/plot_DRTResults.Rd.R | 76bdd4c36675f4d450d7d07e460fbb469906a225 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,425 | r | plot_DRTResults.Rd.R | library(Luminescence)
### Name: plot_DRTResults
### Title: Visualise dose recovery test results
### Aliases: plot_DRTResults
### Keywords: dplot
### ** Examples
## read example data set and misapply them for this plot type
data(ExampleData.DeValues, envir = environment())
## plot values
plot_DRTResults(values = E... |
704ee39b0a93e0f922d350a9b0536a719d656d0a | 35a87885d11712ddda88f065e07e5581cffd6b43 | /ecospat/man/ecospat-package.Rd | bc8897b8f3caf0556bcf609b0fedb94088df7960 | [] | no_license | ecospat/ecospat | 8266a45049a313616f31f964e5cefc49ab76a2ea | be2716f41de829558dab53f26dcc8e3509ba187d | refs/heads/master | 2023-08-14T10:04:25.008983 | 2023-06-15T09:56:10 | 2023-06-15T09:56:10 | 21,738,067 | 21 | 13 | null | 2023-07-27T12:58:12 | 2014-07-11T14:01:02 | R | UTF-8 | R | false | false | 3,173 | rd | ecospat-package.Rd | \name{ecospat-package}
\alias{ecospat-package}
\alias{ecospat}
\docType{package}
\title{Spatial Ecology Miscellaneous Methods}
\description{
Collection of methods, utilities and data sets for the support of spatial ecology analyses with a focus on pre-, core and post- modelling analyses of species distribut... |
31f9d3a47987021bc5ef965b8fcc3a7c3981517a | 99766014500982b7584ec5e8217735deae30dff3 | /ordinary-least-square-regression-modelling.R | b5e0a66638ec2a045d1c78e8f95c0baa2cddd133 | [] | no_license | davidenoma/regression-analysis | 694dce0d8098fc8d698081cc20db4004b8172eae | 5f40999b0504015278d350cde427d47dc25ebe28 | refs/heads/master | 2022-12-07T19:38:18.493246 | 2020-08-19T20:22:49 | 2020-08-19T20:22:49 | 287,510,993 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,845 | r | ordinary-least-square-regression-modelling.R | #Linear regression, we model Y as a function of X
library(help = "datasets")
data("Orange")
head(Orange)
plot(Orange$age, Orange$circumference)
#Model the variation in circumference as a
#a function of age
#H0: there is no link between age and circumference
fit = lm(circumference ~ age, data=Orange)
summary(fit)... |
45c498ce1e787e99a2900304651db4e274dcea6b | e63cee6483260cd96f285939154d897c9d1951d5 | /run_analysis.R | e921e4655e7fd9d19e92f101aa3ddf97bbd693b1 | [] | no_license | nadirizr/getdata-project | a055cd9801d73ab7a230d527ea0748e7abe795e3 | 90b35ab26bf6e5d472befcaac3db7c896d8f1fca | refs/heads/master | 2016-09-05T15:21:11.573141 | 2014-12-20T23:46:41 | 2014-12-20T23:46:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,001 | r | run_analysis.R | library(reshape2)
download_and_extract_dataset <- function(web_path, dest_path = ".") {
## 'web_path' is a character vector indicating the URL of the dataset
## file to download, and assumes it a zip file to extract.
## 'dest_path' is an optional character vector indicating where to
... |
0afb0b540ff46f99856f475197a6e31289fbdbd1 | 1db3390483611dad623d984fc1d18c277af3ed4e | /R/hpcc.table.R | 7e72fff1e281d6901b8277eeefae633fc01eef1b | [] | no_license | Saulus/rHpcc | 7105a535b4b62c736625c74175114ea61e7aa30c | 5fef5811fe0a63555a66e30c05bb4ffef46ad7ce | refs/heads/master | 2021-01-14T14:10:50.315049 | 2014-11-24T09:17:54 | 2014-11-24T09:17:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 799 | r | hpcc.table.R | hpcc.table <-
function (dataframe, format,expression = NULL,
few = NULL, unsorted = FALSE, local =FALSE, keyed = FALSE,
merge = FALSE)
{
out.dataframe <- hpcc.get.name()
if (missing(dataframe)) {
stop("no dataframe")
}
code <- sprintf("%s := TABLE(%s,%s",out.dataframe,dataframe,format)
if(is... |
b96b48620522ce5c61fd0fbea03ae51ada44cc64 | 6393059185fa3456b16d4e69193828686bcc3a22 | /Code/step2_eventcode/step2_eventcode_NVMS.R | 6f65e3f06de44eada064343014845b02c25ff3d8 | [] | no_license | zhukovyuri/xSub_ReplicationCode | 49c6f092a8dfdd44762e493ed4155dedcc37c371 | a8c83d60ed1076d5a22f4d3fb3bc28fbbbcd0a81 | refs/heads/master | 2021-05-03T10:21:31.921202 | 2019-06-19T00:33:06 | 2019-06-19T00:33:06 | 120,532,879 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,858 | r | step2_eventcode_NVMS.R | rm(list=ls())
## Set directory
setwd("~/")
if("XSub"%in%dir()){setwd("~/XSub/Data/")}
if("Dropbox2"%in%dir()){setwd("~/Dropbox2/Dropbox (Zhukov research team)/XSub/Data/")}
# setwd("F:/Dropbox (Zhukov research team)/XSub/Data/")
## Install & load packages (all at once)
list.of.packages <- c("gdata","countrycode","m... |
fd714b74d4c55fd57a507e0edc06eae5c763ea69 | cc88729bf3878baf40307b2c14accbf0767369a3 | /hw07/analysis.R | 2a024aae6e82ebd99695d400d37f5880654ad6d2 | [] | no_license | chbrown/dbml | aeabf4cbcbe7728a7fe26985b3322d177c94e1b0 | cfb68b5cd6e8aa94a952cac6f40eeee86231ae73 | refs/heads/master | 2021-01-15T11:28:48.164220 | 2012-04-24T18:03:05 | 2012-04-24T18:03:05 | 3,356,282 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,103 | r | analysis.R | source('~/.R.rc')
library(ggplot2)
library(scales)
setwd('/Volumes/Zooey/Dropbox/ut/machine-learning/hw07')
draw('results/qlearn.s50x10.o20.tsv', '50 x 10, 20 obstacles, e=0.9, g=0.8, a=0.01')
draw('results/qlearn.s50x10.o20.e99.tsv', '50 x 10, 20 obstacles, e=0.99, g=0.8, a=0.01')
draw('results/qlearn.s120x3.o10.tsv... |
7898f4947011686ee64100d38a872ff799ac161a | 7fe986936ea322468b33aec707ad00c5b62a4de4 | /R/summarizeHisse.R | 6f533f567280e053f8ee0f866934ee6980b27bd6 | [] | no_license | thej022214/hisse | 1ab46f175677f6c28ce6c7803639aa4eae48f571 | b7ce7d0a9f83122f5620c0b07050f31574b96094 | refs/heads/master | 2023-08-03T10:54:41.234175 | 2023-07-27T22:03:23 | 2023-07-27T22:03:23 | 38,690,262 | 4 | 9 | null | 2021-11-22T21:38:03 | 2015-07-07T13:43:34 | R | UTF-8 | R | false | false | 561 | r | summarizeHisse.R | #STUB for code to summarize results for users. Also consider output from plot.hisse.states
#
# all.poly <- ls() #list all output hisse objects
# all.poly <- all.poly[grepl("poly", all.poly)]
# all.poly <- all.poly[-which(all.poly=="poly")]
# all.poly <- all.poly[-which(all.poly=="poly.dat")]
# all.poly.list <- list()
#... |
9aabbf89606b77f7715c7afadbe323afa2e09ba7 | 94014ad2e9085e73eb3b95e97120ecb30859f088 | /R/compute_control.R | 1f8586ad308a1c74884c55b5ef9de8880b4d699d | [] | no_license | aarzalluz/scfilters | e491e42580c78c187dbc007629656b5768617b58 | 6c200fb49309003f147879787d6cc423931e61ff | refs/heads/master | 2021-08-23T21:05:15.837834 | 2016-08-07T17:07:39 | 2016-08-07T17:07:39 | 60,845,930 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,716 | r | compute_control.R | #' Generate a negative control.
#'
#' Computes correlations for all the randomized windows against a window of choice.
#'
#' \code{compute_control} only correlates the set of randomized windows to one of the windows
#' into which the data set was divided. Therefore, it needs to be called once for each window.
#'
#' The... |
1f21f99fe7e53297fe078fa6eac64b0348d4155c | 2807d9d3515aadba1d63d306ca7106913f6174f1 | /man/tt.Rd | 650a8ce9e94d8f01a27c986018af2b997b895b27 | [
"MIT"
] | permissive | oneilsh/tidytensor | 09fca1a33aab4001f9805c98824725e333f2e09f | 14f5b87d2dfae20eb35cfd974adf660a4fd89980 | refs/heads/master | 2021-10-12T02:18:35.630630 | 2021-10-07T21:00:59 | 2021-10-07T21:00:59 | 160,564,655 | 5 | 1 | NOASSERTION | 2021-10-07T20:50:49 | 2018-12-05T18:58:21 | R | UTF-8 | R | false | true | 1,421 | rd | tt.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/as.tidytensor.R
\name{tt}
\alias{tt}
\title{Convert a vector, matrix, or array to a tidytensor type.}
\usage{
tt(x, ...)
}
\arguments{
\item{x}{input to convert to a tidytensor.}
\item{...}{additional arguments to be passed to or from method... |
254fa694c36bdec66a0081877ddb3de25f5908dd | a1a21de1a0f0066c1d2ccc7aa15640ed8bdbd86d | /scripts/italy_mobility_data.R | cd998e93675ec888c69ce6fc50a2620709841bb7 | [
"MIT"
] | permissive | TheEconomist/covid-19-italy-herd-immunity-GD | 7db1e81cbef09f19bd3995e62ca767fa71175312 | a4aacc3057ff15e5eaec060fe55f29cf265ff112 | refs/heads/main | 2023-01-03T02:02:56.647574 | 2020-10-28T19:47:13 | 2020-10-28T19:47:13 | 308,123,994 | 8 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,775 | r | italy_mobility_data.R | ### Italy mobility data:
## Load mobility data (in logic because quite a large file):
if(!exists("mobility")){
library(readr)
mobility <- read_csv("https://www.gstatic.com/covid19/mobility/Global_Mobility_Report.csv")
mobility$country_region[mobility$country_region == "The Bahamas"] <- "Bahamas"
mobility$count... |
45a8721538ce13c6c0e9a56c1b5c72c9390aa81e | 785a0b85d6666e3ec45e76bbc79075473f29467c | /man/kdisteuclid.Rd | 6847445705b62c02657b335821d882fe75ee34d0 | [] | no_license | ashkanfa/ade4 | 0a30a0efff3007cbf2e2a33ba704cc1335231d92 | 53a16c2bb281c6f367a03cf4ac472c9ada030c62 | refs/heads/master | 2021-01-01T07:36:49.682809 | 2020-02-03T12:13:31 | 2020-02-03T12:13:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,125 | rd | kdisteuclid.Rd | \name{kdisteuclid}
\alias{kdisteuclid}
\title{a way to obtain Euclidean distance matrices}
\description{
a way to obtain Euclidean distance matrices
}
\usage{
kdisteuclid(obj, method = c("lingoes", "cailliez", "quasi"))
}
\arguments{
\item{obj}{an object of class \code{kdist}}
\item{method}{a method to convert a di... |
59a2bb5646c5c2e02c3a33e9d3a7351d1c65bb3c | bf378a66012b6470250c2c9b1e8aa9fd33c67da9 | /R20190805_15.R | faee8a854bdcaa7f015d0d69ec85271b2394f08d | [] | no_license | meenzoon/R-programming | baa30902c9ca232b00f62c988c13e59de97109b8 | 9065fb9f7168b5487dc314a1a82c4456fd981ee2 | refs/heads/master | 2022-01-21T02:11:42.853224 | 2019-08-12T08:51:24 | 2019-08-12T08:51:24 | 198,178,623 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,051 | r | R20190805_15.R | # 15일차 수업 - 20190805(월)
library(dplyr)
library(ggplot2)
library(readxl)
library(xlsx)
welfare <- write.xlsx(welfare, file = "c:/study/data2/welfare.xlsx")
welfare <- read_excel("c:/study/data1/welfare.xlsx", col_names = T)
View(welfare)
##########
### 3-2번째 프로젝트 - 연령대별 월급의 차이 (20대, 30대, 40대, 50대, 60대, 70대)
# < 1단계 ... |
79d56ae46d2547ad584f4c023152eaaf9bc49ff6 | 2e40356ee4211f06d867cb38a3e5adce0b971943 | /pedaco de codigo sobre webdriver e phantom.R | 34773cdf0f1ad25cfe2329fb080689f3a5d030f4 | [] | no_license | DATAUNIRIO/SER_III_WebScraping | 02bac8494d9c038d68f5b8065bca9a1bb821d4fb | 86f1b97049ed083e48d2d5bb5e8a6da00526ee6a | refs/heads/master | 2021-06-11T11:33:51.695437 | 2021-03-10T17:51:18 | 2021-03-10T17:51:18 | 134,454,007 | 0 | 0 | null | 2018-05-22T17:50:57 | 2018-05-22T17:50:57 | null | UTF-8 | R | false | false | 676 | r | pedaco de codigo sobre webdriver e phantom.R | #install.packages("webdriver")
library(webdriver)
#?webdriver::install_phantomjs
#install_phantomjs(version = "2.1.1",baseURL = "https://github.com/wch/webshot/releases/download/v0.3.1/")
pjs <- run_phantomjs()
pjs
ses <- Session$new(port = pjs$port)
ses
ses$go("http://www.unirio.br/")
ses$getUrl()
ses$getTitle()
s... |
36e2ca1065067c0a79549b010f04713ea4e322d0 | 7afbb148ec11b3105aaead6bdd900f847e49eb18 | /man/step_impute_mean.Rd | ddf5a866f3d805ccd6149ae65e234e9f63b78330 | [
"MIT"
] | permissive | tidymodels/recipes | 88135cc131b4ff538a670d956cf6622fa8440639 | eb12d1818397ad8780fdfd13ea14d0839fbb44bd | refs/heads/main | 2023-08-15T18:12:46.038289 | 2023-08-11T12:32:05 | 2023-08-11T12:32:05 | 76,614,863 | 383 | 123 | NOASSERTION | 2023-08-26T13:43:51 | 2016-12-16T02:40:24 | R | UTF-8 | R | false | true | 4,246 | rd | step_impute_mean.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/impute_mean.R
\name{step_impute_mean}
\alias{step_impute_mean}
\alias{step_meanimpute}
\title{Impute numeric data using the mean}
\usage{
step_impute_mean(
recipe,
...,
role = NA,
trained = FALSE,
means = NULL,
trim = 0,
skip = ... |
6734b9c7deb2ddffd47c0a49d0f41719ed6e2385 | e6883422461e927a8ec20a096667ee6136c383e0 | /src/Tools/SLiMRunGen/build/slim_job.R | 02c51ddf10c87f3e7cd1fb90cd8f67e3f5dd5ad4 | [
"CC0-1.0"
] | permissive | sknief/PolygenicSLiMBook | 02c5be9007fde8cafd67520f07917240df28d89a | be60cda5e0ac11fe6749a62b9fd67ed92039485e | refs/heads/main | 2023-06-26T04:23:59.536363 | 2021-07-26T13:49:10 | 2021-07-26T13:49:10 | 389,590,139 | 0 | 0 | CC0-1.0 | 2021-07-26T10:11:44 | 2021-07-26T10:11:43 | null | UTF-8 | R | false | false | 601 | r | slim_job.R | # Code generated by SLiM Runner: https://github.com/nobrien97/PolygenicSLiMBook/tree/main/src/Tools/SLiMRunGen
USER <- Sys.getenv('USER')
library(foreach)
library(doParallel)
library(future)
cl <- makeCluster(future::availableCores())
registerDoParallel(cl)
seeds <- read.csv("seeds.csv", header = T)
combos <- read.c... |
8ab6e04b9aec12d303d2246687af6b7623ca1fc5 | ae6c3f262f9577aa3fc0cf1f0e926dc51bd26232 | /ui.R | 24bd530fd80d1acd3bae6141b71660d9d8ce81d0 | [] | no_license | ksidagam/DevelopingDataProducts_ShinyProject | 5f23237a553fc426268c99093f7d5cb5abd2fc89 | f0bea7b9dec8a32cdd3767acad22106c49fd9d53 | refs/heads/master | 2016-09-05T14:10:09.439909 | 2015-07-26T13:09:27 | 2015-07-26T13:09:27 | 39,725,721 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,335 | r | ui.R | shinyUI(pageWithSidebar(
headerPanel("Equipment Performance Calculation"),
sidebarPanel(
textInput(inputId="text1", label = "Actual Throughput"),
textInput(inputId="text2", label = "Optimum Throughput"),
p('Actual Throughput'), textOutput('text1'),
p('Optimum Throughput'), textOutput('text2'),
... |
32c3e382aa1d8e312f26b536eb9d42cf6f0e0f59 | 8b5a54ceb71941ac62d5fbf3cc0fdb409e68640d | /plot 1.R | 250b16350d708f218408c67ffba6b90dc2ca51fb | [] | no_license | wx5157/ExData_Plotting1 | b5789972a56bc713ab1646b73698fa5879fc1736 | 7c558feb7055a73851856b346c75965a15f52a7b | refs/heads/master | 2021-01-10T22:54:31.054624 | 2016-09-25T02:38:54 | 2016-09-25T02:38:54 | 69,136,264 | 0 | 0 | null | 2016-09-25T01:02:10 | 2016-09-25T01:02:10 | null | UTF-8 | R | false | false | 844 | r | plot 1.R | setwd("C:\\Users\\wx5157\\Desktop\\Data Science Training\\Coursera\\Course 4 EDA")
## Read in the Data Only for the time period of interest##
data=read.table("household_power_consumption.txt", header=F, sep=";", stringsAsFactors = F, skip=66637, nrows=2880)
head(data)
str(data)
names=read.table("household_powe... |
67540da30970f52e0dd6e920d71e0d7fa17ffbc3 | adff17e0331625bb92dd2447070e4bc3a2ea8b3d | /cachematrix.R | 1cd0b2142ec878dbacfcdd503796d04c4e45d5bf | [] | no_license | maurizioTEST/ProgrammingAssignment2 | d251ee9ba74a80ff2184a0f25ba5117728ca6a60 | 946f2aedbc40989fa50619224bcc05a748448ef2 | refs/heads/master | 2021-01-16T22:12:29.610300 | 2014-07-19T07:51:26 | 2014-07-19T07:51:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,029 | r | cachematrix.R |
#In the following we define two functions dealing with matrices.
#The scope is to avoid multiple computations of the inverse of a
#given invertible matrix
#The function makeCacheMatrix set a possible empty matrix X in the function
#environment and return a list of 4 functions to set and get the matrix and its ... |
0f7619ecc174efae5d87047e8d87557062e23790 | 5932d92b0dc72bbdc201ec074d401cd4803c177f | /Stock prediction.R | 0b684f86761f0dead34e438179d731cef64ffacc | [] | no_license | sidchakravarty79/Stock-movement | 9fff6540ff59da670d6cc3b9a3c3b6553cf12b3f | 06d8d0729c9c42cac40962c8a2ed53d0b0e56879 | refs/heads/master | 2020-04-06T04:11:48.730996 | 2018-10-18T19:51:52 | 2018-10-18T19:51:52 | 83,007,646 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,218 | r | Stock prediction.R | library("ggplot2")
library("gridExtra")
library("dplyr")
library("e1071")
library("FBN")
library("caret")
library("fpc")
library("mvoutlier")
library("som")
library("DMwR")
library("dtt")
library("plotly")
################################################
# The code above will load any missing packages required
# Delet... |
d63e9b1975cfbe061a4cb3d97824b5080663871a | 853ae909d834e08db2fb744222638effcecb8bca | /Solution Linear Regression (1).R | f385b7ceffab5e696c62e376144bed2ddaadae1b | [] | no_license | sanchita21/Linear-Regression-with-R-Assignment | a32f23193ed1e132fc8787885736ce8b5fc4f81b | 01cabad2c7dbdf5bd8c6ec1bd7b33bf711252d3b | refs/heads/master | 2021-01-02T17:52:02.321357 | 2020-02-11T10:16:50 | 2020-02-11T10:16:50 | 239,731,513 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,836 | r | Solution Linear Regression (1).R |
#Boston Pricing case study
setwd("D:\\")
##Loading Data
prices<-read.csv("boston_prices.csv",header=TRUE,stringsAsFactors=FALSE)
##Checking Data Characteristics
dim(prices)
str(prices)
head(prices)
names(prices)
#summary statistics
summary(prices)
#Missing values treatment
colSums(is.na(prices)) #MEDV has a lot o... |
6b125700f1e78819f6bceaa9ee41a8c8524341fb | aec6400c6573bf8f25c23719103daba0bf83a17b | /scripts/Sources.R | b00fcddeeeb9bd748342195de9502342dea91d02 | [] | no_license | alexsb1/timeline | c60d5054eca67d5339d8cbbd7e9b1a7f53ef30be | a4f0a01c525ab2c5145bd7d9d64d2423f900a107 | refs/heads/master | 2021-11-30T00:20:58.488688 | 2021-11-25T13:32:18 | 2021-11-25T13:32:18 | 232,618,413 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,621 | r | Sources.R | # Alex Searle-Barnes
#
# https://github.com/alexsb1/timeline
#
# This file aggregates a list of sources used in this Timeline project
#
library(tidyverse)
# Load Individual plots to import the dataframes used.
# ATTENTION - take care to avoid this overwriting newer dataframes with the same name.
source("scripts/Indiv... |
50b24f3da623db4bdd815b5697e4302bf55ad0de | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MXM/examples/big.fbed.reg.Rd.R | 4044483ccc71cfbebd213f44e2fb42b376444ecd | [] | 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 | 629 | r | big.fbed.reg.Rd.R | library(MXM)
### Name: Forward Backward Early Dropping selection regression for big data
### Title: Forward Backward Early Dropping selection regression for big
### data
### Aliases: big.fbed.reg
### ** Examples
## Not run:
##D #simulate a dataset with continuous data
##D x <- matrix( runif(10^6 * 50, 1, 100), n... |
0f7076adb4f548b5a4e60dd289675dc319832b63 | 03938cbf362b1fe9b2e398f501d214d6b2fbfec2 | /dimensionality_reduction.R | faae07b15f56605875a48a472a2a27f79a385f39 | [] | no_license | amr15/examples | 616a2628f20592bc3bb7297c3243714b9f33d409 | 85a5b459e169793de14d79e07ed07959448f7f4a | refs/heads/master | 2020-05-18T15:34:05.395490 | 2019-03-25T18:51:20 | 2019-03-25T18:51:20 | 184,502,189 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,139 | r | dimensionality_reduction.R | install.packages('stylo')
library('stylo')
library(sparsesvd)
library(Rtsne)
#' Performs sparse single value decomposition on the scaled UMI values (dimensions of genes x cells))
#' Default rank of matrix is set to 20
#' Coordinates from running TSNE on the 'v' matrix are saved back into the original Seurat object
#'... |
ccd36b8d5d711a7b63bf81a5c542aa59a0c9cf66 | 70c312bc06e3d9eab59eb26cca2118838aefcdda | /01-SODA-download.R | 3ffdd1b85648b4f84e55babb7193432ea98f7d46 | [] | no_license | roliveros-ramos/envData | 4d1ec9f85265558c108e1f654e2728025fdf0fed | 796a09205b2bafb33d83bffb6323bb388d1fde81 | refs/heads/master | 2022-05-16T16:43:03.709174 | 2022-05-02T16:57:28 | 2022-05-02T16:57:28 | 96,636,850 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 730 | r | 01-SODA-download.R | library(kali)
library(ncdf4)
library(osmose.fishmip)
source("auxiliar_functions.R")
years = 1980:2015
rawDir = "raw/soda"
outputDir = "input/soda"
for(year in years) {
# add try to all functions!
DateStamp("Processing year", year)
file = download_soda(year=year, output=rawDir)
process_soda(file, output=outp... |
5dadb238c85029d0611b26a66d14dac1772c4d22 | a5bd747b4d1ac2800d355b61adee8765d1cc663f | /R/combineParameters.R | 285b9942bd4e0d00ad6a5058303f4bb760c07cef | [] | no_license | bonata/HMSC | d97cdf0a597565cbe9cf08ed7fe93c35f620a320 | 567f2f7cd118f6c405a833e56b9b5f64a9e2abf2 | refs/heads/master | 2020-04-03T13:56:05.314479 | 2018-09-30T16:17:52 | 2018-09-30T16:17:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,102 | r | combineParameters.R | combineParameters = function(Beta,Gamma,iV,rho,iSigma,Eta,Lambda,Alpha,Psi,Delta, rhopw){
for(p in 1:self$nt){
m = self$TrScalePar[1,p]
s = self$TrScalePar[2,p]
if(m!=0 || s!=1){
Gamma[,p] = Gamma[,p]/s
if(!is.null(self$TrInterceptInd)){
Gamma[,self$TrInterceptInd] = ... |
c5aa520dc557bfd4e584357e6f73e2ff12b8dcb8 | f64c5492492cf58093ff3d72ecf75a4de143114f | /rprojects-master/train data partition.R | 0750c1ed773304dbbbe7b2a34b5822c7f21fb064 | [] | no_license | gauravmadarkal/R-Projects | 1e1beb45eee43aa09267a8e22fff91ce3958500b | 3e3e39e309a9b5fe5685da148242736fa4e8f2c7 | refs/heads/master | 2021-02-10T12:22:59.496974 | 2020-03-02T14:02:59 | 2020-03-02T14:02:59 | 244,381,544 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,420 | r | train data partition.R | library(caret)
reviews_data=read.csv("googleplaystore_user_reviews.csv",stringsAsFactors = FALSE)
length(which(!complete.cases(reviews_data)))
refined_reviews_data=na.omit(reviews_data)
#refined_reviews_data = refined_reviews_data[1:10000,]
set.seed(4)
indexes = createDataPartition(refined_reviews_data$Sentiment,tim... |
7ea93106cb8d5e8e0a25685c791ac3965c9bdd61 | 54261dc38541f8c291261318f2bd1a0d5e06b16f | /R/trecase.sex.A.R | d79690807f1bb9d831030208135442a889f79bdd | [] | no_license | cran/rxSeq | 150592bf7a71d841c959367487e00a50d062266d | d46a886029c778bbdb902e778fddf2bee7eb35c2 | refs/heads/master | 2020-06-15T09:00:52.824343 | 2016-12-01T11:45:14 | 2016-12-01T11:45:14 | 75,307,291 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,833 | r | trecase.sex.A.R | `trecase.sex.A` =
function(yi, ind.lst, X, sex, ni, ni0, xs, start, iphi=1, theta=1, maxiter=100, eps=1E-3, tech.ctrl){
triali = 0
par0 = start
repeat{
triali = triali + 1
tag = tryCatch({
iphi_i = iphi
theta_i = theta
log.lik0 = ll.jRCI.sex.A(par0, yi=yi, ind.lst=ind.lst, X=X,... |
1a319f099f7847b8341e460a3b62f32b372eaaa2 | 6c11f430941d2a0c7cc6a33d843ffa6a95e67068 | /man/grattan_yellow.Rd | 8cbf903b82931a0beb360d48f5c7e59d642751a5 | [] | no_license | jonathananolan/grattantheme | 183bc038cb55e6b3434159315e64f8e521775fdf | 7184bf045f95c0d536642c973b834da8c7a4ac51 | refs/heads/master | 2020-04-25T07:55:09.692320 | 2019-02-26T00:03:58 | 2019-02-26T00:03:58 | 172,628,526 | 1 | 0 | null | 2019-02-26T03:10:27 | 2019-02-26T03:10:26 | null | UTF-8 | R | false | true | 347 | rd | grattan_yellow.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/colours.R
\docType{data}
\name{grattan_yellow}
\alias{grattan_yellow}
\title{Hex code for the colour: Grattan yellow (butternut pumpkin soup)}
\format{An object of class \code{character} of length 1.}
\usage{
grattan_yellow
}
\description{
#F... |
7354c8ed7c3971eb51a4b092e25d499080af45c7 | 7dae170955465766bf4bb3e1c0f23868c12043b4 | /Behaviour/RuralUrban-Tests.R | 640292dcab76d552fab860a1ee327646c634f504 | [] | no_license | JJFosterLab/light-pollution | 1d938a4ec59ee40222e8c9b4848ae46e7917af66 | 2dadc3ab3034251e190b04fd9b3cce4cc618669a | refs/heads/master | 2023-06-20T04:32:00.963969 | 2021-07-23T09:35:48 | 2021-07-23T09:35:48 | 337,023,000 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,367 | r | RuralUrban-Tests.R | rm(list = ls())
graphics.off()
#################################################################
# Useful Functions #
#################################################################
source(paste0(Sys.getenv('HOME'),'/Dropbox/My Papers/Light Pollution/LP_PlotFunctions', '.R'))
##############################... |
4ccc9400feb82a31b2c160e34b2ba0c8653779b7 | f7e8523b0b6bfaf2fe3c0cec6c07337da847d7e3 | /man/get_p_value.Rd | 37d13414f6da69db6c389af6815210dbbc32d1e2 | [] | no_license | kennethban/infer | e48019b7e20523ddfd5b8843cb4eabaa5f3fbd43 | 0f1cde327e3f2b36ec3235ed46a2c15cda3ebf16 | refs/heads/master | 2023-04-27T15:05:31.868492 | 2023-04-16T14:07:37 | 2023-04-16T14:07:37 | 233,613,346 | 0 | 0 | null | 2020-01-13T14:22:55 | 2020-01-13T14:22:55 | null | UTF-8 | R | false | true | 1,822 | rd | get_p_value.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_p_value.R
\name{get_p_value}
\alias{get_p_value}
\alias{get_pvalue}
\title{Compute p-value}
\usage{
get_p_value(x, obs_stat, direction)
get_pvalue(x, obs_stat, direction)
}
\arguments{
\item{x}{Data frame of calculated statistics as retu... |
455aa12ac5c9c7bf647b0978d1488081b5474975 | 12c2739ecf1a424fc959dbca3f7b9f5f1794e512 | /bathtub/rglAnimation.R | 728224a3085098721a85f99828f681c82600a61c | [] | no_license | majazaloznik/DataViz-Oxford-2015 | c0bff5826c3f5edc29785a7bca6978f44119666c | 8a50c0aa32a6ab8ab12d3f59a9375f1721a13e87 | refs/heads/master | 2021-01-01T06:34:03.940178 | 2015-03-12T19:36:44 | 2015-03-12T19:36:44 | 32,096,538 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,586 | r | rglAnimation.R | ##################################
## test of creating movies with rgl rotations!
## see resulting pdf in pics/animation.pdf
## (.tex file is there as well)
##################################
library(rgl)
library(reshape2)
library(latticeExtra)
# read data
rates_14_all <- read.csv("data/rates_14_all.csv")
# inputs
g... |
0648a87bc8c0f8048bab9cd146e621b5de3a0085 | 2a40dee36671ca3eafda8105d376ff954df0a237 | /trainee forum outline.R | 8f2abcf229a6f85382d53e6a6b29ac9ed3ad0943 | [] | no_license | dr-romster/Rtutorial | cbcc0ad4b0721cf3a444c4ad2a938bfb18d9af01 | be78a35c270a4a4366c418385389b57d0b024c01 | refs/heads/master | 2022-07-28T14:38:38.941637 | 2022-07-14T08:55:03 | 2022-07-14T08:55:03 | 158,443,477 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,988 | r | trainee forum outline.R | # What is data science?
# Measurement / Data collation / curation / cleaning / sharing
# Statistics / inference / prediction (ML/AI)
# Visualisation / Dissemination
# Can be applied to all natural and life sciences
#
# The old model:
# Research
# Generate a hypothesis
# Devise a (cont... |
2f7f39c431589614b03edb293bde112f2d04bc25 | 9589b7aa8da3aba429323054df235285e4bdccac | /R/SQL_Interface.R | 829f359a296a604a2b8abab3891fe2dc5467fe64 | [] | no_license | Planeshifter/newscrapeR | f9b85d78bc6d3f1455b878229e42fbd08242fcc2 | ac580bda187af423c55477fb04d8203c76aaa860 | refs/heads/master | 2020-04-05T23:40:24.732554 | 2013-07-01T13:07:44 | 2013-07-01T13:07:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,644 | r | SQL_Interface.R | fetch_SQL = function(db_name, keywords = character(), sources = vector(),
from = NULL, to = NULL)
{
require(RSQLite)
if (!is.null(from)) from <- as.numeric(as.POSIXlt(from))
if (!is.null(to)) to <- as.numeric(as.POSIXlt(to)) + 1000*60*60*3
driver <- dbDriver("SQLite")
con <... |
a7e68b155f92581de8148de366b99f6bb9b88fd7 | 205a269537cc4bfbc526da048db8d185e1e678c9 | /man/geom_density_interactive.Rd | 85112406d60d58d05f4d2f513b43e26617220662 | [] | no_license | davidgohel/ggiraph | bca2fc5c61ef7cbeecc0a0d067f7479822117ab0 | b3ce2998b57d8c8b63055499925fd9fe99f4d1a7 | refs/heads/master | 2023-09-03T00:06:10.817100 | 2023-08-30T14:35:40 | 2023-08-30T14:35:40 | 40,061,589 | 735 | 86 | null | 2023-09-03T09:50:54 | 2015-08-01T22:17:06 | R | UTF-8 | R | false | true | 1,981 | rd | geom_density_interactive.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geom_density_interactive.R
\name{geom_density_interactive}
\alias{geom_density_interactive}
\title{Create interactive smoothed density estimates}
\usage{
geom_density_interactive(...)
}
\arguments{
\item{...}{arguments passed to base function... |
0bf402d100aee3df1dec45e87f964ba24a4ba331 | a01cefedd32f761da75056e6fd9bad74654cde27 | /exp-cnv-match.R | 961b215a45a2b34cc928a1e3c5c35c01f1cc6143 | [] | no_license | ddiannae/cnv-correction | 8b9862f755c4fb5f056655281e57c61920fd512f | 3bef355670277412ad8cbed0ea15c53da7f93335 | refs/heads/master | 2020-04-11T09:09:51.986831 | 2018-12-13T20:51:31 | 2018-12-13T20:51:31 | 161,668,270 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 923 | r | exp-cnv-match.R | setwd("/mnt/ddisk/transpipeline-data/breast-data-cnvs")
cnvs <- read.table("cnv-matrix.tsv", header = T, check.names = F, row.names = 1)
exp <- read.table("exp-matrix.tsv", header = T, check.names = F, row.names = 1)
cases.intersect <- intersect(colnames(cnvs), colnames(exp))
genes.intersect <- intersect(rownames(cn... |
4260646748add17abb36cece03a233d7140e1f5b | f2d2cc9a2514d98a205e47393f50a808876bda3e | /2019-11-14/task1.R | 5755ce027c957081568de02c8808a27465966e0a | [] | no_license | georgistoilov8/R-language | 0566a25d89f9b3d4a0cba626e6063c15845ad9e2 | 349475c2183fcfeb0882b09d716061c78640ce20 | refs/heads/master | 2020-08-27T03:35:44.973663 | 2020-01-16T12:31:54 | 2020-01-16T12:31:54 | 217,233,475 | 17 | 1 | null | null | null | null | UTF-8 | R | false | false | 580 | r | task1.R | // Колкото по-голям е коефициента на свобода(df), толкова по-вероятно е данните да са нормално разпределени!
x = rt(100, df = 1)
qqnorm(x)
qqline(x)
shapiro.test(x)
Shapiro-Wilk normality test
data: x
W = 0.27683, p-value < 2.2e-16
y = rt(100, df = 10)
qqnorm(y)
qqline(y)
shapiro.test(y)
Shapiro-Wilk normality... |
d157c8ff3d9e9498037a14e3a981eccbaf4fbc29 | 2423cde21514581a9fdcb97b4d94d0f2641d1ba4 | /R/WrangleDataframes.R | c9a628b298f418c4baf7df160feb1b7bddd678ad | [] | no_license | jakeyeung/JFuncs | 0d06af9181b98b94096d906c2d998fa9a9b6b2b3 | 9c783f5576990315bf3f844e2994950bd30580f1 | refs/heads/master | 2022-10-29T21:35:25.286060 | 2022-10-22T08:23:37 | 2022-10-22T08:23:37 | 164,300,954 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 603 | r | WrangleDataframes.R | # Jake Yeung
# Date of Creation: 2020-11-05
# File: ~/projects/JFuncs/R/WrangleDataframes.R
#
cbind.fill.lst <- function(mats.lst, all.rnames, fill = 0){
mats.lst.filled <- lapply(mats.lst, function(mat.tmp){
missing.rnames <- all.rnames[!all.rnames %in% rownames(mat.tmp)]
mat.tmp.to.fill <- matrix(data = f... |
6a2cf2d727b607a70cf229c79d0204c7c8dea09f | 930fe20f4c7d322b717c91e1a6eb3aa6fa6b4236 | /man/get_templates.Rd | e326bdc627eae94d106a9aa919f423328cdfe83c | [] | no_license | NanaAkwasiAbayieBoateng/meme | d5cf1b0cd4bff579d340578b6451078f4932a5c0 | 47233dc80d0f27a41b755eea134febcd09a97955 | refs/heads/master | 2021-05-31T15:38:38.807287 | 2015-04-25T20:34:57 | 2015-04-25T20:34:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,914 | rd | get_templates.Rd | \name{get_templates}
\alias{get_templates}
\alias{plot.meme_template}
\title{Get meme templates}
\description{Get a list of meme templates}
\usage{
get_templates(site = "memecaptain", type = NULL, query = NULL, ...)
}
\arguments{
\item{site}{The site used to generate the meme. This is set by default if \code{template... |
cf5efdf02f24d7d919589e2115c43b44696ed37e | e74b3fe11ff2a4448e898a06ae24cc6fe7e0c784 | /README.rd | 051412d66cf924e26635fbb8ab17d5fc0f0e682d | [] | no_license | Angiefl/Portfolio-1 | b9444a27fa3d4229aa5535a75a7fe2e0ab863b26 | f8a0344d9b5096dc6f41e62829b90432439f5e48 | refs/heads/master | 2021-01-25T08:29:34.565215 | 2015-06-24T21:47:04 | 2015-06-24T21:47:04 | 38,011,408 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 37 | rd | README.rd | substring and Caesar Cipher programs
|
aa594c2160727050254f19b78582b702998ef76b | 89b7b46088f31ebff265cd6549f42d886ea1ec81 | /app/c/R_code_official/KS.R | 4d7745347a60e7fd9d479d5ab5a2e468c3e24816 | [
"MIT"
] | permissive | dblyon/agotool | 5124ee3c64f2bb3b47fcacc715d22c231ed8016e | b4eb705a00b710c596fcd723b24b7596d5eca751 | refs/heads/master | 2023-08-28T12:28:19.546847 | 2023-08-06T09:36:53 | 2023-08-06T09:36:53 | 38,004,274 | 8 | 1 | MIT | 2023-05-01T20:18:46 | 2015-06-24T18:45:23 | HTML | UTF-8 | R | false | false | 3,982 | r | KS.R | > ks.test
function (x, y, ..., alternative = c("two.sided", "less", "greater"),
exact = NULL)
{
alternative <- match.arg(alternative)
DNAME <- deparse(substitute(x))
x <- x[!is.na(x)]
n <- length(x)
if (n < 1L)
stop("not enough 'x' data")
PVAL <- NULL
if (is.numeric(y)) {
... |
64d7c5b13b119db5cf804aefbe26b981e07679a3 | c8e9e754e3a751ea785aaaf6a929d02fa106dbcc | /tests/testthat/test-fcut.R | 2aa6b75401c25be1d748e1f25db7c0e0f0555659 | [] | no_license | beerda/lfl | 3a6849da19165990bcac9c57cf136b62d8ccc951 | 9b8028447ab53e0f91553cd827f7a15783593c6b | refs/heads/master | 2023-02-24T10:09:01.496322 | 2023-02-15T06:57:08 | 2023-02-15T06:57:08 | 99,807,073 | 5 | 1 | null | 2020-02-26T07:49:58 | 2017-08-09T12:42:17 | R | UTF-8 | R | false | false | 11,015 | r | test-fcut.R | test_that('fcut for factor', {
x <- factor(c('a', 'b', 'a', 'c', 'c', 'b', 'c'))
res <- fcut(x)
expect_true(is.matrix(res))
expect_equal(ncol(res), 3)
expect_equal(nrow(res), 7)
expect_equal(colnames(res), c('x=a', 'x=b', 'x=c'))
expect_true(inherits(res, 'fsets'))
expect_equivalent(var... |
2148aac0c9d7390340805eb0fb7859a93ee846aa | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/radmixture/examples/tfrdpub.Rd.R | 93a051321112c44a3e5532aad17c3b854f32d84e | [] | 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 | 513 | r | tfrdpub.Rd.R | library(radmixture)
### Name: tfrdpub
### Title: Transfer personal genotype raw data according public dataset
### Aliases: tfrdpub
### ** Examples
## download.file(url = 'https://github.com/wegene-llc/radmixture/
## raw/master/data/globe4.alleles.RData', destfile = 'K4.RData')
## download.file(url = 'https://github... |
c08a9fa1f660ad38dbebc5bf2cc74633eda85697 | 27b0ef3882f6449f34c9e48e5bee46b09166b6ba | /man/read_data_csv.Rd | 9ca9ebd7500d2c42ea2149be3ad15bec0e3d78d8 | [
"Apache-2.0"
] | permissive | thuzarwin/imputeData | e77c40492b51c377082d9b4959889d60205978af | bf69a04aaa219e1da941ce45691983e3be9111c0 | refs/heads/master | 2021-06-22T10:35:50.563010 | 2017-07-21T15:45:28 | 2017-07-21T15:45:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 565 | rd | read_data_csv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_preprocessing.R
\name{read_data_csv}
\alias{read_data_csv}
\title{Read csv to data.table}
\usage{
read_data_csv(file, sep = ",", header = F, select = c(1, 2, 3, 4),
vars = c("b", "g"))
}
\arguments{
\item{file}{filename to read from}
... |
d26119cd40336d95193c0a3f65b3afde8af06291 | 92f102f304493eb2b2e3de5f4c1e2e6dac864ffc | /man/cPlot.Rd | f2d713484c13ce603641139247d389091a18abf1 | [] | no_license | cran/RcmdrPlugin.TextMining | 554cdd00f22734a778b16196667ae3b53ffa38dc | c6d8ac3d5c437e8cb18e950591925f9cb50ebde2 | refs/heads/master | 2021-03-12T20:26:57.094202 | 2010-01-01T00:00:00 | 2010-01-01T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 562 | rd | cPlot.Rd | \name{cPlot}
\alias{cPlot}
\title{
Dialog for function plot() from package (tm)
}
\description{
This function provide interface to function \code{\link[tm]{plot}} from \pkg{tm} package
}
\usage{
cPlot()
}
\details{
Visualize correlations between terms of a term-document matrix.\cr
You can also acces th... |
d2cc1e7d4c8cf5284d8fc079a5d90195f2bebd97 | 4a2bff98ad5d6ad7ce3be718aba4137ee294a7e6 | /DiasUteisPreco.R | 0b01c015c131f6f0f07f7fcd9f0726640f7a6aa3 | [] | no_license | pmeno/TG_2 | 33162ea92d968e5561091c072c7df3567435fec5 | b476d9b164915cfb156e863077604528f7a9a41d | refs/heads/main | 2023-06-11T21:04:22.298308 | 2021-07-09T22:07:28 | 2021-07-09T22:07:28 | 356,704,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 207 | r | DiasUteisPreco.R | DiasUteisPreco <- function(anos)
{
diasUteis <- data.table(ano = anos)
diasUteis[, dataPreco := offset(as.Date(paste0(anos,'-01-01')), 110, 'Brazil/ANBIMA')]
du <- diasUteis[, dataPreco]
du
} |
21944ccd28abb5ab6a1db1d538bd3bf6a2d56f90 | 29585dff702209dd446c0ab52ceea046c58e384e | /EGRET/R/plotFour.R | ae22caa8d033adde7b25150eb63ce34695384795 | [] | 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 | 4,407 | r | plotFour.R | #' Makes four graphs of streamflow statistics on a single page
#'
#' @description
#' Part of the flowHistory system. The four statistics are 1-day maximum, annual mean, annual 7-day minimum, and the running standard deviation of the log daily discharge values.
#'
#' Although there are a lot of optional argume... |
25952b3ced7992a05958e1e3d89f818653e381e2 | 5daf36d44ea5e702a34a346be2fee101e5d72e10 | /man/SkeletonCohortCharacterization.Rd | 4f19d10963866e2a677f174f66cbcf282da61a10 | [
"Apache-2.0"
] | permissive | OHDSI/SkeletonCohortCharacterization | 786e6ca442a862b419868fe78e46a0dda636cb13 | 7d44dbcea272fa63c9108c98cbd7e1f906fc1798 | refs/heads/master | 2023-05-11T12:52:25.973489 | 2022-02-15T15:40:57 | 2022-02-15T15:41:21 | 176,298,556 | 2 | 4 | Apache-2.0 | 2023-05-02T04:43:06 | 2019-03-18T14:02:34 | Java | UTF-8 | R | false | true | 653 | rd | SkeletonCohortCharacterization.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Main.R
\docType{package}
\name{SkeletonCohortCharacterization}
\alias{SkeletonCohortCharacterization}
\alias{SkeletonCohortCharacterization-package}
\title{This package is the skeleton to build own packages with Cohort Characterization analys... |
98bffcfa9f8384dc0feda54db6be83e79a1c8961 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/eseis/examples/plot_spectrum.Rd.R | cdca781ad8900f6abced825d65f0aa08118db8aa | [] | 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 | 361 | r | plot_spectrum.Rd.R | library(eseis)
### Name: plot_spectrum
### Title: Plot a spectrum of a seismic signal
### Aliases: plot_spectrum
### Keywords: eseis
### ** Examples
## load example data set
data(rockfall)
## calculate spectrum
spectrum_rockfall <- signal_spectrum(data = rockfall_eseis)
## plot data set with lower resolution
plo... |
f46e713c1f12e5d8eead222454d3574a23e39422 | ef7738f156befa48a1ef90fa4c05623d75c892df | /tests/testthat/test-extract.R | 04957eb6f90828e270d076a8095a62798177cebd | [] | no_license | leifeld/texreg | 7cb8d1ed1d447f201406bbfabfab715e7872f0d2 | d1d4a8b3e915f310d426c7b1be662867db9847dc | refs/heads/master | 2023-07-13T02:36:08.352409 | 2023-06-26T21:32:10 | 2023-06-26T21:32:10 | 75,412,704 | 112 | 52 | null | 2023-03-17T20:39:06 | 2016-12-02T16:35:10 | R | UTF-8 | R | false | false | 41,293 | r | test-extract.R | context("extract methods")
suppressPackageStartupMessages(library("texreg"))
# Arima (stats) ----
test_that("extract Arima objects from the stats package", {
testthat::skip_on_cran()
set.seed(12345)
m <- arima(USAccDeaths,
order = c(0, 1, 1),
seasonal = list(order = c(0, 1, 1)))
tr <-... |
582644baae7a094d7097cf7765d87d0126634985 | 0c382c012907bde6cf5f91dedaf236831154dfd9 | /R/flow_cytometry.R | d87e91e80184fc300b1c8ea5a24dc7933d9eb31b | [
"MIT"
] | permissive | melaniedavila/orloj | d9f991c0348dc22fd8aa05a3467b63758978a59b | acb78fdea5c5db05d0bbd5d659ccd7ff445e04d6 | refs/heads/master | 2021-04-30T04:34:50.162822 | 2018-02-10T01:11:06 | 2018-02-10T01:11:06 | 121,536,124 | 0 | 0 | null | 2018-02-14T16:54:43 | 2018-02-14T16:54:43 | null | UTF-8 | R | false | false | 404 | r | flow_cytometry.R | # flow_cytometry.R
# Pre-processing flow cytometry data.
#' Preprocess flow cytometry sample.
#'
#' Quality control, cleaning, and transformation for flow cytometry sample.
#'
#' @inheritParams preprocess
#' @return Sample after the above steps are done.
flowPreprocess <- function(sample) {
if (!isSample(sample)) st... |
2e1eecab751d2b4e2a5748f980e925f7b5dffac0 | 46d2a4c95999f3634e15fc607d7b4fcf40075702 | /r_packages/np/doc/np.R | ed0b864064bce3bdf1c85fcd136d07d78af9895b | [] | no_license | gagejane/NYS-fostering | 9751b8980db55bc4c3f3c82524bfad3fd36e6dd4 | e7ca5d7077df9453eb92f30320575e618c939d9f | refs/heads/master | 2021-08-17T10:24:10.342672 | 2020-04-18T18:07:07 | 2020-04-18T18:07:07 | 163,456,670 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,560 | r | np.R | ### R code from vignette source 'np.Rnw'
### Encoding: UTF-8
###################################################
### code chunk number 1: np.Rnw:90-91
###################################################
options(prompt = "R> ", np.messages = FALSE, digits = 3)
###################################################
### c... |
5ed9ad2c9230f2b0761773c975149638e98668c9 | acabe90ad16ea6d151e0fb2b69edd07be012007d | /week5/R/Model_smartphones.R | 02fde94602012faf3b57e9fc0ec26fe59234a201 | [] | no_license | Taros007/ubiqum_projects | 098e24db610e54bb93f0d363f6d01d9c2feed01e | 566500b13e50e4e9fef2230299290fe63d7c1cd5 | refs/heads/master | 2020-04-28T22:05:51.003768 | 2019-07-16T08:14:20 | 2019-07-16T08:14:20 | 175,605,769 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,827 | r | Model_smartphones.R | ## Multiple regression - week 5
## Toine - March 2019
## Load libraries =================================
library(tidyverse)
library(caret)
library(e1071)
library(magrittr)
library(doParallel)
library(corrplot)
library(cowplot)
# Prepare clusters =================================
cl <- makeCluster(3)
registerDoParall... |
330b76e022812821f1694fd89242cf5075885edd | 3e90112284c2043f38b70dc3a84691eee2341fd3 | /AttachPlayDirection.R | fd0e288940fa01e6641b5d70a9c6a7863ccbd115 | [] | no_license | prestonbiro/BigDataBowl2020 | 3743442cc3c835982865a7a3291599ef1151e6b1 | 5162c1407ac439797b02a50ea4fd64997589457a | refs/heads/main | 2023-02-10T19:48:46.426370 | 2021-01-07T21:47:56 | 2021-01-07T21:47:56 | 312,735,734 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 832 | r | AttachPlayDirection.R | #Attach play direction
setwd('F:/BigDataBowl2021')
source('InstantExam.R')
source('SplitPlaysByWeek.R')
load('Plays_Off_Def_Ball_Dist.Rdata')
trimmedPlays$PlayDirection = NA
oldWeek = 0
for(i in 1:nrow(trimmedPlays)){
play = trimmedPlays[i,'playId']; game = trimmedPlays[i,'gameId']
newWeek = find... |
0756306d554f0ed92994ee398610ae9f4de8385d | f7e0f7627e312fdc5ec4ff46191098852676c8f4 | /api.R | beb607a2633a921f31becb68d02ca7bad316731e | [] | no_license | arrismo/NYPDComplaintsDataViz | 7374f8b51004aa90fa4a43c68f120e4c4ee0ecc3 | 6dece499caae8c9da03a0504d54bdda381eb141f | refs/heads/main | 2023-07-13T22:37:53.875057 | 2021-08-25T18:30:11 | 2021-08-25T18:30:11 | 398,148,713 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 259 | r | api.R | library(curl)
library(jsonlite)
library(dplyr)
res <- curl_fetch_memory("https://data.cityofnewyork.us/resource/qgea-i56i.json")
(nypd_data <- jsonlite::prettify(rawToChar(res$content)))
(nypd_data <- jsonlite::fromJSON(nypd_data) %>%
as.data.frame())
|
8e8695af58d03c99f3f14384bfadd21fa9b5db56 | 76beb7e70f9381a5bded37834ba8783e16cc8b9a | /ipmbook-code/c9/old_code/Monocarp Simulate Evol IBM.R | 577221859cbf8b55ec31f8615c5d486665959163 | [] | no_license | aekendig/population-modeling-techniques | 6521b1d5e5d50f5f3c156821ca5d4942be5a1fc9 | 713a5529dcbe7534817f2df139fbadbd659c4a0c | refs/heads/master | 2022-12-29T20:54:51.146095 | 2020-10-07T12:18:23 | 2020-10-07T12:18:23 | 302,026,874 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,519 | r | Monocarp Simulate Evol IBM.R | ## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
## Section 1 - Simulate the IPM
## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# initial population sizes and ages
z <- rnorm(init.pop.size, mean =... |
bc2e6308cdd8a49ef68f586b5018a51aef265e48 | b0c5e471fb4dfdc91b78560d14a1ad5a4fef5a0e | /man/gan.rtorch.Rd | e44b13e53b30e43e284e404b8e8962d01e6d4ecc | [] | no_license | f0nzie/gan.rtorch | f757fa5ae75e36f12e77a317c7d5e57fbd9e961e | 96cce2a82407d9000966f8db0996eca7c43957fd | refs/heads/master | 2020-07-17T02:01:39.091734 | 2019-09-06T00:58:53 | 2019-09-06T00:58:53 | 205,917,871 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 216 | rd | gan.rtorch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\docType{package}
\name{gan.rtorch}
\alias{gan.rtorch}
\alias{gan.rtorch-package}
\title{gan.rtorch}
\description{
gan.rtorch
}
|
608b49b26d99f92d342e044d2cb3207893e468b8 | 18f46dd324a7327c5b5780f1472f37e6ab5ce2ee | /OLD/map testing.R | c0816b70bd204a89a8a2f5ea579c952c94ddf9c6 | [] | no_license | piersyork/trust-and-stringency-analysis | 2202ccc17ccd3ac47b023c56bf833baef504a189 | 0773caa396590c9083245fb7fe87151465a1ff0b | refs/heads/main | 2023-07-28T13:30:03.712487 | 2021-09-04T10:41:20 | 2021-09-04T10:41:20 | 376,332,950 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 772 | r | map testing.R | library(sparklyr)
country <- read_csv("Data/country_data.csv") %>%
select(location, gdp_per_capita)
sc <- spark_connect(master = "local", version = "2.3")
cars <- copy_to(sc, mtcars)
spark_web(sc)
count(cars)
select(cars, hp, mpg) %>%
sample_n(100) %>%
collect() %>%
plot()
maps::map()
help(package = "ma... |
c4f9247acd294b22761b02225eb95ba3ff5898af | 447f4b75b34eacd196f0cd1d2ac29b44a623a864 | /code/MIRAGE_burden_only_variant_level.R | ac820b5ae1494e955aacb4b0a14542fb91d7f771 | [] | no_license | han16/rare-var-project | bc4a44b82cf6ac7d62cafabac99896d79fbdc207 | 4d5d977060d913b40f0cb877abd8d0764b1edecb | refs/heads/master | 2023-07-21T01:51:22.364990 | 2023-07-12T16:32:03 | 2023-07-12T16:32:03 | 86,002,442 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,195 | r | MIRAGE_burden_only_variant_level.R | #############################
rm(list=ls())
library(RSQLite)
library(dplyr)
library(knitr)
set.seed(123)
###################################
intergrand=function(aa, var.case, var.contr, bar.gamma, sig, N1, N0)
{
ff=dbinom(var.case, sum(var.case, var.contr), aa*N1/(aa*N1+N0))*dgamma(aa, bar.gamma*sig, sig)
return(ff... |
feac3374f921d675e406c10dc3373a414ceffd5e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/vegan/examples/tsallis.Rd.R | 8300f7cdf26c997a0bbc36f8f1c55af9da20f1fb | [] | 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 | 518 | r | tsallis.Rd.R | library(vegan)
### Name: tsallis
### Title: Tsallis Diversity and Corresponding Accumulation Curves
### Aliases: tsallis tsallisaccum persp.tsallisaccum
### Keywords: multivariate
### ** Examples
data(BCI)
i <- sample(nrow(BCI), 12)
x1 <- tsallis(BCI[i,])
x1
diversity(BCI[i,],"simpson") == x1[["2"]]
plot(x1)
x2 <- ... |
5218510e4c65146218e968101573b76bea90deab | 55da83ee66e7cebbacb384e4b24df28965f862e0 | /motivating_example.R | 06e375182039322803b6312d24ba8dd6dc72fce6 | [] | no_license | tomiaJO/CEU_TEXT_MINING | b2d340424df9f47b3892bd35e9f72e0ace8aedf5 | 09b99e102ac35893352e50084e76ac3909930dcb | refs/heads/master | 2021-04-30T05:05:37.932093 | 2018-02-25T20:40:12 | 2018-02-25T20:40:12 | 121,408,245 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,437 | r | motivating_example.R | install.packages("tidytext")
library(twitteR)
## copied from: https://gist.github.com/earino/65faaa4388193204e1c93b8eb9773c1c
library(tidyverse)
library(tidytext)
# library(broom)
#authenticate to distant service
setup_twitter_oauth(
consumer_key = Sys.getenv("TWITTER_CONSUMER_KEY"),
consumer_secret = Sys.getenv... |
af89638d44c33c79a73d3207c31d56a8d9d942b9 | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/2-methoxy-4H-1,3,2-b.R | 5a56529edd700b75e6360e833f031bb4d1790996 | [
"MIT"
] | permissive | andrewdefries/andrewdefries.github.io | 026aad7bd35d29d60d9746039dd7a516ad6c215f | d84f2c21f06c40b7ec49512a4fb13b4246f92209 | refs/heads/master | 2016-09-06T01:44:48.290950 | 2015-05-01T17:19:42 | 2015-05-01T17:19:42 | 17,783,203 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 276 | r | 2-methoxy-4H-1,3,2-b.R | library("knitr")
library("rgl")
#knit("2-methoxy-4H-1,3,2-b.Rmd")
#markdownToHTML('2-methoxy-4H-1,3,2-b.md', '2-methoxy-4H-1,3,2-b.html', options=c("use_xhml"))
#system("pandoc -s 2-methoxy-4H-1,3,2-b.html -o 2-methoxy-4H-1,3,2-b.pdf")
knit2html('2-methoxy-4H-1,3,2-b.Rmd')
|
8e77fbc1e5996c73cd3240b17acde7a4f172dd02 | c85d3b3332b3af21d9260f348c9d7558dad41d71 | /plot3.R | 7077cc12a7b63ce3e773365eb0cdd133b89aebfb | [] | no_license | downtownadam/EDA-Course-Project | ea8299f04b43e2310e746554146977e18fae0808 | 9d1e505c30de0f8f5fdcd43809a9cc6a52aa8d35 | refs/heads/master | 2021-01-10T12:19:23.720353 | 2016-03-04T05:20:49 | 2016-03-04T05:20:49 | 53,109,380 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 914 | r | plot3.R | library(ggplot2)
library(dplyr)
options(scipen=5)
sourceRDS<-readRDS(file="C:/Users/mila_/Documents/Coursera/Source_Classification_Code.rds")
summaryRDS<-readRDS(file="C:/Users/mila_/Documents/Coursera/summarySCC_PM25.rds")
summaryRDS$Pollutant<-as.factor(summaryRDS$Pollutant)
summaryRDS$type<-as.factor(sum... |
f3a823b036c372b66e0b15c99e0fa196bdb049da | 23cc9b41b64dbf6b8da86fd8ce348fd108ed3ab1 | /man/plot_cycle.Rd | 5def8eb001d9a27fa75295966dd9b83a5fb54316 | [] | no_license | DavidPitteloud/Reddit_Package | 6a7a637cac1f42aa9649fdfdd6a0f5b71201c37b | 9f34c51354bd6231266cf3c462ef50fcba7a220d | refs/heads/master | 2022-12-01T21:24:42.520584 | 2020-08-11T18:22:17 | 2020-08-11T18:22:17 | 285,858,771 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 291 | rd | plot_cycle.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_cycle.R
\name{plot_cycle}
\alias{plot_cycle}
\title{Plot cycle}
\usage{
plot_cycle(df)
}
\arguments{
\item{enter}{a df}
\item{guess}{user location}
}
\value{
ggplot with results
}
\description{
Plot cycle
}
|
4b3f2d4ffdcda887c7bdaafa8f031883bf4e1dbd | 5244a0e46d0b4d3059336338875efe00b252e07a | /inst/shiny-examples/gradientApp/ui.R | 48b5c49c23828c7005d255295df61bbebdca33ce | [] | no_license | vonthein/illustrator | dbc8a4259946a20924bec49b5863835331fea1f2 | 998e97bce66b40ae88162d996e3ff2ff4e428ccd | refs/heads/master | 2020-06-26T04:55:49.626830 | 2019-10-29T09:49:09 | 2019-10-29T09:49:09 | 97,004,707 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,530 | r | ui.R |
source("init.R")
shinyUI(
fluidPage(
sidebarLayout(
sidebarPanel(
sliderInput("n",
label = "n Symbols per class",
value = 10, min = 1, max = 25),
sliderInput("near",
label = "near each other",
value = 0.5, min ... |
4ef7b670283ae85a9e1c3f1504fecbb428563049 | 820c0a5f34c4e9899db608c6ccbdc3e2e853f2d8 | /man/combine_date_time_cols.Rd | dac80f6a08c32c353f1425d306b850007b4df52a | [
"MIT"
] | permissive | alwinw/epocakir | 887c0fd0b66251c67d922613e1420effff003611 | a1bcd4567fb2d91cde53453dff5991af967c4860 | refs/heads/master | 2023-05-23T06:05:55.385634 | 2023-01-06T12:52:15 | 2023-01-06T12:52:15 | 296,596,576 | 4 | 1 | NOASSERTION | 2022-12-16T10:25:30 | 2020-09-18T11:05:01 | R | UTF-8 | R | false | true | 896 | rd | combine_date_time_cols.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{combine_date_time_cols}
\alias{combine_date_time_cols}
\title{Combine date and time columns into a single DateTime column}
\usage{
combine_date_time_cols(.data, tz = NULL)
}
\arguments{
\item{.data}{(data.frame) A data frame or ... |
88c08f8d0a9e2f9d61dc723bc8a325559a78a4ca | 7f683baba5fe554d7a996ae5416f46b64bb1c6e3 | /ninjaR/generate_data.R | d5edef6d60eac3fb0b0c8f907a24911561962f64 | [] | no_license | ninjacrash/geogo | dec0f50e76d5887e9081e3e64bd889aa9be3f315 | 0d5069fc2ef54e68d84725002fe6bf1f96d7669e | refs/heads/master | 2021-01-17T18:57:22.587517 | 2016-10-23T13:43:25 | 2016-10-23T13:43:25 | 71,632,229 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,158 | r | generate_data.R | generate_data <- function(size, seed = 1, time.start = as.POSIXct('2014-01-01 09:00.00 CDT', tz="America/Chicago"), outlier_prob = seq(0.05, 0.1, by = 0.01)){
# Function generates a data frame of given size
##########################################################
# Hard coded variables, can be used as comman... |
ac4289e297889bc4055ff026a244d017e5656bff | 5d5ea66bc7c9c749e004c99132f430e1bfb7f651 | /shinyApp/Volcano_Shiny/ui.R | 88acf8cfb01e8a4a25d286a9bda15aab50234eba | [] | no_license | bgcasey/RV_connectivity | 014e8eaab6935fdffecbd5ddcc383e9134579613 | c8eab4ca206dfa0ec58fc8b3a01d3daacced3aaa | refs/heads/main | 2023-06-29T00:48:04.426083 | 2021-08-05T20:54:34 | 2021-08-05T20:54:34 | 369,054,994 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,371 | r | ui.R | #------------------------------------------------------------------------
# UI, or "User Interface" Script
# this script designs the layout of everything the user will see in this Shiny App
#------------------------------------------------------------------------
library(shiny)
library(shinydashbo... |
4fb1e621d0286b0eaef31131eb6be087696aee44 | 3def96d7907d3ee7e8bfca496ee4b0a715f38901 | /TP1 - Statistique descriptive, ACP/paris.r | 4324e0e40891fb9a48a69d99633aa088494a211b | [] | no_license | Anaig/SY09 | 3889c5dd65c81fad17e04fb9eff7741e32ec92e4 | 3da310d2e996552e2ee79bccd6660fedacee141d | refs/heads/master | 2020-12-25T16:47:33.960579 | 2016-09-25T21:02:26 | 2016-09-25T21:02:26 | 67,801,829 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,694 | r | paris.r | books <- read.csv("anonymous-betting-data.csv")
source("pretraitements.R")
names(books.sel) #Nom des colonnes
attach(books.sel) #Table par défaut
##################QUESTION 1###########################
summary(books.sel)
nlevels(books.sel$match_book_uid) #nombre de paris
nlevels(books.sel$match_uid) #nombre de matchs
... |
d4059eccf7c11841b4f84c3f0e887d2dd5eb7a08 | c719d9f4b158f92d3ab81af6a1556260b715d793 | /dendl_cgMLSTvsLyveSET-color.R | 2d5331b43b23e5da9c9bb5ab2b091e1b653533f5 | [] | no_license | jchen232/TanglegramCampyPuppy | 6a1a90fe2301c0f401bd742ba7906efbd65ee37f | 60d0eb5eeb6f5dff8570c89a912376a365230c87 | refs/heads/master | 2022-11-17T23:38:13.048738 | 2020-07-17T19:01:55 | 2020-07-17T19:01:55 | 199,073,612 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,085 | r | dendl_cgMLSTvsLyveSET-color.R | #!/usr/bin/env Rscript
# Authors: Beau Bruce and Weidong Gu
# Modified by Lee Katz and Jess Chen
library("phytools")
library("ape")
library("dendextend")
treefile1 <- read.tree(file = "labpaper2018_cgMLST_newprod.dnd")
treefile2 <- read.tree(file = "out.RAxML_bipartitions.dnd")
outbreak <- read.table('cla... |
d4fd40770509096afb2c7c982a10ab9fe677b84c | 1b47e06672d6807db473988aef2f24ea0e4c6734 | /R/pothole_model.R | 38a6e5f97cc0f302a0fe0b7e54d548c51fdb2052 | [] | no_license | StevenMMortimer/pothole | a17e2a4589a369dca0ee2b5b0e73102e03b706c2 | bb4d957fb3c0969e4b4666a909f8dbd5f1788d98 | refs/heads/master | 2021-05-30T20:58:05.632847 | 2016-01-22T05:50:30 | 2016-01-22T05:50:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 335 | r | pothole_model.R | #' @name pothole_model
#' @title Edmonton Pothole Prediction Model
#' @export
#' @description Simple example model that predicts number of potholes filled monthly in Edmonton
#' @docType data
#' @usage pothole_model
#' @format a \code{\link{ets}} object
#' @source https://dev.socrata.com/foundry/#/dashboard.edmonton.ca... |
47729b2c8c3ce8e92f302290930d5c116c3725bb | b5ec2092fabc9668b0369504fe6c711becc67e8b | /variants.R | dbc3a9118bfa8cd68fe48ed3480abf19c0d0a5a7 | [] | no_license | ZhongruiHu/ZBS | 23a9cf90889da9e153288a176bfcf2d8af0f51e0 | 19a7ba8c6b7ead8fb4fef4c99bc62e7067ec0cb0 | refs/heads/master | 2021-01-12T16:51:35.677086 | 2014-03-19T03:51:30 | 2014-03-19T03:51:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,278 | r | variants.R | pdf("ZBS-variants.pdf", width=12, height=8, family="Times")
par(xpd=NA, mfrow=c(2,2), mar=c(6,4,1.5,0.5), cex=1.1) # margin: bottom left top right
area_l <- c(100, 120, 140, 160, 180, 200, 220, 240)
num_FFD <- c(300, 400, 500, 600, 700, 800, 900, 1000)
legend <- c("DVHU", "DHU", "DU", "CVHU", "CHU", "CU", "C")
p... |
6e6610721aa0e097d2f1cd199db7ebab9fd52d8a | de5e61b489ee3bf8d2c1a1093ff978579b4caa70 | /man/vim.Rd | 03f93104d1d0154f9933d7a13cead7743bfb503b | [
"MIT"
] | permissive | minghao2016/vimp | 575cad2831811af9796d07b3c5d962d5731f4110 | cd0599fea1ccf66cec7a1013706459850be91d01 | refs/heads/master | 2023-05-11T23:20:34.840425 | 2021-06-03T16:28:07 | 2021-06-03T16:28:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 8,591 | rd | vim.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vim.R
\name{vim}
\alias{vim}
\title{Nonparametric Intrinsic Variable Importance Estimates and Inference}
\usage{
vim(
Y = NULL,
X = NULL,
f1 = NULL,
f2 = NULL,
indx = 1,
type = "r_squared",
run_regression = TRUE,
SL.library = ... |
6104b4730ddee8283dbe23d330c961e1458e939d | a3489a94b96f64bd6f3fe166d3f0affecd23c17a | /R/shiny.R | aeb18ca4f2d0a264f975a05354dac91c5fb1e00c | [
"MIT"
] | permissive | fragla/acreular | a9e9f52bab3576b30ce3b498b1de4d0b003c3317 | 60491f59e7332a916a07f782d53206e345941775 | refs/heads/master | 2021-08-07T23:22:55.761150 | 2020-06-03T08:02:38 | 2020-06-03T08:02:38 | 186,041,450 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 910 | r | shiny.R | #' Launch shiny acreular interface
#'
#' \code{shiny_acreular} launches a shiny interface for browser based ACR/EULAR calculations.
#'
#' @param display.mode The display mode to be passed to \link[shiny]{runApp}
#' @return NULL
#' @examples
#' \dontrun{
#' shiny_acreular()
#' shiny_acreular(display.mode="normal")
#' }
... |
4dcf676dfeb817bcfbcb61a138afe3ecb295603b | ad4f1f1450f1ce443684565653cc76b61a070190 | /R/treatmentFit.R | 25aae872c6e88ad9063424cdbc4567a6e2341f12 | [] | no_license | guhjy/bartCause | a76cb1dd0e09c4455c2462d8a13716d5feaf3c85 | 4b51aea89bb37b3316c75c3dfe596ab0c449a070 | refs/heads/master | 2020-03-20T20:51:19.009332 | 2018-06-14T13:54:54 | 2018-06-14T13:54:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,180 | r | treatmentFit.R | getGLMTreatmentFit <- function(treatment, confounders, data, subset, weights, ...)
{
treatmentIsMissing <- missing(treatment)
confoundersAreMissing <- missing(confounders)
dataAreMissing <- missing(data)
matchedCall <- match.call()
callingEnv <- parent.frame(1L)
if (treatmentIsMissing)
s... |
321a4ba6b49eb54bcebfb938772a5fe65acaac9f | 27074580be9e0f8540c308bcfddbb5ee2ca5f2ad | /man/plot.bHP.Rd | 31a505aa687cb5dad988753391068e56b8ce1c88 | [] | no_license | lyig123/test2 | e04f763ed67b21916e3baab2dd918230cecc383b | f4dc874d09ffb644e96d646677ecfda0109ce256 | refs/heads/master | 2022-01-29T17:45:56.251855 | 2019-07-21T15:44:44 | 2019-07-21T15:44:44 | 198,075,118 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,485 | rd | plot.bHP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.bHP.R
\name{plot.bHP}
\alias{plot.bHP}
\title{all in one function of iterated HP-filter}
\usage{
\method{plot}{bHP}(x, plot_type = "dynamic", interval_t = 0.3,
ylab = "", col_raw = "#2D5375", col_trend_h = "#FBB545",
col_tren... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.