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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ca05813f48fb453d691953707a5c51765c25b4f0 | c750c1991c8d0ed18b174dc72f3014fd35e5bd8c | /pkgs/oce/man/summary-satellite-method.Rd | 2f4a56537ed660061dfeefc479a08c9d55ac47b7 | [] | no_license | vaguiar/EDAV_Project_2017 | 4b190e66fe7a6b4078cfe1b875bccd9b5a594b25 | 288ffaeec1cfdd873fe7439c0fa0c46a90a16a4f | refs/heads/base | 2021-01-23T02:39:36.272851 | 2017-05-01T23:21:03 | 2017-05-01T23:21:03 | 86,010,131 | 1 | 0 | null | 2017-05-01T23:43:04 | 2017-03-24T00:21:20 | HTML | UTF-8 | R | false | true | 608 | rd | summary-satellite-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/satellite.R
\docType{methods}
\name{summary,satellite-method}
\alias{summary,satellite-method}
\title{Summarize a satellite object}
\usage{
\S4method{summary}{satellite}(object, ...)
}
\arguments{
\item{object}{The object to be summarized.}
... |
9846d1a1a96d6a820c6dc96c64a34b435fa8f533 | 886631b1b55ff47db3e63ae11207899aea43c61d | /R/functions.R | a815b86bf62e642a975620bea31fb6a8436a83ca | [] | no_license | davidsovich/davidr | 159d0b05d135ac84523bd9e31caf00e0606bef96 | 0a3297a9d45b590d74f7ecba544a3d7d323ce85e | refs/heads/master | 2021-06-25T06:29:33.878916 | 2021-02-24T14:25:09 | 2021-02-24T14:25:09 | 204,074,805 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,454 | r | functions.R | # ---- Description --------------------------------------------------------------------------------
# This program defines functions for the analysis.
# ---- Date functions -----------------------------------------------------------------------------
yyyymm_dashes = function(date) {
as.numeric(substr(date, ... |
21a0d6a4937a1ff33715d924b547dd4fe5e2aed8 | cdf2306e558058ce7f3704256b9732f1d03d1493 | /twitterOAuth.R | c3e2817c73f195aae27269e5e6620c81bc565692 | [] | no_license | charliegerm/sentiment | 65ed19cd7a8d8af2799482f5d8298afdcd8dfa2c | 82eaa6e6292011579c2a7c22dc9cf8b2a4f6280b | refs/heads/master | 2016-09-06T01:59:24.482579 | 2015-08-26T19:02:37 | 2015-08-26T19:02:37 | 41,431,832 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 343 | r | twitterOAuth.R | # setup twitter OAuth
twitter_oath <- function() {
twitterConsumerKey <- "xxxxx"
twitterConsumerSecret <- "xxxxx"
twitterAccessToken <- "xxxxx-xxxxx"
twitterAccessTokenSecret <- "xxxxx"
setup_twitter_oauth(twitterConsumerKey, twitterConsumerSecret, twitterAccessToken, twitterAccessTokenSecret)
re... |
bfbfb9823b8cae6127f0bc49122f3c3517d1da30 | 6108283fb5c4e55f6aa0ae2716b449cbf274bbde | /nelsonsiegel.R | 8497b0efb71e237fcc3aeecd5ae473973ed342b1 | [
"MIT"
] | permissive | vmurik/relval | 32e0353078184df39abc9f427263c8255df74d7f | c6f429e71e55c71c0983488d459dff049cab0ee8 | refs/heads/master | 2020-07-03T10:53:42.421139 | 2016-11-20T03:43:10 | 2016-11-20T03:43:10 | 74,178,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,893 | r | nelsonsiegel.R | NelsonSiegel =
function(Yield, Maturity)
{ # A function written by Diethelm Wuertz
# Description:
# Fit the Yield Curve by the Nelson-Siegel Method
#
# Details:
# This function finds a global solution. The start values for the
# betas are solved exactly as a function of ... |
882a1e1001043402608a9848bd14b65802fe174f | a350afcce86ace1839a0d91a2a73d65776a32aa4 | /complete.R | 3c01427268f39e0b17498add4c6c96da6de86ba5 | [] | no_license | ErickDiaz/Data_Science_Assignment_1 | 432a34b1eb46ea46859e9769991be4fd3f9aa7b0 | 5f19fc2902cf9addba59cd52ed462defc56b184b | refs/heads/master | 2016-09-09T19:11:11.193805 | 2015-02-14T04:22:08 | 2015-02-14T04:22:08 | 30,759,190 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,651 | r | complete.R | complete <- function(directory, id = 1:332) {
## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
## 'id' is an integer vector indicating the monitor ID numbers
## to be used
archivos <- list.files(directory,pattern = "\\.csv$")
... |
1acea0ea5d9d6335436448bdfa432a6dc56662e7 | 7e6f176f3bcdb16790d7b37f1df2e01ade36dff6 | /mrs_simulation.R | f40cbf99d581919b60fe14562e47e8cf5bf5ae54 | [] | no_license | ejvandenoord/trauma_prediction | a0cef1e9c785563aa28775521f3178c4df6e7b0d | f5f6d23dba654318a5915314200675cd422d8e24 | refs/heads/master | 2022-12-08T12:53:36.169862 | 2020-08-24T11:50:32 | 2020-08-24T11:50:32 | 289,912,168 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,135 | r | mrs_simulation.R |
rm(list=ls())
drive = "G:\\My Drive\\"
work_dir = paste0(drive,"SOP\\methylation\\gsms\\exposure\\papers\\charlie\\paper\\kfold_simulation\\")
source(paste0(work_dir,"functions_mrs_simulation.R"))
library(MASS)
library(glmnet)
set.seed(1)
n_sample = 500
n_pred = 1000
n_sims = 10000
... |
c5512fcc3f9a2c00e533a16f903ad2cb48b50c68 | 08313c529a4d1ffecb9f6463534a537d670d775c | /man/rev.comp.Rd | 8d55412783ee80064ff0e63ee07ab1a92491e1a8 | [] | no_license | emdann/hexamerModel | 5a95ac93852915f51cb4f11917919d9566586e00 | 5c6bf140d9841fa0dcf572b8acf789c9b82caaf0 | refs/heads/master | 2021-09-21T21:03:45.694694 | 2018-08-31T12:22:46 | 2018-08-31T12:22:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 532 | rd | rev.comp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/binding_model_functions.r
\name{rev.comp}
\alias{rev.comp}
\title{Reverse and/or complement sequence}
\usage{
\method{rev}{comp}(x, compl = TRUE, rev = TRUE)
}
\arguments{
\item{x}{string of DNA sequence}
\item{compl}{logical indicating whea... |
62faa87eab554bfe633ec5779f822acc0403f1e2 | 155949a1cfdc33d011fd7684d534cf041be71f7a | /Assignment Week 4 - Upload.R | 58e9082f7afcf8a065147715697d16af779b78c1 | [] | no_license | Nossk/Data-Science-Coursera | 7e7770a3c35363c943b3d84371498f7cefccf286 | 53769b2c0056db1bebc34dd45c2de7020bcbbeab | refs/heads/master | 2020-03-23T15:30:44.420228 | 2018-10-20T16:41:10 | 2018-10-20T16:41:10 | 141,753,304 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,277 | r | Assignment Week 4 - Upload.R |
outcome <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
head(outcome)
ncol(outcome)
nrow(outcome)
names(outcome)
library(data.table)
outcome[, 11] <- as.numeric(outcome[, 11])
hist(outcome[, 11])
best <- function(state, outcome) {
##Read outcome data
out_df <- data.tabl... |
12c48c21a5ad8b41e1b899cd9e87266ad97a30af | 03f7b233c6f745b4dd654fa57c7414fc0e4fa023 | /2019-04-23/tidytuesday_anime.R | b8365dcb9813be82c57a11832d2d1dfc18b9181c | [] | no_license | metabdel/tidytuesday | c15bc11150a8352375b0615cb3c6b751f6a26fef | cf55d8b5cb277deb38e0095bc2902e77f6cd6e2d | refs/heads/master | 2020-08-29T11:19:56.217171 | 2019-09-16T17:11:37 | 2019-09-16T17:11:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,373 | r | tidytuesday_anime.R | library(tidyverse)
library(hrbrthemes)
library(lubridate)
theme_set(theme_ipsum_rc())
tidy_anime <- readr::read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019/2019-04-23/tidy_anime.csv")
# Gantt chart of most 20 most famous anime
anime_data <- tidy_anime %>%
nest(-name) %>%
... |
b308ac7a060f90614fc7fc8ffe601cc258c4b8b6 | 88e835c66a8f260bb856ebd59cc6a6671e7ef38e | /R/check_set_predictors.R | acbbe6576e776b993cf5fdaacc7c6dce47a1dd13 | [] | no_license | cran/brea | 67310f64b6db5f0440ac6d92e8b34aefa23cf80a | 4989155b3ed41fcd154f58f72d5015b6215d3fd8 | refs/heads/master | 2020-05-23T08:17:35.910449 | 2017-10-09T02:49:15 | 2017-10-09T02:49:15 | 70,241,022 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,672 | r | check_set_predictors.R |
# This function checks that the predictor matrix/dataframe x and the vector of
# maximum discretized covariate values K (if supplied) are valid, and then
# returns versions of x and K of type integer in a list.
check_set_predictors <- function(x,K) {
# Case 1: x is a matrix of positive integers ------------... |
fa5a1febc059fa18fa6b4022216dbb9793b911eb | 7fb600847709ec1c7730c6e5ac418d6498191dc7 | /crested_myna/cleaning_ebird_data.R | 93c3be7727ea0e09704e2033c11c673686181049 | [
"MIT"
] | permissive | federiva/Monkeys-Working | d5ab2fbb888b10b8010bd5b2dbade54128ec5f7d | ba7e995e26ab321c67671772cf2e1635c18d0ec8 | refs/heads/master | 2021-07-17T08:21:21.331390 | 2021-07-12T18:30:40 | 2021-07-12T18:30:40 | 136,230,571 | 0 | 2 | MIT | 2021-07-12T18:30:41 | 2018-06-05T20:22:50 | R | UTF-8 | R | false | false | 3,735 | r | cleaning_ebird_data.R | # Data from ebird is cleaned and tidied
# Loading packages
library(auk)
library(dplyr)
library(lubridate)
# Reading the ebird data using auk data
acdata <- read_ebd("./ebd_cremyn_relMay-2018.txt")
head(acdata)
summary(acdata)
# Exploring data and checking if are there missing data
# Is all the data about the Crested... |
33f85adfbb29bb76475b29ee4cce7dd24dec833b | 6cfac8e9f81c6de25403159d85211f7b4e5a41ec | /activity_EXPLORE.R | 782240031342ed522ef5e35ad04bcb86e62493e0 | [] | no_license | StatsRhian/active | 530eec58143859aef486471b326f296710613b6b | a53005fc87003ad235fe02aee90160fa90419ba2 | refs/heads/master | 2021-09-18T17:25:26.404914 | 2018-04-19T08:22:47 | 2018-04-19T08:22:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,762 | r | activity_EXPLORE.R |
source("activity_process.R")
#log_master - the original data import
#log - the original data with blank rows removed and some other cleaning
#log_B, log_R, log_F - the data for types B,F,R with appropriate variables
#log_B_split, log_F_split - B and F data with week data split up over following week
#log_new - R combi... |
0da1559cacb5bc30bb0cf99bc0389b254dcddc65 | 597ff8e61470bf66cb8958285cc2b8ffa37b015f | /Christmas tree/christmas_tree.r | f95a4a44126d88fb143f9e2255c0bcc1a20c1f84 | [] | no_license | r-kasidit/random-projects-in-R | d7aa0cca095f4c5de9c799b71999f77dd31d7e6d | 0ef6437f306abf3d1ffd9c2650323115a6821533 | refs/heads/master | 2023-08-15T07:11:58.302204 | 2023-08-06T06:45:23 | 2023-08-06T06:45:23 | 106,931,244 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,783 | r | christmas_tree.r | library(tidyverse)
data = data.frame(x=seq(-5, 5), y=0:10)
snow = data.frame(x=runif(100,-5,5), y=runif(100,0,10))
layer = 20
triangles = data.frame(
group = rep(seq(1, layer), 3),
pointx= c(seq(min(data$x), mean(data$x)-0.5, length.out=layer),
rep(0,layer),
seq(max(data$x), mean(data$x+0.5... |
e48bdaa5c863c04d31fb557be7d872e7a2157807 | c4925b4e073c2d95b89871ec75430e77ee8aa716 | /ncvreg/R/summary-ncvsurv.R | fb7ad8a47985a5637967e3b650ca8eb5239a8a68 | [] | no_license | kof900/src | e04c5753ec0c26c54d3df0da77280cd1b124f6ce | fd4f7ab9860274155af53d1af2eb93a0fd95828e | refs/heads/master | 2020-03-13T06:44:40.824139 | 2018-04-25T13:32:57 | 2018-04-25T13:32:57 | 131,010,875 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 578 | r | summary-ncvsurv.R | summary.ncvsurv <- function(object, lambda, which, ...) {
nvars <- predict(object, type="nvars", lambda=lambda, which=which)
if (length(nvars) > 1) stop("You must specify a single model (i.e., a single value of lambda)")
if (missing(lambda)) lambda <- object$lambda[which]
model <- "Cox"
val <- list(penalty=ob... |
f7ea450464334f30f9cbc60fee3ba0f83deb1e61 | 7020e18e9ff3b2aa8bed306a9866017abd327b05 | /tests/testthat/test_08_list_variants.R | 4537cfa0c8db6c61993630e02ba564629ef41637 | [
"MIT"
] | permissive | fasterius/seqCAT | 2c19f56128cc2abbc11236222608e96139a9dd89 | ccc5fe015a556fae93ea7d83f7d155a269817928 | refs/heads/master | 2022-02-11T23:52:36.690083 | 2022-02-08T06:37:12 | 2022-02-08T06:37:12 | 102,448,610 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,217 | r | test_08_list_variants.R | library("seqCAT")
context("Listing known variants in SNV profiles")
# Load test profile
data(test_profile_1)
data(test_profile_2)
# Create test variants
test_variants <- data.frame(chr = c(1, 1),
pos = c(16229, 16298),
gene ... |
b55e18f2e16d8582b30da41fc3595c10cb1eeeea | 78ee5195584c81eb3b47ea1892db706d4b5e82da | /tests/fixBugs.R | e3889c00202eb0a0aae2bf6021a91593ee6dfa9c | [] | no_license | alfcrisci/bmdModeling | 80baa7f0045b1d35a904ca53fdefff131ebbdc75 | 43d2aa3b74011bca9960b79d4f49c8dfc9d2b1d9 | refs/heads/master | 2020-05-28T02:23:16.979389 | 2019-05-27T13:57:21 | 2019-05-27T13:57:21 | 188,852,970 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,450 | r | fixBugs.R | # Project: bmd_git
#
# Author: mvarewyck
###############################################################################
# Compare results with original f.proast()
#source("/home/mvarewyck/git/bmd/exploringProast/fFunctionsProast.R")
#dataDir <- "~/git/bmd/proastUI/inst/extdata"
#load(file.path(dataDir, "das1.rda"))
... |
dad5fecfcb109ccc3f55e54a83057bbef0971199 | eda1e1a1edd543e3dd0605e1d74e19b23a1ff31c | /plot4.R | 3143d796143efbb77d229fc137a851be458f4703 | [] | no_license | nabi-a/ExData_Plotting1 | adfc491e050018bd4d11a4abffe5677255d7b8b7 | 1916af36b2b14cb271e41d853158f6c0a388e660 | refs/heads/master | 2020-03-09T04:27:48.366234 | 2018-04-08T15:00:32 | 2018-04-08T15:00:32 | 128,588,330 | 0 | 0 | null | 2018-04-08T02:25:07 | 2018-04-08T02:25:07 | null | UTF-8 | R | false | false | 1,895 | r | plot4.R | # Reading, naming and subsetting power consumption data
power_data <- read.table("household_power_consumption.txt",skip=1,sep=";")
names(power_data) <- c("Date","Time","Global_active_power","Global_reactive_power","Voltage","Global_intensity","Sub_metering_1","Sub_metering_2","Sub_metering_3")
power_subdata <- subset(p... |
139fb0cd0c50c9a32f6bb7a49266048435d5996b | e0ef38471f4df350d7f2507be45ef384501b8993 | /man/ms_list_item.Rd | f3bd07d86f78a19956f72a2eacadc6f87e8ba31e | [
"MIT",
"LicenseRef-scancode-generic-cla"
] | permissive | amane49/Microsoft365R | a98c8ac6089470394129fc47fe772432223c414b | 7eb1515f11f2b9157cdd42dddd38cf8f88a011c8 | refs/heads/master | 2023-06-16T09:17:40.173598 | 2021-07-12T07:31:56 | 2021-07-12T07:31:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,198 | rd | ms_list_item.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ms_list_item.R
\docType{class}
\name{ms_list_item}
\alias{ms_list_item}
\title{SharePoint list item}
\format{
An R6 object of class \code{ms_list_item}, inheriting from \code{ms_object}.
}
\description{
Class representing an item in a SharePo... |
f793e926d35aeefbc4b37c85a8f0c782a3fe5dcf | 6204c6aa86599740768bd066e11608ddf3c58e84 | /R/rdcc-likelihoods.R | 4feab05fc5f089a9988374affa3dc0bcb401ec3e | [] | no_license | cran/rmgarch | 08e9048e7c79920dd783086466d3cfc1770d6df7 | 2699f032d3811d4f539deb90aac589f5823ebdb4 | refs/heads/master | 2023-03-04T19:20:23.957480 | 2022-02-04T23:30:06 | 2022-02-04T23:30:06 | 17,699,257 | 12 | 11 | null | 2023-02-24T10:26:57 | 2014-03-13T06:08:29 | R | UTF-8 | R | false | false | 23,098 | r | rdcc-likelihoods.R | #################################################################################
##
## R package rmgarch by Alexios Galanos Copyright (C) 2008-2022.
## This file is part of the R package rmgarch.
##
## The R package rmgarch is free software: you can redistribute it and/or modify
## it under the terms of ... |
f513272f38889d9f81fe99896e173e64cfb35d19 | 18df0ee04b5654c30475fabbb669cff7e112b98b | /man/class_from_obs_id.Rd | 0521cab29b0b7714c9899084a86b6f05bb070a80 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | seninp/metacoder | fa7a84787fafb9d67aef5226b0b9e17c5defd654 | a0685c540fec9955bc2a068cc7af46b5172dcabe | refs/heads/master | 2020-06-10T20:44:04.208387 | 2016-09-27T21:59:15 | 2016-09-27T21:59:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,005 | rd | class_from_obs_id.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract_taxonomy--parsers.R
\name{class_from_obs_id}
\alias{class_from_obs_id}
\title{Retrieve classifications from observation IDs}
\usage{
class_from_obs_id(obs_id, database = c("ncbi", "none"), ...)
}
\arguments{
\item{obs_id}{(\code{chara... |
aa911364cde0559379b953e3e3b56abc59082cb1 | 2be6995e86b2ffffaf040b802387901a4e6bf5c1 | /vignettes/Ch19Vig2FrocSampleSize.R | 38a8e5e5d039de1b95e55367d1725b3f2c72c758 | [] | no_license | pwep/RJafroc | 89491abb88581f0962330c84415b9eecdbe9221d | 9a5a6078c35b470fd21639ac5c75a0ba1d8a3eaa | refs/heads/master | 2021-06-30T07:49:03.714828 | 2020-12-10T00:39:05 | 2020-12-10T00:39:05 | 189,657,987 | 1 | 0 | null | 2019-05-31T21:01:36 | 2019-05-31T21:01:35 | null | UTF-8 | R | false | false | 2,870 | r | Ch19Vig2FrocSampleSize.R | ## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
library(RJafroc)
library(ggplot2)
## -----------------------------------------------------------------------------
lesDistr <- c(0.7, 0.2, 0.1)
frocNhData <- DfExtractDataset(datase... |
28f481b2781745514b8f9652dd1551d59470e4aa | 703b1605c75434440dbe641d1c80a8deb390f15a | /XCMS/demo_workflow.R | 8e764ca0cd9653ef9f8afb64a7ce1c80f5711c11 | [] | no_license | TalWac/XCMS | 80d8eda3728a1bf17e41ea9e622ed58f919b6d53 | 12df016196dea00020768b24c21d1adac84a209c | refs/heads/main | 2023-03-18T15:49:56.367973 | 2021-03-09T15:57:31 | 2021-03-09T15:57:31 | 346,059,562 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,401 | r | demo_workflow.R | if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("xcms")
BiocManager::install("faahKO")
library(xcms)
library(faahKO)
library(RColorBrewer)
library(pander)
library(magrittr)
library(pheatmap)
## Get the full path to the CDF files
cdfs <- d... |
49766f964d1eebd68e2e520dbec03c864c7ea2cf | 68034e3069603a30be4ac88534612f7652ef4e2e | /original_files/J_Addah_MSc_project/HCM-SCD CEAA.R | fb9f3279b3f4f7195d776f807756e332ff40c18b | [] | no_license | lixiaocheng123/HCM-SCD-CE-analysis | c62cd0c51ecffb751d9065a56389a937bac9966c | 44093a943fc5e4483c6576aa04e29ff981f0af9e | refs/heads/master | 2023-06-28T22:44:23.358692 | 2020-11-04T16:01:55 | 2020-11-04T16:01:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,668 | r | HCM-SCD CEAA.R | # Bayesian Models for Cost-Effectiveness Analysis
# Loads packages
S <- 4 # Number of health states
# s = 1 Healthy health state
# s = 2 Stroke HCM-Related Health state
# s = 3 SCD(Sudden Cardiac Death) Health state
# s = 4 DAC (Death All Causes) Health state
# EXISTING METHOD ... |
ea923e6bf85a03ee420175b043aa2b63d09f270a | 361045b8660071fc6bc9bf1d5d5727632dc8235d | /TRAL_breeding_age.R | c4e2940da1a5a78df341fe7c8d407312d7f14fcd | [
"CC0-1.0"
] | permissive | steffenoppel/TRAL_IPM | 61a46a30fd64611cc3af86dda2e4c1b3316c1b9a | cbe939f7234b4ced1f50fa2492cc6c0b42222c71 | refs/heads/main | 2023-04-08T03:45:08.927110 | 2022-05-12T06:59:28 | 2022-05-12T06:59:28 | 198,238,566 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,285 | r | TRAL_breeding_age.R | #####################################################################################
######## EXAMINATION OF BREEDING AGE OF TRISTAN ALBATROSS ON GOUGH ##############
#####################################################################################
### written by Steffen Oppel in August 2021
### steffen.oppel... |
1bd4e83ace156b004f88d3444c7ae78292e03d65 | 431d7c0f7c71ad503832b20700a96e8a952807fd | /Classification/SVM.R | 0db90ccf8d4f3e52239b80a32e4f8ebd4ddb4ac6 | [] | no_license | Tao-Hu/CollectionOfML | b935ca7feda06906b3fe92fdaf9810178519151e | 5afb5aae008ae5fb5d2ec697cb4766a1610c2c8c | refs/heads/master | 2021-07-03T22:46:54.752053 | 2017-09-26T19:34:37 | 2017-09-26T19:34:37 | 104,919,353 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,013 | r | SVM.R |
library(kernlab)
# First a quadratic example:
n <- 1000
x <- cbind(runif(n),runif(n))
y <- ifelse(x[,2] > x[,1]^2,1,-1)
xp <- cbind(runif(2*n),runif(2*n))
yp <- ifelse(xp[,2] > xp[,1]^2,1,-1)
y <- as.factor(y)
yp <- as.factor(yp)
x1 <- x
z1 <- xp
x2 <- cbind(x,x^2,x[,1]*x[,2])
z2 <- cbind(xp,xp^2... |
c36c7a54f4fab4d7fd434817eaefd32711c15cb7 | 3fec2c809df124254ccc690d8c0f3fe1bafb5499 | /teaching/ecodyn/complexfoodweb1.R | 14dd1dd7502e7877489d9f96ca63e6262c8d4153 | [
"MIT"
] | permissive | jdyeakel/jdyeakel.github.io | 4c3d7b0f935996acd5d27e3e171e198729496a4d | 59bb2b4162f6613c3ad6a8561df740d703ebd624 | refs/heads/master | 2023-08-16T21:36:38.975400 | 2023-08-09T02:44:16 | 2023-08-09T02:44:16 | 23,481,042 | 2 | 1 | MIT | 2021-07-20T18:29:37 | 2014-08-30T00:04:53 | Mathematica | UTF-8 | R | false | false | 906 | r | complexfoodweb1.R | # First define number of species
S = 100;
# And the connectance
C = 0.001
# And the interaction variability
sigma = 1
#Build a SxS empty matrix
J = matrix(0,S,S)
#Now with probability C, draw a random number from a normal distribution with mean 0 and stdev = sigma
#With probability 1-C, the interaction is zero
for (... |
0e3367f5dd1aa6d0f49cad122980b6ade244b5eb | 9929d2c82bac38873878bb0c825e7cf5f84a1172 | /plot1.R | dda81b5b54c7f3ead3dc341a0784c52c1c47f82b | [] | no_license | o2kenobi/ExData_Plotting1 | 49c8e1c9121a18ba37c8c55eb186927cb2463fce | 9eea5e5a5d201cc7615db25ef4feda2eb5638fc4 | refs/heads/master | 2020-05-04T04:46:23.651991 | 2019-04-02T01:29:48 | 2019-04-02T01:29:48 | 178,973,435 | 0 | 0 | null | 2019-04-02T01:15:31 | 2019-04-02T01:15:30 | null | UTF-8 | R | false | false | 704 | r | plot1.R | library(lubridate)
library(data.table)
#---get data
#zfile="exdata_data_household_power_consumption.zip"
#pfile<-unzip(zfile) #<--(uncomment these 2 lines if use the zip file)
pfile<-"household_power_consumption.txt"
dt <- fread(pfile,sep=";")
sdt <- subset(dt, Date=="1/2/2007" | Date=="2/2/2007") #<--get s... |
90b0dedbe7a4652864515e0fecc5aa0ccb1f6d14 | 1c7210fd8fad8f1dfb2da39d3a5efa73ea37f5f6 | /plot3.r | a11c2d508c34ae14388cec85ee982d424c65868d | [] | no_license | Chandru1102/ExData_Plotting1 | 0cc01f1d314b3e75dfae4aaf4e302496fca4c642 | 36a00bfaa7c24a4502dab1f23bf8c085249f8241 | refs/heads/master | 2021-01-09T06:53:16.538494 | 2015-05-09T21:30:18 | 2015-05-09T21:30:18 | 35,294,875 | 0 | 0 | null | 2015-05-08T18:21:55 | 2015-05-08T18:21:53 | null | UTF-8 | R | false | false | 1,560 | r | plot3.r | ## Course Project1 EXDA plot3
# This function will plot the graph for comparing 3 sub metering in a png file named plot3 with 480 x 480 pixels
plot3 <- function(datafilename) {
#unzip file of rows 2,075,259
file <- unzip(datafilename)
##Read File to dataframe also lets specify the known number of rows to make memo... |
f5fd8148ee6f95461ba4d9e40127aabe6ac23b68 | 352f0f7988ff92257e9d0b59f64712e3364d61bf | /src/r/Dynamic publibike plot.R | c09e77853d47a2a665139a15dd88cf39339fc3c9 | [] | no_license | mferri17/usi-hackathon-19 | d14ddcda3f8241d50272da9b7b1e5923a50e685a | 3ee6e90addae97c64602db6720715b729890657a | refs/heads/master | 2023-03-16T13:55:09.425241 | 2021-03-06T02:42:42 | 2021-03-06T02:42:42 | 221,738,096 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,773 | r | Dynamic publibike plot.R | #Paolo Montemurro, Marco Ferri USI Hackaton 2019
# 6D
library(shiny)
library(leaflet)
library(dplyr)
library(leaflet.extras)
data <- read.csv("gather_bike.csv")
#Define intensity and size
data$from_avgDistance <- round(data$from_avgDistance,0)
data$to_avgDistance <- round(data$to_avgDistance,0)
data$label <- p... |
9e48891c98180217a3690e9ede240d5f4bfd6678 | 9b2c57aea0ebd7f031041f5ea9e98a779170d922 | /R/io.R | 65f06ee3846a6c27eab498e134cda254e11d9bc3 | [] | no_license | usobiaga/diatechServer | 4dce6771710a23f79dce42c8e2772bce46b22198 | cd93e1f379e21b25d0e1e80e16b1aaf6a9954c64 | refs/heads/master | 2021-01-10T02:06:17.782443 | 2019-02-28T21:11:17 | 2019-02-28T21:11:17 | 43,323,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,244 | r | io.R | #' Prototype of load data
#'
#' This function loads data from the database.
#'
#' @param database database name.
#' @param user database user.
#' @param password password for database.
#' @param anstype '1' for orthographic answer, '2' for phonetic answer, '3' for all answer.
#' @param proid project id to be queried
#'... |
b87da0fd1c8067dc001f17d1667481596fde2998 | 98ebff9df47cb49c0ea317308ebe40875b69977d | /tests/testthat/test-map.R | f916a3b9ff9a953475ba71526a96583990c4fa36 | [] | no_license | atibot/MsdrCapstoneMPS | 6128c0ca1a38359f6e93e559b825c525a5fc7b6d | 5da58c0978c5aff92044a66c408be30fcfa679d4 | refs/heads/master | 2021-05-05T16:58:20.704660 | 2018-01-12T17:15:40 | 2018-01-12T17:15:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 746 | r | test-map.R | library(MsdrCapstoneMPS)
context("Leaflet maps")
## Clean data
raw_noaa <- as.data.table(noaa_data)
test_that("Leaflet map", {
g <- raw_noaa %>%
eq_clean_data() %>%
dplyr::filter(COUNTRY == "MEXICO" & DATE >= as.Date("2000-01-01")) %>%
eq_map(annot_col = "DATE")
## Plot is a leaflet map
expect_equa... |
d206f7b80ba3fe35ade544337df86d9771847f62 | 1222e694187534fd1afc1ef0675784957101392c | /R/map_palettes.R | 56219f1f052172e0dade4d383d6bfdcc281ceddd | [] | no_license | laceym14/defendersr | 7a3755ed8b6bcf7602ce0dbe00495c59f17dbf9a | 86532217508b2bb5ef15ca2f4f9b5028cc9d6801 | refs/heads/master | 2020-09-15T15:27:22.365987 | 2019-12-27T20:53:20 | 2019-12-27T20:53:20 | 223,489,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,599 | r | map_palettes.R | # Defenders of Wildlife branded color palettes for use in scientific figure development using ggplot.
# Modelled after @drismonj tutorial. Learn more at
# https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2
# Defining standard land ownership color palettes
land_palettes <- list(
`BLM` = land_o... |
fb5412ac95277ab3aa019b8e12eeee600acf1b69 | b6f6710c76a04e0d0c3bf8579cedbd52dd8dcafb | /man/vdist_chisquare_plot.Rd | 7b7bd6963454121ba06602e2ef8103f9a8d4a8a2 | [
"MIT"
] | permissive | guhjy/vistributions | 5cc1f490eef6dc325d14f5a726cb4b5c649682c1 | db3dc91e79ee40e7e28e5f7a74e164a1c72e8c73 | refs/heads/master | 2020-04-09T10:55:02.977717 | 2018-12-02T17:22:37 | 2018-12-02T17:22:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,363 | rd | vdist_chisquare_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vdist-chisquare.R
\name{vdist_chisquare_plot}
\alias{vdist_chisquare_plot}
\alias{vdist_chisquare_perc}
\alias{vdist_chisquare_prob}
\title{Visualize chi square distribution}
\usage{
vdist_chisquare_plot(df = 3, normal = FALSE)
vdist_chisqua... |
afbc946cb5fc92c3e8a66176fbd2a543de815a63 | 5999431bdc55e047981f6206f31490c4262daaac | /code/cleaning.R | 8074b2fc786eebc921aab0aa624c8265de7cf23a | [] | no_license | osolari/C-W-RR | cd92360d93526ad37121dcb7ca8ec88ed8cd044a | a733edcb0131d640ef8de624047675c65e49de09 | refs/heads/master | 2021-01-21T06:11:18.667329 | 2016-05-27T07:20:47 | 2016-05-27T07:20:47 | 59,790,074 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,454 | r | cleaning.R | setwd("~/workspace/data/GWAS/code/")
require("ggplot2")
require("stringdist")
require("dplyr")
source("cleaning.lib.R")
require("gridExtra")
spatialVariantsRAW <- read.table(file = "~/workspace/data/GWAS/variants_omid/spatial_variants/dp_4_70_percent_spatial_variants_10000_duplicate_ind_removed_top_293_scaffold_freebay... |
395213753f0c940d11aa8901eb6a5825146f6b0b | 23093affc35a4376384b3a47b24382e11078999b | /man/Nerve_Tibial.Rd | 71bc03432e88c23611a67e71c7c837922ea807de | [] | no_license | roderickslieker/CONQUER.db | f35d36c57fc937a1e489c6a2dd1f1a4f5287943a | 85139b8feaac3bbfe69dacec22519364ebf1c303 | refs/heads/master | 2021-07-31T18:46:35.240183 | 2021-07-27T06:16:38 | 2021-07-27T06:16:38 | 250,022,871 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 415 | rd | Nerve_Tibial.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Nerve_Tibial.R
\docType{data}
\name{Nerve_Tibial}
\alias{Nerve_Tibial}
\title{Matrix of expression data of Nerve...Tibial from gtex}
\format{
A [[matrix]] object
}
\source{
[Nerve_Tibial](https://gtexportal.org/home/datasets)
}
\usage{
Nerve_... |
0c942f5ea7b022f6e3cdb0d0fa8ded4bc1648aa3 | 736281b44e7f46705960e14ba97c98acdeecd6b1 | /man/ksnormal.Rd | e64c19ac4957c336fe5fea1d58b4e0a811ef3ae3 | [] | no_license | abusjahn/wrappedtools | 97dd0d77514cd42affbaab7679d2fc2eab8f8358 | aca66340603ef4a5ba0e0ebee76a06ba6610a33f | refs/heads/main | 2023-08-24T12:09:11.635831 | 2023-08-04T16:37:30 | 2023-08-04T16:37:30 | 132,574,321 | 3 | 2 | null | 2023-09-01T18:01:05 | 2018-05-08T07:55:20 | R | UTF-8 | R | false | true | 589 | rd | ksnormal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tests.R
\name{ksnormal}
\alias{ksnormal}
\title{Kolmogorov-Smirnov-Test against Normal distribution}
\usage{
ksnormal(x)
}
\arguments{
\item{x}{Vector of data to test.}
}
\value{
p.value from \link{ks.test}.
}
\description{
\code{ksnormal} is... |
9a9bd81db620e56bd0ef39523d0bc4ff267b05ce | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/lhs/examples/optSeededLHS.Rd.R | 98f515b461943bc160241229e98f160e679dd1c6 | [] | 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 | 209 | r | optSeededLHS.Rd.R | library(lhs)
### Name: optSeededLHS
### Title: Optimum Seeded Latin Hypercube Sample
### Aliases: optSeededLHS
### Keywords: design
### ** Examples
a <- randomLHS(4,3)
a
optSeededLHS(a, 2, 2, .1)
|
a00e7ad79a5bce817c2eb463f180ed6422d03afe | 7482cf4dba3278e3daae54115b791e5b1fd64291 | /rev.R | 534afb11a15a799cba1f8c3c9c7a0076a5287b3c | [] | no_license | Prathyusha-L/100DaysofCode---Day-58-Basic- | 7559436d81342e0f172a718bd64e9b0de9aa7bc4 | e9a3ea4a65fe09fec4a3a0a1430f50e7b5465b1e | refs/heads/main | 2023-07-12T12:35:58.657322 | 2021-08-22T05:20:50 | 2021-08-22T05:20:50 | 398,720,517 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 953 | r | rev.R | m=matrix(c(1,2,3,4,5,6),nrow=2,ncol=3,byrow=TRUE)
print(m)
f=c(1,2,3,4,5,6,7,7,8)
a=factor(f)
print(a)
nlevels(a)
class(a)
a=4+5
print(a)
a=5
b=6
a<b
TRUTH VALUE TABLE(&) AND
A B RESULT
T T T
T F T
F T T
F F F
A=FALSE
B=TRUE
A&B
x=34
if(x>30&x... |
79303d3467f3a27078547741d8671e57613263ba | 392fe0cc9fac49f1c101d32288aa3f661f4e5a10 | /runDataCompression.R | d1fe453d5f84b8fb4c058153f266a4a71ee6f275 | [] | no_license | mwinnel/ARC-Project | bf3b8c053131cd22622dd81c4b9d290e972de4ce | 879f04cc419fe39d92ae416dfb5217047b12a5fd | refs/heads/master | 2021-01-24T20:25:40.735664 | 2015-04-08T03:41:20 | 2015-04-08T03:41:20 | 28,791,006 | 0 | 0 | null | 2015-03-24T06:04:47 | 2015-01-05T00:42:06 | R | UTF-8 | R | false | false | 4,533 | r | runDataCompression.R | #------------------------------------------------------------------------------------------
# PROJECT: Griffith University ARC Linkage: WQAIS
# Author: Melissa Winnel
#
# File: runDataCompression.R
#
# Function: Data Compression algorithm - follows the Douglas Algorithm
#
#
#-------------------... |
a515d8d3f03b3a7b830975898e975b5946c88104 | d87690700ec1de1392c0a66f24da07c6a00c653d | /R/certificates.R | e5b886d43303b9ee72d11216942ca278e74628be | [
"MIT"
] | permissive | Peidyen/AzureKeyVault | f0d7993f77b233c00334b41e61d949c2ed8158db | 1dcef3780fff06dface756b88418c836fe939f5e | refs/heads/master | 2020-05-23T07:39:16.190116 | 2019-05-12T21:59:47 | 2019-05-12T21:59:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,156 | r | certificates.R | #' Certificates in Key Vault
#'
#' This class represents the collection of certificates stored in a vault. It provides methods for managing certificates, including creating, importing and deleting certificates, and doing backups and restores. For operations with a specific certificate, see [certificate].
#'
#' @docType... |
57ef8f898185961766c31baf5277759d368d0804 | 2da2406aff1f6318cba7453db555c7ed4d2ea0d3 | /bin/snipping/amsfast2.R | f2b219e60b9e384dae1bc8cf57092826ed0c67e7 | [] | no_license | rpruim/fastR2 | 4efe9742f56fe7fcee0ede1c1ec1203abb312f34 | d0fe0464ea6a6258b2414e4fcd59166eaf3103f8 | refs/heads/main | 2022-05-05T23:24:55.024994 | 2022-03-15T23:06:08 | 2022-03-15T23:06:08 | 3,821,177 | 11 | 8 | null | null | null | null | UTF-8 | R | false | false | 387,988 | r | amsfast2.R | ## ----fastR-setup,include=FALSE, cache = FALSE----------------------------
includeChapter <- 1:7 %in% (1:7) # [-6]
includeApp <- 1:4 %in% 1:3
require(MASS) # make sure this comes before dplyr loads
require(Matrix) # make sure this comes before mosaic loads
require(fastR2)
require(mosaic)
theme_set(theme_bw())
requi... |
eedf8816bb7e05ba3baec70830b1ad43bc726a37 | 9dc0c09d53087c59bbc2caf8fc392ef5a11502f6 | /man/run_predict_api.Rd | 0d2afaa2e6ce523c7688022631a7ebefb2bc187d | [
"MIT"
] | permissive | xvrdm/ppp | 140c77f5ab1956b5db262fb2216df8b912fde14e | 80cc57e09a79e473701a26d800bffba3d203e88d | refs/heads/master | 2020-12-26T08:18:18.129636 | 2020-01-30T01:26:21 | 2020-01-30T01:26:21 | 237,444,900 | 1 | 0 | NOASSERTION | 2020-01-31T14:20:29 | 2020-01-31T14:20:28 | null | UTF-8 | R | false | true | 530 | rd | run_predict_api.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict.R
\name{run_predict_api}
\alias{run_predict_api}
\title{Run the housing prediction API}
\usage{
run_predict_api(log = TRUE, ...)
}
\arguments{
\item{log}{Logical. Should Plumber APi log requests. Default is TRUE.}
\item{...}{Options ... |
b08bab423f876fa9fd4b8d543522abe1fd86d487 | 72d03ec10b4955bcc7daac5f820f63f3e5ed7e75 | /input/gcam-data-system/gcam-usa-processing-code/level1/LA119.Solar.R | f7193ad0d1f324f4a7327581ecf4205d8793ef40 | [
"ECL-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bgmishra/gcam-core | 54daddc3d037571bf745c4cf0d54c0d7a77f493f | bbfb78aeb0cde4d75f307fc3967526d70157c2f8 | refs/heads/master | 2022-04-17T11:18:25.911460 | 2020-03-17T18:03:21 | 2020-03-17T18:03:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,421 | r | LA119.Solar.R | # Before we can load headers we need some paths defined. They
# may be provided by a system environment variable or just
# having already been set in the workspace
if( !exists( "GCAMUSAPROC_DIR" ) ){
if( Sys.getenv( "GCAMUSAPROC" ) != "" ){
GCAMUSAPROC_DIR <- Sys.getenv( "GCAMUSAPROC" )
} else {
... |
5b28221fa661d0b0aca69ab5cb7015b37631e4bd | b87e4612bf378a95a08c79245a77448309abfa8e | /inst/doc/Data-Model.R | 34296652982277d16e33cc55fc7577f4fd5a65dc | [] | no_license | cran/fishdata | e7d95767a0c483190176e42fb98f5746bc18e3d3 | 05a4b3160639321b92eadf05a3625607a23d1c59 | refs/heads/master | 2021-07-21T01:35:34.386558 | 2021-05-23T03:20:02 | 2021-05-23T03:20:02 | 121,367,706 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,754 | r | Data-Model.R | ## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ---- setup, echo=FALSE, message=FALSE----------------------------------------
library(fishdata)
library(dm)
library(DiagrammeR)
data("adult_growth")
data("adult_metrics")
dat... |
aefafe1eb7b0320622b208f0bdc76fd0b501709b | f16ec098e8085462c398f2f6fcbb5a55a6dee8b2 | /plot4.R | 79945accf9421e2f0efb86df87f64ffc82ec9d81 | [] | no_license | andersonkmi/Exploratory-Data-Analysis-Project-2 | 18e7ac3edcc800672c02acb50f52cbc2d5466729 | 3ff12a53f25de2973639c371b9bd2bf60d101047 | refs/heads/master | 2021-01-11T03:51:10.484215 | 2016-10-23T18:21:49 | 2016-10-23T18:21:49 | 71,256,424 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,031 | r | plot4.R | #######################
### Library loading
#######################
library(plyr)
library(ggplot2)
library(data.table)
#######################
### Loading data sets
#######################
nei <- readRDS("summarySCC_PM25.rds")
scc <- readRDS("Source_Classification_Code.rds")
#################################
### Conv... |
83e4123178cd3a5c9124c5f89b945a0148f422e3 | 09e4d997f1d7b6b5bb7c587a8847be0fc76c92a7 | /forecast_pov.R | d6488836517da3fc71dcb09f615377765dc8f4ca | [] | no_license | OlivierNDO/python_misc | 29174b8b2e964ba055032a5996082830bbf1d7f4 | ff026ac4fd54ecbde86b8ca52caa6532863979c6 | refs/heads/master | 2021-11-19T11:13:25.493494 | 2021-09-06T15:13:22 | 2021-09-06T15:13:22 | 146,823,864 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,945 | r | forecast_pov.R |
### Configuration
#############################################################################
# Load Packages
config_req_pkgs = c('kableExtra', 'MASS', 'plotly', 'rmarkdown', 'stringr', 'tidyverse', 'tidyquant')
lapply(config_req_pkgs, require, character.only = TRUE)
options(scipen = 999)
# Data
df = read.... |
2f93b3455a049b6e563d115f690bff6f56be728e | f0352034f8467e2c82a31443ae6e3125039879ac | /man/ClusterFunction-methods.Rd | ccec04eade1a200a6f0f1c2eea3bc169db818898 | [] | no_license | epurdom/clusterExperiment | 8d5d43a250a1a3c28d4745aae4b72285458ba1a2 | ae86ee09697c13ccd5d32f964e28ab7d82b455d6 | refs/heads/master | 2022-11-04T01:54:19.806886 | 2022-10-11T22:00:27 | 2022-10-11T22:00:27 | 47,139,877 | 39 | 15 | null | 2021-01-27T21:26:28 | 2015-11-30T19:06:53 | R | UTF-8 | R | false | true | 2,407 | rd | ClusterFunction-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllHelperClusterFunction.R
\name{ClusterFunction-methods}
\alias{ClusterFunction-methods}
\alias{requiredArgs,ClusterFunction-method}
\alias{requiredArgs,list-method}
\alias{requiredArgs,character-method}
\alias{requiredArgs}
\alias{requiredA... |
d94fa005568f364dc7b5eeec07234753c131dc4b | 3eeb623f14e24cdcb09f89ba1e44320598c83b39 | /plot_power.R | 9876a9f870ed420d7ed45c3d2a02e30fa81cc624 | [] | no_license | gbiele/sumscores | 85c1e9a9b66b4e658a4519a138405381b1fe8da2 | e861619d64400c030ad418eaae9bf8968e6262f6 | refs/heads/master | 2022-06-15T21:44:58.732036 | 2022-05-25T20:14:53 | 2022-05-25T20:14:53 | 155,848,880 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,744 | r | plot_power.R | library(boot)
library(VGAM)
library(TeachingDemos)
load("sims.Rdata")
K = 1
N = 100
breaks = -.5:22.5
df = data.frame(all_stats,row.names = NULL)
df$model = rep(c("bbr","l","lr"),length(bs)*3)
df$mu = inv.logit(df$mu)
cols = list(bbr = "green", l = "red", lr = "blue")
par(mfrow = c(2,3))
for (phi in phis) {
for ... |
ea85942b341f81bf12e04ec7e429d070210af0b1 | 1a965bbd2f0b7e5873408e1e2b3441e199342005 | /scripts/quarterly-earnings-forecasts.R | 3c16a33bea7d5831290fa061ae5efec3ec2e063c | [] | no_license | 196sigma/ceres | ef8f465f9a230ab3c5b03684b6244e61173d1b94 | a248f62268b28a5d999f99fbc67cadd1b9d4bdd4 | refs/heads/master | 2021-06-27T16:31:10.764845 | 2020-10-17T01:07:47 | 2020-10-17T01:07:47 | 139,374,322 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 492 | r | quarterly-earnings-forecasts.R | ## Reginald Edwards
## 16 June 2018
##
## Forecasting earnings treating each firm as a time-series, using only lagged
## fundamentals for that firm,
rm(list=ls())
gc()
load("data/comp_fundq.RData")
X <- comp.fundq
###############################################################################
## Linear Models
####... |
fc5ab6feae6ceb332ff0a0d5ac6be2a6454ffbc7 | 7ff48f68b3e0230ee48abcf19650846761f3822d | /utility_scripts/compute_ld_snprelate.R | b96bedc5ed46960601996e5b4a32ea26333efdf5 | [] | no_license | ksamuk/whtstbk_geno | 1b9e9b10ca2aecc612219e7910ebe01b51fc2f8a | cdbb51af1b47041cc41240b03e30fd75a7292121 | refs/heads/master | 2021-01-10T07:59:30.942748 | 2016-04-03T20:43:37 | 2016-04-03T20:43:37 | 49,299,126 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,753 | r | compute_ld_snprelate.R | # prepare a LD-pruned snp file for fastStructure
# the key problem this solves is splitting a multipopulation snp file
# into multiple files, applying the LD pruning, and reforming the multipop file
# Kieran Samuk Feb 10/2016
################################################################################
# Librarie... |
4e399132299ff5dbdcae0b1bd65577de2cba5269 | b435fa4b7808e7d5dfdf2e17d795e76e9f1047d2 | /esercizi_R/esercizio_MASL_0_1.R | cd375fec85a218ea5a0b37bedbf8499ef347d049 | [] | no_license | MattBlue92/MASL_2019 | cba0d8b86de0aee37584b2f077193cd130907860 | 1a0c94cf5a603235a39cbddf07ecefd2f5e7901a | refs/heads/master | 2020-08-02T08:43:01.324553 | 2019-11-08T17:20:56 | 2019-11-08T17:20:56 | 211,289,118 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 992 | r | esercizio_MASL_0_1.R | #esercizio slide: Introduction to MASL
#impostatione dei parametri del modello e della simulazione MC
n = 1000
nsim = 100
sigma = 2
b0 = -1 # intercetta del modello
b1 = 2 # coefficiente di reg per X1
b2 = 1 # coefficiente di reg l'interazzione tra X1 e X2
#fine impostazione dei parametri
# generazione dei dati e del... |
fa89a1b82cf4396206e291634c93d0edd95a882c | 0d544d53685b8f94179203d89e05797266dabba1 | /man/filterCount.Rd | f8626ebcdc22ae4519be78307c0a67838bd040be | [
"MIT"
] | permissive | jianhong/deepToolsDownstream | 723a6e31ddbba523b50218160936a5da244ff22b | 214ab7b238b4cd68dcd897cb790eb2deb1f6a0e7 | refs/heads/master | 2021-10-24T16:40:18.131278 | 2021-10-21T15:52:58 | 2021-10-21T15:52:58 | 243,008,168 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 688 | rd | filterCount.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filterCount.R
\name{filterCount}
\alias{filterCount}
\title{filter computeMatrix output}
\usage{
filterCount(se, subset)
}
\arguments{
\item{se}{a SummarizedExperiment object from \link{importCount}.}
\item{subset}{filter condition for rows.... |
f17a3179a6008265a246c99607bf92f3508b1727 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/geozoning/examples/touch.border.Rd.R | 6b41db0ec5406293b66b162a8e28d9192696efec | [] | 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 | 603 | r | touch.border.Rd.R | library(geozoning)
### Name: touch.border
### Title: touch.border
### Aliases: touch.border
### ** Examples
map = geozoning::mapTest
criti = correctionTree(qProb = c(0.5), map = map)
Z = criti$zk[[1]][[1]]$zonePolygone
lab = criti$zk[[1]][[1]]$lab
# zone correction
res = correctBoundaryMap(Zi = Z, map = map)
Z = re... |
11daf90ba9daa5c7bdeedacd5af8b3cb6843a781 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed_and_cleaned/11020_0/rinput.R | 3a63d94d213de07b40f334d8fb71cf5452c0530f | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("11020_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="11020_0_unrooted.txt") |
2e34788bce74897c19f9f30b3879221a6307ae85 | e6198537ddbe2d29ab506b9049407f9ab71c591f | /app.R | be6c721abb7f76122e5b9ee1685e2e1805333875 | [
"MIT"
] | permissive | GroundB/SecretSanta | ab7b175c6a199cd05bc94af7ad4e6de86e46ca55 | 05bf877ec2e422b39511fbd5e7f30965279477e8 | refs/heads/main | 2023-01-13T06:47:05.094748 | 2020-11-18T22:45:57 | 2020-11-18T22:45:57 | 307,253,709 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,497 | r | app.R | library(shiny)
library(shinymanager)
inactivity <- "function idleTimer() {
var t = setTimeout(logout, 120000);
window.onmousemove = resetTimer; // catches mouse movements
window.onmousedown = resetTimer; // catches mouse movements
window.onclick = resetTimer; // catches mouse clicks
window.onscroll = reset... |
2f5d31b2f5bf0f0b0817b3bc4a0536ef146a2de1 | 8e35f38bbb6f3f27896e567b75dace5e0be013c1 | /man/full_plot.Rd | 69196eed27ac8de2bf5bd156cccd73b817cc12ff | [] | no_license | eknit/isotopevis | 4785699263f2f35629f20e93bab3d61512b48651 | 103a6af8d6ab090950c95f20ec18c50091a4474f | refs/heads/master | 2020-12-02T18:22:25.412682 | 2016-02-06T12:13:51 | 2016-02-06T12:13:51 | 37,761,721 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 278 | rd | full_plot.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/isotopevis.R
\name{full_plot}
\alias{full_plot}
\title{full_plot makes grid of all plots}
\usage{
full_plot(models, s, ncol = 3, nrow = 4)
}
\description{
full_plot makes grid of all plots
}
|
0798769de9fc9e12f33184e8e2ef6de962d024d5 | 557cda9a1cb3fd04da7ef15c9adec69bb3df9888 | /man/collegerg.Rd | ca6cc36749983dc522c300ba39a72009dedc43a3 | [] | no_license | cran/SDAResources | 7e4cb27a87fa4e8e334f641c419fcc6e912e33a2 | addafccfb82d962f234606fc6fcb2386fc8f60f3 | refs/heads/master | 2023-08-22T23:38:51.589732 | 2021-10-22T08:20:13 | 2021-10-22T08:20:13 | 368,240,812 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 6,077 | rd | collegerg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/collegerg.R
\docType{data}
\name{collegerg}
\alias{collegerg}
\title{collegerg data}
\format{
This data frame contains the following columns:
\describe{
\item{unitid:}{unit identification number}
\item{instnm:}{institution name (character, l... |
17308440ca5cbf1ece5f801b34e7aa481724008a | 555651902520492b50c5c3e67e81a699bcc781a4 | /data_construction_and_analysis/lme_cut.R | 303efc029daa23fb5ea8d68d6173a5f9e2a8de72 | [] | no_license | LaurenzLammer/socialisolation | 6087a6f28091c59c8d1abbe7d20cf5deccb1c1a2 | 96e0b8ba6d3c76a53d84f7a813399f33e5dc13d9 | refs/heads/main | 2023-06-08T15:02:45.158446 | 2023-03-25T22:57:31 | 2023-03-25T22:57:31 | 332,746,212 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,020 | r | lme_cut.R | library("lme4") # 1.1-31
library("lmerTest") # 3.1-3
# ensure that lmerTest doesn't mask lmer, which would cause us multiple problems
lmer <- lme4::lmer
source("/data/gh_gr_agingandobesity_share/literature/methods/statistics/linear_models_course_rogermundry_2018/functions/diagnostic_fcns.r")
source("/data/gh_gr_agingan... |
a57be0f830f58adc80e2fef05fd595429164f83d | 83b90bb828d6057b70296968602a3d56d0ec7302 | /06-hds-analysis.R | 1c38ba69f73db5170ab69b746dc21fc9880be721 | [] | no_license | awong234/parasite_analysis | 77f9d5d706b96736a7023d616d4b74e7a493d4f4 | 4510b3919e849213324169530ceb9f5591908e2a | refs/heads/master | 2020-04-29T12:44:40.882511 | 2019-08-24T17:10:36 | 2019-08-24T17:12:18 | 176,148,729 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,704 | r | 06-hds-analysis.R |
# Setup ----------------------------------------
library(INLA)
library(inlabru)
library(doParallel)
library(magrittr)
library(ggplot2)
library(MASS)
library(GGally)
library(MuMIn)
library(viridis)
library(reshape2)
library(dplyr)
source('functions.R')
load(file = 'scaled_covariates.Rdata')
load(file = 'scaled_covari... |
770beed264d08e11906f65f3de183f1339cb1de3 | 96ea123f9e5756ceb6842cebc995f8c96256ae68 | /chap3/8.R | 0170a08653f1a155b88ec284703da02137a39cd6 | [] | no_license | khoanguyen8496/stat_learning | 2c97999e8c434a1ad5f90b703aff0bef9affdd68 | 2e71fed5fd2b755546658393bb18fa7530ea6387 | refs/heads/master | 2021-01-20T10:19:26.180591 | 2017-05-05T17:43:56 | 2017-05-05T17:43:56 | 90,345,220 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 741 | r | 8.R | library(ISLR)
library(MASS)
# a) use lm to perform a simple linear regression
lm.fit = lm(mpg~horsepower, data=Auto)
summary(lm.fit)
# i. there is a relationship between the predictor and the response, since the p-value <
# 2e-16. Therefore, we can reject the null hypothesis that is \beta1 = 0
# The relationship betwee... |
30cbdfd650ad9d98ade8af753f2825c31ef17179 | 5612d154b5c939aefefbad586e3bebaf7db6a532 | /man/Full.PFS2.Rd | afc9c3900d618d33302cef379fd4984dcaef97cc | [] | no_license | AspenMeow/MSUDataPull | c1938e4a6d0f22419715c8de024e60d06551bed6 | 3fecbd9ce556b4bbae602221c5747181faf883d7 | refs/heads/master | 2023-04-30T12:21:11.038925 | 2020-04-03T19:42:07 | 2020-04-03T19:42:07 | 369,385,234 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 690 | rd | Full.PFS2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pulldata.R
\name{Full.PFS2}
\alias{Full.PFS2}
\title{Undergrad Persistence Rate SISFull}
\usage{
Full.PFS2(cohortterm, output = "aggregate")
}
\arguments{
\item{cohortterm}{a numeric vector to indicate the fall entering cohort 1st Fall term e... |
deda6cd92b3dad9a2217e0b03f8d025b134e8304 | 44fd958dbab924ae9d727b1fecac2e54157c5acb | /Extra practice code/Project_KNN.R | 8f389439aa8eb47d421398ef887d025c39009028 | [] | no_license | vssource/prediction-and-classification-of-H1-B-visa-application | bd2abfe5ecd2835295d87a69f48ff3ffac9793f6 | 8fb6c434243f06b2dfd287c5423b572a9b3c358f | refs/heads/master | 2023-03-10T06:25:57.225919 | 2021-02-26T02:24:42 | 2021-02-26T02:24:42 | 342,433,004 | 0 | 0 | null | 2021-02-26T02:24:43 | 2021-02-26T01:54:37 | R | UTF-8 | R | false | false | 10,427 | r | Project_KNN.R | options(scipen = 999)
library(caret)
library(dummies)
library(FNN)
library(dplyr)
library(plyr)
H1b <- read.csv(file = "h1b_kaggle.csv", header = TRUE)
#considering only year 2016
H1b16 <- subset(H1b, YEAR == 2016)
#remove Column X and YEAR
H1b16 <- H1b16[,-c(1,8)]
#Checking for na
table(is.na.data.frame(H1b16))
H1b... |
33d5726fec4aa8e8fb99f185c3fc9bed38f21d10 | 1117b3de762f3be75c5543f542357c465fa9906b | /R Basics/STAT40180_STAT40620__Lecture_2_R_code(1).R | d25c369270660cf2068c19d32846a14ec97433b4 | [] | no_license | jjaitley/R_Programming_Practice | 5750425af5cd503662a93da7743becbead8cc532 | 407e83e1410f06661aadc094f4e01803623864bc | refs/heads/master | 2020-04-17T10:08:30.789235 | 2019-01-19T00:29:26 | 2019-01-19T00:29:26 | 166,489,205 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,856 | r | STAT40180_STAT40620__Lecture_2_R_code(1).R | # Code for lecture 2 on vectors, matrices and arrays
# Numeric and character vectors
x <- c(1, 2, 4)
y <- c('cat', 'dog', 'rabbit')
# Use mode to find out what type they are
mode(x)
mode(y)
# Create a matrix and access bits of it
m <- matrix(1:6, nrow = 3, ncol = 2)
m
# First row
m[1,]
# Second and third rows and fi... |
34a1997f69db021384b39f9ac82cb9ca1c604f5e | eb9a849526ee437fa61f91c60741e7718e8ffe52 | /Exploratory-Data-Analysis/Project-1/plot3.R | 34e5c897501e940b594b38ffc84a50d8b1be342b | [
"MIT"
] | permissive | aj00786/Coursera-Data-Science | c47f8c8933750023d24a16cca9c8bcc21572784a | 2fd5c8c04f77feaaa930c165a959dbe9fee64310 | refs/heads/master | 2023-03-18T10:04:50.202211 | 2016-11-27T02:33:59 | 2016-11-27T02:33:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,397 | r | plot3.R | # Create data file from Electric power consumption data
fileName = "household_power_consumption.txt"
proj1 <- read.table(fileName, header = TRUE, sep = ";", na.strings="?" , stringsAsFactors=FALSE)
# Please note that running the above command with na.strings="?" didn't convert the numerical data
# to FORMAT so I... |
5b5ed24efcb509fa5498544f388c6d9bda25fb1a | b0593a0e4c43fef2a12ebe631551a8e7545f01c5 | /lab1/1BM18CS414_LAB1_program.R | de4120d18a20d48c0238bd0411f6e853a7830757 | [] | no_license | priyanka-cse/DSR_1BM18CS414 | 11b7a280441fb7f6bcc7d9049e38ae0f5dffdb14 | d2f3013d87f0874ece1f7a077721a384f5db7deb | refs/heads/master | 2023-01-13T08:57:25.612408 | 2020-11-17T07:09:53 | 2020-11-17T07:09:53 | 299,528,974 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 132 | r | 1BM18CS414_LAB1_program.R | N1<-c(10,20,30,40)
str1<-c("water","lemon","juice","milk")
Rlnum<-c(23.4,44.5,5.67,7.89,)
list1<-list(N1,str1,Rlnum)
list1
|
c8d6b798e4b562a09c2b2d77863fad667fe33c08 | cbdb720cc2fddc4a3723b562042796a35704bae9 | /man/SaveADL.Rd | 8e9dea67b615e8a49157fe95020601e7025c81af | [] | no_license | duartegomes/SamplePackage | f3a359fc165e84013ce7eff3818fa2f0c92d625a | f48b85abe797b6d6397bfc31b1b9b412ddd3d766 | refs/heads/master | 2020-04-03T07:57:51.977313 | 2018-12-12T10:32:23 | 2018-12-12T10:32:23 | 155,119,339 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,870 | rd | SaveADL.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SaveADL.R
\name{SaveADL}
\alias{SaveADL}
\title{Save file in the Data Lake}
\usage{
SaveADL(Data, FileExtension = "csv", ADLDirectory, ChunkName, SavePath,
SaveLocal = T)
}
\arguments{
\item{Data}{This is a required field and is usually a T... |
01e32ae61e68d944bd79fadaf1da0f14acf589cd | c7e9a7fe3ee4239aad068c6c41149a4a09888275 | /OLD_GALLERY_RSCRIPT/#209_options_of_barplots.R | 2d87c200e13c7877b97b75a83d9c4dd38dd26d74 | [
"MIT"
] | permissive | holtzy/R-graph-gallery | b0dfee965ac398fe73b3841876c6b7f95b4cbae4 | 7d266ad78c8c2d7d39f2730f79230775930e4e0b | refs/heads/master | 2023-08-04T15:10:45.396112 | 2023-07-21T08:37:32 | 2023-07-21T08:37:32 | 31,253,823 | 591 | 219 | MIT | 2023-08-30T10:20:37 | 2015-02-24T09:53:50 | HTML | UTF-8 | R | false | false | 1,882 | r | #209_options_of_barplots.R |
# Let's create a vector of data:
my_vector=c(3,12,5,18,45)
names(my_vector)=c("A","B","C","D","E")
# The most basic barplot you can do:
# see # for explanation
barplot(my_vector)
# Change color with col: uniform
# text utile: Single value or vector giving the border color of the bars. If vector length is less # of b... |
2e3c43b5c91e154425c6f106385c97e09dd10ef6 | 495ebf2ec08b9fabdaa689c7b9aa8bedd168a022 | /man/ExploreModelMatrix-pkg.Rd | 7aa979828e6b78c627d4952408414bc3376486c5 | [
"MIT"
] | permissive | csoneson/ExploreModelMatrix | bec8a9556beaa4bd906b5a8eb777fcc2f8470f50 | 5ec1ff318756631c4e1235457f5b41582dfe4580 | refs/heads/devel | 2023-05-25T18:55:09.510113 | 2023-05-13T07:39:31 | 2023-05-13T07:39:31 | 195,576,287 | 37 | 2 | NOASSERTION | 2023-04-22T18:53:05 | 2019-07-06T19:32:33 | R | UTF-8 | R | false | true | 585 | rd | ExploreModelMatrix-pkg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ExploreModelMatrix-pkg.R
\docType{package}
\name{ExploreModelMatrix-pkg}
\alias{ExploreModelMatrix-pkg}
\title{ExploreModelMatrix}
\description{
ExploreModelMatrix is an R package for visualizing design matrices generated
by the \code{model.m... |
081928a597ce9a3ecdf0a10d42c12d8d7bf80e4a | 8eaffbeb1b0fa677ffc1990144bdfb095b637aac | /man/breaks-class.Rd | 6a8486452ca1db566ec64a7c01906eab5d67c3e3 | [] | no_license | ccbiolab/svpluscnv | 55cc885b3ca13a7e8f9caaeac4468f55424c16a6 | 57db725bad63233b1c45583045a49dc0d4815b7b | refs/heads/master | 2021-01-09T04:10:02.148245 | 2020-09-07T23:17:10 | 2020-09-07T23:17:10 | 242,241,163 | 20 | 1 | null | 2020-07-30T15:45:11 | 2020-02-21T22:24:05 | R | UTF-8 | R | false | true | 821 | rd | breaks-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/breakpoint.density.r
\docType{class}
\name{breaks-class}
\alias{breaks-class}
\alias{breaks}
\title{Data class breaks}
\arguments{
\item{breaks}{(data.table): the breakpoint info containing data.table, this will be occupied by the CNV segment... |
c3048b567c30b821a16605072c4a6531fc88a93e | ec4536f9edbb1ccbf582204e24dd5e1d72afd8e2 | /R/blockSize-rasterprocessing-function.R | a27537e1cbae00f470247295fc40e8e3470e5e72 | [] | no_license | monsoonforest/scripts-forever | 2d5f9a7fb18bdc2c34f931eb4ad0ce20a17eedac | 45c8dd0eb9c4d7b12e78a68e7402479687e012dc | refs/heads/master | 2023-06-15T06:10:31.206443 | 2021-07-07T15:22:18 | 2021-07-07T15:22:18 | 159,921,435 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 657 | r | blockSize-rasterprocessing-function.R | ## read more about this and other memory efficient ways of dealing with rasters in Writing functions with the ”raster” package Robert J. Hijmans September 7, 2015
# type this in bash to open it
# xdg-open /home/chintan/documents/work/literature/stas_programming/r-programming/Hijmans-2014-Writingfunctionswiththe”raster... |
358a7d5f46618094da2684497257563376465b37 | 76e47464f4313b79f95fecf01067aa3a6b713d8b | /man/bioclim_miroc5_rcp60_2080_landonly.Rd | dc45e16d458808149b277f94479c0a15685d8848 | [
"MIT"
] | permissive | zejiang-unsw/rISIMIP | 460116d1f6e23826bb9de57e8ee731d29f379730 | 9f9af06dd51d936932795c4cf2a99216fbfcea23 | refs/heads/master | 2021-01-04T09:46:43.105805 | 2019-12-20T11:36:35 | 2019-12-20T11:36:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 644 | rd | bioclim_miroc5_rcp60_2080_landonly.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rISIMIP-package.R
\docType{data}
\name{bioclim_miroc5_rcp60_2080_landonly}
\alias{bioclim_miroc5_rcp60_2080_landonly}
\title{Global bioclimatic data for 30-yr period centered around 2080 acquired from MIROC5 model data under RCP6.0}
\format{\... |
ed31233fde980d7064e343d74f68a25d932f5901 | 08fdbab8e6d7d78eb8ae5be069b22553d06ac445 | /R/functions.R | 30de3f1b7ee073ef9c3e34d7c6b3acfa65279702 | [
"MIT"
] | permissive | ficusss/Pagoda2GraphImprovement | 939f66d1e87f97c4e0dac846adff213e08b0372c | b6672ff370625cebcbaf8510a8ae82228b2daa94 | refs/heads/master | 2020-04-04T15:20:47.123511 | 2019-02-13T16:26:30 | 2019-02-13T16:26:30 | 156,034,072 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,697 | r | functions.R | #' @export
PlotPagoda <- function(data, embedding.name, cluster.name=NULL, size=0.3, alpha=0.5) {
embeddings <- data$embeddings$PCA[[embedding.name]]
clusters <- data$clusters$PCA[[cluster.name]]
ggplot2::ggplot() +
ggplot2::geom_point(ggplot2::aes(x = embeddings[,1], y = embeddings[,2], color=clusters),
... |
3a6e0f2e505bb24aff2f218ff0daeec22b7bd18d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/adaptalint/examples/extract_style.Rd.R | f64bfe0903030d12596a5b5654e2b34aa77e0cfc | [] | 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 | 315 | r | extract_style.Rd.R | library(adaptalint)
### Name: extract_style
### Title: Find style of a file
### Aliases: extract_style
### ** Examples
# Get the path to a file to check
path <- system.file("extdata", 'styles.R', package='adaptalint')
# Find out the provile of lints in this package
style <- extract_style(filename = path)
|
e1e9347424851ae9a75178e5555aa14ae40a1e7c | f9cc21864821bfb3bd900776738dc431c4f3298c | /quizzes/quiz2qu7.R | b8954ad65f06852f32c99ab59f75426394d5fdfa | [] | no_license | BananuhBeatDown/Regression_Models | a7ee7851d584bc8e8d5cd6d44b5e6e2a25d96633 | 5ff0183fec63660557408c5d64c0c3fcc97f9884 | refs/heads/master | 2021-06-01T09:48:07.268792 | 2016-07-11T20:37:20 | 2016-07-11T20:37:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 80 | r | quiz2qu7.R | # centimeters = 1/100 of a meter, so multiply by 100 to get normalize for meters |
39bf82558d59ba9d0505cac7c65b99faad50b66b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/lasso2/examples/Iowa.Rd.R | bbbb1d7934c84ba1e3442a4cd08f7e8a206ed1c9 | [] | 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 | 155 | r | Iowa.Rd.R | library(lasso2)
### Name: Iowa
### Title: The Iowa Wheat Yield Data
### Aliases: Iowa
### Keywords: datasets
### ** Examples
data(Iowa)
pairs(Iowa)
|
d217551a89b9a77c0577162ce3024d6cc8bba9b6 | 7898dc4d7e79f533da36d5f981b433933d75c65f | /group5project/R/oralhealthdata.R | e3abf06ccb0c30b8e5aa55867aaf61db0c9f33ef | [] | no_license | khanimzul/group5_project | e3ddc7cd85bc41e7120f3a7d506d1c53325f3991 | 83f7f0456122a13fd75e1207fe625d5df1f650d2 | refs/heads/master | 2021-03-24T13:49:58.679316 | 2017-12-11T05:01:40 | 2017-12-11T05:01:40 | 108,052,265 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,336 | r | oralhealthdata.R | #' Chronic disease indicator- Oral Health
#'
#' Data is obtained from Center for Disease Control and Prevention website,https://www.cdc.gov/cdi/
#' The chronic disease indicators (CDI) are a set of surveillance indicators developed by consensus among CDC, the Council of State and Territorial Epidemiologists (CSTE),
#' ... |
873026480b35fb6dfec0d6ae72449b5f8f400b2d | 5e1174f3f71a74b07059fcead63a6739ba68667e | /R/dataset.R | 520cf49a8226227e4bdb49e1f1dc8986fe47f616 | [] | no_license | Niklas191/amateuR | 8ddbd1cfe9496c81f16551a02cbeb6b118278afa | 91b1be0e18161b5f319ff9310a8bed860ce52480 | refs/heads/master | 2020-07-27T08:50:58.968059 | 2019-09-22T15:59:05 | 2019-09-22T15:59:05 | 209,035,863 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 444 | r | dataset.R | #' Dataset for the Kreisliga Goettingen-Osterode
#'
#' Dataset for testing the amateuR package.
#' The dataset contains the data vector for the Kreisliga Göttingen-Osterode in the 2019-20 season, which was downloaded at 2019-09-20.
#'
#' @docType data
#'
#' @usage kreisliga_goettingen
#'
#' @examples
#' all_game_data(a... |
22996e6e11dfb72b5a4efc311e80fbd6646b967d | 7632610e7aeadb88639432ae8b3fd620fbb6cda3 | /R/get_mean_sd_rasters.R | 03a17d4a1fc788d8323a09a1f3bcb143eed242e3 | [
"MIT"
] | permissive | hrvg/statisticalRoughness | 898ceece48f9c0dc2d62d0409e3d22e425bd5bb0 | 6f96da69b918eda491596bc2f6298b9d6ed0c3c7 | refs/heads/master | 2023-07-24T12:52:47.789486 | 2021-03-03T01:32:29 | 2021-03-03T01:32:29 | 275,955,288 | 1 | 0 | NOASSERTION | 2021-04-17T19:47:08 | 2020-06-30T00:19:59 | R | UTF-8 | R | false | false | 480 | r | get_mean_sd_rasters.R | #' Compute box-counting mean standard deviation rasters
#' @param dem initial DEM
#' @param L integer
#' @param R vector of values
#' @return list of rasters
#' @importFrom magrittr %>%
#' @importFrom stats sd
#' @export
#' @keywords Hurst
get_mean_sd_rasters <- function(dem, L, R){
mean_sd_rasters <- lapply(R, functi... |
2229f3b9343e7205a42ec9214b34a9220db09dd1 | 83e19da2b2847b36f2a82e8bf7f38108a4286974 | /inst/testing/PyOptions.R | 7ca10c82cb0452b19c38d3cb9e532753b18f5ded | [] | no_license | cran/PythonInR | dc710e7c21e3d67bee9644517a2fa9c138ee62cd | 064930845cbab2e05bd25ed17a270547521b2a6f | refs/heads/master | 2021-07-13T05:33:42.412009 | 2020-06-21T19:50:06 | 2020-06-21T19:50:06 | 38,826,198 | 12 | 1 | null | null | null | null | UTF-8 | R | false | false | 400 | r | PyOptions.R | #' # pyOptions
require(testthat)
require(PythonInR)
invisible(capture.output(pyConnect()))
## Options
expect_that(names(pyOptions()),
equals(c("numpyAlias", "useNumpy", "pandasAlias", "usePandas", "winPython364", "intToLong")))
expect_that(pyOptions("numpyAlias"), equals("numpy"))
pyOptions("numpyAlias", "np")
expec... |
aebeee7eeb47591c3d8ee980e51d23e061dc98e7 | 51b7e1500f4d227cec7070d2ab82109d738dfa7e | /R/print.betadiversity.R | 378a75ddca88979cd39bb8e75bec7604e4870a05 | [] | no_license | yangxhcaf/gravy | fa0ecae2c8de480b2626b7e7f58cc19af7f0f148 | e1392ec52c723dc92a48361aa8c9c0e288257567 | refs/heads/master | 2021-09-14T09:28:04.962629 | 2018-05-11T07:45:39 | 2018-05-11T07:45:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 143 | r | print.betadiversity.R | "print.betadiversity" <-
function(x, ...)
{
out <- rbind("Gradient" = x$x, "Betadiversity" = x$beta)
print(out)
invisible(x)
}
|
957eab86fa6058873b8e34e79137f755ffc3faee | 53264211a0d64ca1b346828d02266a39e7e9ad4f | /R/exports.R | 8b6739e4621d3e964e5d6bd25c07ede5bc52b9ef | [] | no_license | cran/missDeaths | 7b02b43b42c3f787a6e157085f9c131aba853079 | f8e532e150f6114d20d5e9ca969c6276eddee92f | refs/heads/master | 2021-06-03T03:58:34.165735 | 2020-10-17T17:00:02 | 2020-10-17T17:00:02 | 37,831,946 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,115 | r | exports.R | # @useDynLib missDeaths
#' Initializes the missDeaths population table cache
#'
#' @keywords internal
#'
#'
#' @param poptable
#' @export md.init
md.init <- function(poptable) {
SurvExpInit(poptable)
}
#' Calculates individual expected survival beyond the observation time
#'
#' @keywords... |
f6eba5ad248df7bd276482a7f3a9c2af06045e4e | efd2197ee62e65f5548c8b1fd94ae063af0f57e0 | /plot3.R | 6f88db6a85fd2dc74acb953e59176d92d812bfd7 | [] | no_license | jbewald/ExData_Plotting1 | 5011272dc06cd80e214bff5ff3ddc242826ec125 | f783f19ac281a882e9017b6d7ecc4f4ee8481ce7 | refs/heads/master | 2021-01-21T18:53:25.330992 | 2015-10-09T04:06:55 | 2015-10-09T04:06:55 | 43,824,783 | 0 | 0 | null | 2015-10-07T15:17:44 | 2015-10-07T15:17:43 | null | UTF-8 | R | false | false | 953 | r | plot3.R | setwd("c:/data")
# Read Data
data <- read.csv("household_power_consumption.txt", stringsAsFactors = FALSE, sep=";", na.strings="?")
# Create Date Time Column
DateTime <- as.POSIXct(paste(data$Date, data$Time), format="%d/%m/%Y %H:%M:%S")
# Append new DateTime Column
all <- cbind(data, DateTime)
# Conver Date
all... |
635cc4b661a0b3926a2b2e9d448ac738976488ec | df6c3a1e165ef996c53b3eeda3a531d65cb5e9a1 | /figure_2_through_4_script.R | ae13b1baa2d1a40b920febcfa181bcae671265b9 | [
"CC0-1.0"
] | permissive | tdlan80/uwin_ms_2 | 97e4ef44bfa3cba6e4a91396592f5e963850f63b | 8164972985a056f774552f182cbd54ef52376659 | refs/heads/master | 2023-04-09T11:24:15.582397 | 2021-04-23T20:13:32 | 2021-04-23T20:13:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,916 | r | figure_2_through_4_script.R | source("sourcer.R")
cpo <- read.csv("cpo_scores.csv",
stringsAsFactors = FALSE
)
cpo <- cpo[order(cpo$species),]
which_folder <- "best"
my_files <- list.files(paste0("./results/", which_folder),
pattern = "matrix",
full.names = TRUE)
s... |
b15cf564f5aa2de8b08c260fa55a11f2717729ff | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/robustbase/examples/NOxEmissions.Rd.R | c7f0cdd2e4bfef912af992f34212ef6aea1025e6 | [] | 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 | 819 | r | NOxEmissions.Rd.R | library(robustbase)
### Name: NOxEmissions
### Title: NOx Air Pollution Data
### Aliases: NOxEmissions
### Keywords: datasets
### ** Examples
data(NOxEmissions)
plot(LNOx ~ LNOxEm, data = NOxEmissions, cex = 0.25, col = "gray30")
## Not run:
##D ## these take too much time --
##D ## p = 340 ==> already Least Sq... |
7198fa2eed52ef9d2507026c189e36cb6d08b524 | 027572c07f286cb926750c53d2b21adfac56d7b8 | /inst/examples/updatesummary.R | c010d643de0d01328a87f976deaf198e5af11286 | [] | no_license | gregorkastner/stochvol | 1cf13d9a85f8663c9af2c7c4fe47353ed9c5722f | 5b57ce128d881f9404af91a37dadea49d6afd07d | refs/heads/master | 2023-04-16T04:17:12.993453 | 2023-04-04T20:23:27 | 2023-04-04T20:23:27 | 105,893,704 | 13 | 10 | null | 2023-04-04T20:19:18 | 2017-10-05T13:32:15 | R | UTF-8 | R | false | false | 503 | r | updatesummary.R | ## Here is a baby-example to illustrate the idea.
## Simulate an SV time series of length 51 with default parameters:
sim <- svsim(51)
## Draw from the posterior:
res <- svsample(sim$y, draws = 2000, priorphi = c(10, 1.5))
## Check out the results:
summary(res)
plot(res)
## Look at other quantiles and calculate ESS ... |
87caeaf393f02848531e3f6aeb45930e90e3f5cf | 3dd5ebadd04f3104bc983a667ebb0b6e88485496 | /plot2.R | db4e721c14cb99086efb9116bf0f25db60fdb4d4 | [] | no_license | aaronghunter/ExData_Plotting1 | 8933d1b8bf29d42cef9b39e8aa3065bd404a9d0c | a84fd78cf10d5ebd0267a0de3ea736d19e490830 | refs/heads/master | 2021-01-12T12:58:52.106757 | 2016-10-01T23:17:55 | 2016-10-01T23:17:55 | 69,766,163 | 0 | 0 | null | 2016-10-01T21:59:59 | 2016-10-01T21:59:58 | null | UTF-8 | R | false | false | 473 | r | plot2.R | datafile <- "./Data/household_power_consumption.txt"
data <- read.table(datafile, header = TRUE, sep = ";", dec = ".")
subset <- data[data$Date %in% c("1/2/2007","2/2/2007"),]
dt <- strptime(paste(subset$Date, subset$Time, sept = " "), "%d/%m/%Y %H:%M:%S")
plot(dt, as.numeric(as.character(subset$Global_active_power)),... |
f6bd2b0878a3073b34ed3acfa0aa2525cd9bb84a | 30d3fde9fe6a1df1cddc0fb50d8f8ba89328ad47 | /scripts/wetness_tables.R | e3d839059f5030c9d3d8d8f3e42b98b96fdc0a17 | [] | no_license | jwbannister/sfwcRft | 7a03015dadc679b2a99eaa4566196b975965c4be | 5fd102f0b2927c1c878e736e53edb290a06d2792 | refs/heads/master | 2020-09-14T11:07:35.347486 | 2016-11-22T23:52:02 | 2016-11-22T23:52:02 | 67,552,867 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,936 | r | wetness_tables.R | rm(list=ls())
load_all()
load_all("~/code/owensData")
library(tidyverse)
library(ggplot2)
library(reshape2)
swir_tbl <- wet_record %>% filter(method=='swir') %>% select(-method) %>%
dcast(dca + trgtwet ~ period)
tran_melt <- tran_record %>% select(dca, trgtwet, period, wet)
tran_melt$period <- ordered(tran_melt$pe... |
ddbd0bc70109664ce938bd1507298aa71ead455c | 631946b597e3f80584e146e10510c2d468f52d59 | /analysis_notes/PartialAUC.r | b220a4eafe21a751f07c54dbd14f91f95088c2df | [] | no_license | nyukat/MRI_AI | ebea6b181ac481b42337dcbd4c0c06c9f74b65f1 | fe792d37dfbb87135e13914e72cdd96fdf0b8309 | refs/heads/master | 2023-04-10T20:58:55.962236 | 2022-08-13T17:34:23 | 2022-08-13T17:34:23 | 421,948,410 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,127 | r | PartialAUC.r | # Samples on how to run partial AUC calculations
# install.packages("pROC")
library(pROC)
data(aSAH)
# plot partial AUC ROC for 90-100% sensitivity
roc(aSAH$outcome, aSAH$s100b, percent=TRUE, partial.auc=c(100,90), partial.auc.correct=TRUE, partial.auc.focus="sens", plot=TRUE, auc.polygon=TRUE)
# plot partial AUC ROC... |
f73ef935245662a55f65cdf3735b71319bdb1218 | c5fb23242d4049e3cd556078d1a7bde163ba69f1 | /man/coeffCompare.Rd | 473f63afa14231038459cc9b4505d9c18d76f852 | [] | no_license | guiblanchet/vegan | 4eac5c5ca19ed1683d51646513121dee41847e13 | 6c27b62a2b74be3dfb3210d38060ac2282a03ff0 | refs/heads/master | 2021-01-21T02:46:11.718799 | 2015-06-24T16:08:45 | 2015-06-24T16:08:45 | 23,608,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,870 | rd | coeffCompare.Rd | \name{coeffCompare}
\alias{coeffCompare}
\title{Compare dissimilarities used within the RDA framework}
\description{
This function compares association coefficients used through the RDA
framework with a minimum spanning tree. It was designed to compare how
information explained by one dissimilarity coefficient... |
b81f6255b24859db30519c0a45de00967665412b | 86cea3aab2a52d745af6e15ba361ca0c5a1922d9 | /man/part_kmeans.Rd | 23cca7dc0dfd6fb2e745f5d3bff0d004681b34ee | [
"MIT"
] | permissive | USCbiostats/partition | 27015e9d3d562de8aafb3699e7acf2ec87c88bd7 | a25cf12c9cb091f1f03ff1d7af062ec278faeb8e | refs/heads/master | 2023-01-09T03:57:00.328743 | 2022-12-23T19:38:29 | 2022-12-23T19:38:29 | 178,615,892 | 35 | 6 | NOASSERTION | 2022-12-23T19:38:30 | 2019-03-30T22:02:50 | HTML | UTF-8 | R | false | true | 2,452 | rd | part_kmeans.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/partitioners.R
\name{part_kmeans}
\alias{part_kmeans}
\title{Partitioner: K-means, ICC, scaled means}
\usage{
part_kmeans(
algorithm = c("armadillo", "Hartigan-Wong", "Lloyd", "Forgy", "MacQueen"),
search = c("binary", "linear"),
init_k... |
fb446021ad6a85f23049ca4bd2d422a2b8afc41c | 339867edfaf54148f797beecd1420182b7c66520 | /src/Old_code_cgv/Cov_matrix_meanSE_continuous.R | 06fc52260557cbffd2b3d18ca2051e48e2edcec6 | [] | no_license | RCN-ECS/CnGV | d82946dc3969c101a02bcf09db32fa533a008d85 | 4b362f891770bb6286db5195f58d418c353f2f79 | refs/heads/master | 2023-03-19T15:04:58.192221 | 2021-12-15T16:49:48 | 2021-12-15T16:49:48 | 189,079,692 | 1 | 6 | null | null | null | null | UTF-8 | R | false | false | 9,475 | r | Cov_matrix_meanSE_continuous.R | Cov_matrix_meanSE_continuous <- function(genphenenv_df){
# Estimate slopes
newdat = data.frame()
newdat = meansSE_boot_cont(genphenenv_df, 20)
# Data generation via multiple Regression
phen1 = c(intercept_G1 + slope_G1[d] * env)
plot_dat = (unique(newdat$intercept)) + # Intercept
((newdat[1,2])*(u... |
fb05cf11a6d9239ddff3f3f9c47bde50fa986553 | 49ff0bc7c07087584b907d08e68d398e7293d910 | /mbg/mbg_core_code/mbg_central/LBDCore/man/get_fhs_population.Rd | 7612aeea9b8fb01ac3d27116f43302a7ec22a8ad | [] | no_license | The-Oxford-GBD-group/typhi_paratyphi_modelling_code | db7963836c9ce9cec3ca8da3a4645c4203bf1352 | 4219ee6b1fb122c9706078e03dd1831f24bdaa04 | refs/heads/master | 2023-07-30T07:05:28.802523 | 2021-09-27T12:11:17 | 2021-09-27T12:11:17 | 297,317,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,250 | rd | get_fhs_population.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_fhs_population.R
\name{get_fhs_population}
\alias{get_fhs_population}
\title{Get pre-saved FHS population outputs}
\usage{
get_fhs_population(population_version = "20190403_test_new_cluster_1000d_rerun_fix_draw_squeezed_agg_ordered",
... |
d17bab6b852cdb34dffc4306fa51f4a68bdb571c | 772ab82a2665a8119ada68dddd8601fdcc08fbbb | /man/get.measures.Rd | 382d634d2bd4a4856d9104ef720adcb7df74dcec | [] | no_license | cran/boral | 67457f92ec2eb75dad0d58856b84631b821fceb1 | 8e1b8653ce162961b8fd744c4fb7dbdee3b600ec | refs/heads/master | 2021-07-15T04:16:20.039416 | 2021-03-12T08:50:02 | 2021-03-12T08:50:02 | 23,317,043 | 1 | 4 | null | null | null | null | UTF-8 | R | false | false | 9,951 | rd | get.measures.Rd | \name{get.measures}
\alias{get.measures}
\docType{package}
\title{Information Criteria for models}
\description{
\Sexpr[results=rd, stage=render]{lifecycle::badge("defunct")}
Calculates some information criteria for a fitted model, which could be used for model selection. WARNING: As of version 1.6, this function ... |
9d62047459066766e006860cf9ea06aaf20f756e | 06ebf5fa66d030a61e5b774885d2712951e4a4b6 | /tilvk1.R | 8d1f0e075a1ea2c5667b1b82fde36f5ac0a06535 | [] | no_license | mihassin/todari | b01d43dc08ac04fe8bef801932f7cac1e218d297 | ba7e53e611bdef25e5d6559b4e1800c640d1ff7a | refs/heads/master | 2021-01-21T13:41:22.045573 | 2016-05-17T13:22:39 | 2016-05-17T13:22:39 | 50,838,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 765 | r | tilvk1.R | y1 <- c(0, .3, .5, .1, .1)
y2 <- c(.1, .4, .3, .2, 0)
x <- c(1, 2, 3, 4, 5)
png(filename="y1.png")
plot(x, y1, main="Pistetodennäköisyysfunktio", xlab="y", ylab="f(y; 1)", type="h")
dev.off()
png(filename="y2.png")
plot(x, y2, main="Pistetodennäköisyysfunktio", xlab="y", ylab="f(y; 2)", type="h")
dev.off()
y4<-c(.1, .... |
680afb2bee390df2c8e98ddf6ee473cb75f2206e | 08422d1c775deaaad47f3763e1d30784d72f1fc9 | /man/plotHTree.Rd | 432daab32ffbccfc754c4aebcacf69ce914453c0 | [] | no_license | cognitivepsychology/PISAtools | fb555771ad08afb1c293df22b91442dd24e4e984 | d6c9d226b6f658287db19ac8bb3500484674d7da | refs/heads/master | 2020-12-24T12:47:39.872067 | 2014-05-20T08:31:49 | 2014-05-20T08:31:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,091 | rd | plotHTree.Rd | \name{plotHTree}
\alias{plotHTree}
\title{Performance vs. two level structured variable}
\description{
Some variables, like occupations have natural hirarchical structure.
Function plotHTree() allows to plot the performance against this structure.
}
\usage{
plotHTree(level1, level2, labels, sizes=rep(1, length(leve... |
024ae464fc7acd9666fc7fc348d37bc6fe08845e | a16d90b19d1280d3e0dbb69db1a68920e02073fe | /tests/testthat/test-conversions.R | cbb798a51a67bd3d68de28560d1c82ae3ba1c29f | [
"MIT"
] | permissive | potterzot/naptools | bb202fc8729ef5ed8b6bd35b34a556649ef382f6 | 0828f2bf4222af7e29a453ee27f2a5f97dbf0c10 | refs/heads/master | 2021-02-16T06:06:37.774648 | 2020-03-04T18:25:30 | 2020-03-04T18:25:30 | 244,974,748 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 119 | r | test-conversions.R | context("Conversion between units")
test_that("acres_to_kmsq works", {
expect_equal(acres_to_kmsq(1), 247.105)
})
|
3300794f3e8fd9a574ef69b722fe6d4eecbb50c4 | 7bf051cd6df8796c50f7977a6e8e93d149733fdc | /R/downsample_fractions/outer-downsample-fractions.R | 6f025e4fcf86f3a9c1b526806441b4fb60e578cb | [] | no_license | skinnider/CF-MS-analysis | d8cd9e581d2687deb6e9d23719c4b72fbfb049ca | 6253d47346f2c9323884a3bea80caeffbe3089ea | refs/heads/master | 2023-04-10T06:18:43.047922 | 2021-03-08T15:34:41 | 2021-03-08T15:34:41 | 310,446,498 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,523 | r | outer-downsample-fractions.R | setwd("~/git/CF-MS-analysis")
options(stringsAsFactors = F)
library(argparse)
# parse arguments
parser = ArgumentParser(prog = 'outer-downsample-fractions.R')
parser$add_argument('--allocation', type = 'character',
default = "rrg-ljfoster-ab")
args = parser$parse_args()
library(tidyverse)
library... |
6aaa6c6155868a1a0cb5b83b6534434a1fe8da12 | ec9096db7e6f33846d86b1af9a5d833a1cfa482d | /man/submitTrade.Rd | 14aaa0aadc0ed3e557e5a9651572de6c63741df4 | [] | no_license | mjdhasan/alpacaR | 7107a0b5b6954842bc2a1cbef7aea04f7a391648 | 938b5313b5ee17b47ea0bf1b126b8b13de281ad2 | refs/heads/master | 2022-04-08T08:54:54.352304 | 2020-03-10T14:38:59 | 2020-03-10T14:38:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 272 | rd | submitTrade.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trading.R
\name{submitTrade}
\alias{submitTrade}
\title{submit trade}
\usage{
submitTrade(trade)
}
\arguments{
\item{trade}{a trade object}
}
\value{
order object
}
\description{
submit trade
}
|
f004ed59ec5e61a73455cb85ce5e3f2bcf31fd85 | 2bd557829d9ed63c6a2e8da6d6592ba15be97d25 | /man-roxygen/args.R | 6ecc08356ce9c8881e8e3a749d1e0e4bd1737389 | [] | no_license | jacob-ogre/discgolf | e1d6ce065dc9c664800c58fdaacecfdaf9ee64d4 | c57d560acda03b4afbe6352158dba7e0d90be23b | refs/heads/master | 2021-01-11T02:46:36.476194 | 2016-10-14T12:06:16 | 2016-10-14T12:06:16 | 70,902,462 | 0 | 0 | null | 2016-10-14T11:05:19 | 2016-10-14T11:05:19 | null | UTF-8 | R | false | false | 412 | r | args.R | #' @param url Base url for a Discourse installation. See \code{\link{disc_setup}}
#' @param key Your api key on the Discourse installation. See \code{\link{disc_setup}}
#' @param user Your user name on the Discourse installation. See \code{\link{disc_setup}}
#' @param ... Named parameters passed on to \code{\link[httr]... |
ddc118040ec90a766ec850c0231bfa9d50a9bd3f | adaf120ebe8cfc2346da110c74963a3512150d91 | /man/unalpha.Rd | 174336e99e91819f1f41586a25163599afcb8401 | [
"MIT"
] | permissive | jmw86069/jamba | fffcb173e945e74b2ec5bc348f8f0d8dc61e3807 | 40c1a1c8275330d8b70062b774e160ba3f690b6c | refs/heads/master | 2023-08-25T18:37:40.770305 | 2023-08-10T23:13:20 | 2023-08-10T23:13:20 | 102,026,462 | 4 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,847 | rd | unalpha.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/jamba-colors.r
\name{unalpha}
\alias{unalpha}
\title{Remove alpha transparency from colors}
\usage{
unalpha(x, keepNA = FALSE, ...)
}
\arguments{
\item{x}{\code{character} vector of R colors}
\item{keepNA}{\code{logical} indicating whether \... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.